While running tempest object storage test from eclipse getting 403, 'Forbidden' error

asked 2014-06-20 07:19:23 -0500

Sangram Roy gravatar image

updated 2014-06-20 15:49:27 -0500

smaffulli gravatar image

I am getting following error while running object store tempest tests from eclipse.any work around for this?

below is the traceback

Traceback (most recent call last):
  File "/home/sangram/workspace/Tempest/tempest/api/object_storage/base.py", line 38, in setUpClass
    cls.__name__, network_resources=cls.network_resources)
  File "/home/sangram/workspace/Tempest/tempest/common/isolated_creds.py", line 41, in __init__
    self._get_admin_clients())
  File "/home/sangram/workspace/Tempest/tempest/common/isolated_creds.py", line 51, in _get_admin_clients
    os = clients.AdminManager(interface=self.interface)
  File "/home/sangram/workspace/Tempest/tempest/clients.py", line 415, in __init__
    credentials=auth.get_default_credentials('identity_admin'),
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 466, in get_default_credentials
    return get_credentials(fill_in=fill_in, credential_type=credential_type)
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 502, in get_credentials
    creds = auth_provider.fill_credentials()
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 90, in fill_credentials
    auth_data = self.get_auth()
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 114, in get_auth
    self.set_auth()
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 122, in set_auth
    self.cache = self._get_auth()
  File "/home/sangram/workspace/Tempest/tempest/auth.py", line 241, in _get_auth
    token, auth_data = auth_func(**auth_params)
  File "/home/sangram/workspace/Tempest/tempest/services/identity/json/identity_client.py", line 321, in get_token
    resp, body = self.auth(user, password, tenant)
  File "/home/sangram/workspace/Tempest/tempest/services/identity/json/identity_client.py", line 267, in auth
    resp, body = self.post(self.auth_url, body=body)
  File "/home/sangram/workspace/Tempest/tempest/common/rest_client.py", line 209, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "/home/sangram/workspace/Tempest/tempest/services/identity/json/identity_client.py", line 303, in request
    headers=headers, body=body)
  File "/home/sangram/workspace/Tempest/tempest/common/http.py", line 25, in request
    return super(ClosingHttp, self).request(*args, **new_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1257, in _conn_request
    conn.connect()
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1018, in connect
    sock.connect((self.host, self.port))
  File "/usr/local/lib/python2.7/dist-packages/httplib2/socks.py", line 424, in connect
    self.__negotiatehttp(destpair[0], destpair[1])
  File "/usr/local/lib/python2.7/dist-packages/httplib2/socks.py", line 390, in __negotiatehttp
    raise HTTPError((statuscode, statusline[2]))
HTTPError: (403, 'Forbidden')
edit retag flag offensive close merge delete

Comments

I suggest you to spend a few seconds to fix the formatting of your question. It's simple markdown and there is a formatting bar, too. I did it for you this time :)

smaffulli gravatar imagesmaffulli ( 2014-06-20 15:49:00 -0500 )edit

Make sure that your development environment works correctly first, check the logs for more details and edit your question to add them, make it readable at first sight to help people give you answers.

smaffulli gravatar imagesmaffulli ( 2014-06-20 15:51:21 -0500 )edit