WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://keystone-vip:35357/. Attempting to parse version from URL.: DiscoveryFailure: Invalid Response - Bad version data returned

Bug #1713888 reported by Burnz on 2017-08-30
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rally
Undecided
Unassigned

Bug Description

Hi,

I hope you guys can help me with my issue been days now and im not able to find a resolution.

I have the following server infras details:

3 Controller Nodes With CentOS7 OS
3 Compute Nodes With CentOS7 OS
3 Ceph Storage With CentOS7 OS
Openstack Version: Mitaka with HA - Enabled
1 Rally Server

Rally Config Has the following:
-------------snip---------------------
[root@benchmarker ~]# rally deployment config
{
    "openstack": {
        "admin": {
            "password": "passw0rd!",
            "project_domain_name": "default",
            "project_name": "admin",
            "user_domain_name": "default",
            "username": "admin"
        },
        "auth_url": "http://keystone-vip:35357/v3/",
        "endpoint_type": "admin",
        "https_cacert": "",
        "https_insecure": true,
        "region_name": "RegionOne"
    }
}
--------------end-------------------
[root@benchmarker ~]# rally deployment check
--------------------------------------------------------------------------------
Platform openstack:
--------------------------------------------------------------------------------

Available services:
+-------------+--------------+-----------+
| Service | Service Type | Status |
+-------------+--------------+-----------+
| __unknown__ | volumev2 | Available |
| cinder | volume | Available |
| glance | image | Available |
| keystone | identity | Available |
| neutron | network | Available |
| nova | compute | Available |
+-------------+--------------+-----------+

I am able to see the image list, endpoint list from Rally Server but if i run start task i am getting:
------------------------------snip-----------------------------------
[root@benchmarker ~]# rally task start boot-and-delete.json
2017-08-30 09:07:16.210 28633 WARNING rally.task.validation [-] Plugin 'ManilaShares.create_share_then_allow_and_deny_access' uses validator 'rally.task.validation.required_openstack' which is deprecated in favor of 'required_platform' (it should be used via new decorator 'rally.common.validation.add') in Rally v0.10.0.
2017-08-30 09:07:16.210 28633 WARNING rally.task.validation [-] Plugin 'ManilaShares.create_share_then_allow_and_deny_access' uses validator 'rally.task.validation.required_services' which is deprecated in favor of 'required_services' (it should be used via new decorator 'rally.common.validation.add') in Rally v0.10.0.
--------------------------------------------------------------------------------
Preparing input task
--------------------------------------------------------------------------------

Task is:
{
    "NovaServers.boot_and_delete_server": [
        {
            "args": {
                "flavor": {
                    "name": "m1.tiny"
                },
                "image": {
                    "name": "^cirros.*-disk$"
                },
                "force_delete": false
            },
            "runner": {
                "type": "constant",
                "times": 10,
                "concurrency": 2
            },
            "context": {
                "users": {
                    "tenants": 3,
                    "users_per_tenant": 2
                }
            }
        }
    ]
}

Task syntax is correct :)
Running Rally version 0.9.1~dev569
--------------------------------------------------------------------------------
Task 06c3e2c2-a7be-4fab-bea2-e622439c785d: started
--------------------------------------------------------------------------------

Benchmarking... This can take a while...

To track task status use:

        rally task status
        or
        rally task detailed

Using task: 06c3e2c2-a7be-4fab-bea2-e622439c785d
2017-08-30 09:07:16.704 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Task validation.
2017-08-30 09:07:16.747 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Task validation of syntax.
2017-08-30 09:07:16.766 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Completed: Task validation of syntax.
2017-08-30 09:07:16.766 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Task validation of required platforms.
2017-08-30 09:07:16.778 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Completed: Task validation of required platforms.
2017-08-30 09:07:16.778 28633 INFO rally.task.engine [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Task validation of semantic.
2017-08-30 09:07:17.281 28633 INFO rally.plugins.openstack.context.keystone.users [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Enter context: `users`
2017-08-30 09:07:17.619 28633 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://keystone-vip:35357/. Attempting to parse version from URL.: DiscoveryFailure: Invalid Response - Bad version data returned:

<!DOCTYPE html>
<html>
  <head>
    <meta conten...
2017-08-30 09:07:17.620 28633 WARNING rally.common.broker [-] Failed to consume a task from the queue: Could not determine a suitable URL for the plugin: DiscoveryFailure: Could not determine a suitable URL for the plugin
2017-08-30 09:07:17.621 28633 INFO rally.plugins.openstack.context.keystone.users [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Starting: Exit context: `users`: ContextSetupFailure: Unable to setup context 'users': 'Failed to create the requested number of tenants.'
2017-08-30 09:07:18.189 28633 INFO rally.plugins.openstack.context.keystone.users [-] Task 06c3e2c2-a7be-4fab-bea2-e622439c785d | Completed: Exit context: `users`: ContextSetupFailure: Unable to setup context 'users': 'Failed to create the requested number of tenants.'
Task config is invalid: `Unable to setup context 'users': 'Failed to create the requested number of tenants.'`
------------------------------end------------------------------------

Hope to hear from you soon.

Thank you in advance!

Best regards,
Burnz

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers