Rally keystone tasks fail with Mitaka

asked 2016-04-22 15:03:26 -0500

Don Nalezyty gravatar image

We are moving toward a CI/CD model for deploying Openstack internally. We use Rally Verify along with some tasks to verify that everything is working as expected.

Since we moved to Mitaka and deployed Keystone, I'm now seeing lots of errors when I attempt to run rally bench-marking tasks. I upgraded rally to the latest release to address potential issues with keystone v3, but I'm still seeing issues. I'm not sure if the issue is Rally or Keystone or some combination of the two.

Running the sample task 'create-and-list-tenants.json' always fails.

Here's the rally deployment check and config info:

[root@rally-my-instance-7iduckig7jrj keystone]# rally deployment check
keystone endpoints are valid and following services are available:
+----------+----------+-----------+
| services | type     | status    |
+----------+----------+-----------+
| glance   | image    | Available |
| keystone | identity | Available |
+----------+----------+-----------+
[root@rally-my-instance-7iduckig7jrj keystone]# rally deployment config
{
    "admin": {
        "password": "password",
        "tenant_name": "admin",
        "username": "admin"
    },
    "auth_url": "http://10.241.70.110:35357/v3",
    "endpoint": null,
    "https_cacert": "",
    "https_insecure": false,
    "region_name": "",
    "type": "ExistingCloud"
}

The config built using the --fromenv using the following:

export OS_PROJECT_DOMAIN_ID=Default
export OS_USER_DOMAIN_ID=Default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL=http://10.241.70.110:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_AUTH_TYPE=v3password

Here's the output of running the task:

[root@rally-my-instance-7iduckig7jrj keystone]# rally task start create-and-list-tenants.json
2016-04-22 13:17:48.895 24689 INFO rally.common.plugin.discover [-] Loading plugins from directories /root/.rally/plugins/*
2016-04-22 13:17:48.899 24689 INFO rally.common.plugin.discover [-]      Loaded module with plugins: /root/.rally/plugins/samples/scenario/scenario_plugin.py
2016-04-22 13:17:48.902 24689 INFO rally.common.plugin.discover [-]      Loaded module with plugins: /root/.rally/plugins/samples/context/context_plugin.py
2016-04-22 13:17:48.905 24689 INFO rally.common.plugin.discover [-]      Loaded module with plugins: /root/.rally/plugins/samples/runner/runner_plugin.py
2016-04-22 13:17:48.908 24689 INFO rally.common.plugin.discover [-]      Loaded module with plugins: /root/.rally/plugins/samples/sla/sla_plugin.py
--------------------------------------------------------------------------------
 Preparing input task
--------------------------------------------------------------------------------

Input task is:
{
    "KeystoneBasic.create_and_list_tenants": [
        {
            "args": {},
            "runner": {
                "type": "constant",
                "times": 10,
                "concurrency": 1
            }
        }
    ]
}

Task syntax is correct :)
2016-04-22 13:17:49.121 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Task validation.
2016-04-22 13:17:49.130 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Task validation of scenarios names.
2016-04-22 13:17:49.132 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Completed: Task validation of scenarios names.
2016-04-22 13:17:49.132 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Task validation of syntax.
2016-04-22 13:17:49.135 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Completed: Task validation of syntax.
2016-04-22 13:17:49.136 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Task validation of semantic.
2016-04-22 13:17:49.136 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Task validation check cloud.
2016-04-22 13:17:49.462 24689 INFO rally.task.engine [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Completed: Task validation check cloud.
2016-04-22 13:17:49.467 24689 INFO rally.plugins.openstack.context.keystone.users [-] Task 53c8de9b-b381-4ee4-9b43-9db559a9c747 | Starting:  Enter context: `users`
2016-04-22 13:17:50.568 24689 ...
(more)
edit retag flag offensive close merge delete

Comments

Hi

Don, I didnt get the error you went through, however I got a error after that,

If you fixed your issue, after that, did you face a issue regarding 'Request returned failure status: 401 request' when requesting a toke ?

I have a very similar case as you, with all environment set as you

leoswaldo gravatar imageleoswaldo ( 2016-06-28 17:02:45 -0500 )edit