[openstack-dev] [kloudbuster] authorization failed problem

Akshay Kumar Sanghai akshaykumarsanghai at gmail.com
Wed Mar 23 13:59:28 UTC 2016


Hi,

I am trying to use cloudbuster for the scale testing of openstack setup.

I have a openstack setup with 1 controller, 1 network and 2 compute node. I
am trying to use to use kloudbuster for scale testing of the setup. I
created one VM with kloudbuster image. I accessed the web UI and clicked on
"stage". This is the log:
:23,206 WARNING No public key is found or specified to instantiate VMs. You
will not be able to access the VMs spawned by KloudBuster.
2016-03-22 14:01:30,464 WARNING Traceback (most recent call last):
  File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/api_kb.py\",
line 58, in kb_stage_thread_handler
    if kb_session.kloudbuster.check_and_upload_images():
  File
\"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
line 283, in check_and_upload_images
    keystone_list = [create_keystone_client(self.server_cred)[0],
  File
\"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\",
line 54, in create_keystone_client
    return (keystoneclient.Client(endpoint_type='publicURL', **creds),
creds['auth_url'])
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
line 166, in __init__
    self.authenticate()
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py\",
line 337, in inner
    return func(*args, **kwargs)
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\",
line 589, in authenticate
    resp = self.get_raw_token_from_identity_service(**kwargs)
  File
\"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\",
line 210, in get_raw_token_from_identity_service
    _(\"Authorization Failed: %s\") % e)
AuthorizationFailure: Authorization Failed: Unable to establish connection
to http://192.168.138.51:5000/v2.0/tokens

I used a rest client to find whether v2.0/tokens is working or not, it was
working. I got the token . This is the openrc file I used:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
#export OS_IMAGE_API_VERSION=2
export OS_AUTH_URL=http://192.168.138.51:5000/v2.0
export OS_TENANT_NAME=admin
#export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=sanghai
export OS_REGION_NAME=RegionOne

Please suggest a solution and let me know if I missed some details.

Thanks,
Akshay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160323/c2ad93a9/attachment.html>


More information about the OpenStack-dev mailing list