opnfv doctor: keystoneauth1.exceptions.http.NotFound: The resource could not be found. (HTTP 404)

Bug #1690306 reported by Manik Bindlish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OPNFV
New
Undecided
Manik Bindlish

Bug Description

Code checkout from:
git clone https://gerrit.opnfv.org/gerrit/doctor -b stable/danube

Command executed:
python inspector.py $INSPECTOR_PORT

Problem:
keystoneauth1.exceptions.http.NotFound: (http://<IP>/identity/tokens): The resource could not be found. (HTTP 404)

Problem seems in identity_auth.py

Tags: dkus
Revision history for this message
Manik Bindlish (manikbindlish19) wrote :

/usr/local/lib/python2.7/dist-packages/novaclient/client.py:268: UserWarning: The 'connection_pool' argument is deprecated in Ocata and its use may result in errors in future releases.
  warnings.warn(msg)
Traceback (most recent call last):
  File "inspector.py", line 95, in <module>
    inspector = DoctorInspectorSample()
  File "inspector.py", line 62, in __init__
    self.nova.servers.list(detailed=False)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 872, in list
    "servers")
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 254, in _list
    resp, body = self.api.client.get(url)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 223, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 78, in request
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 382, in request
    resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 148, in request
    return self.session.request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 491, in request
    auth_headers = self.get_auth_headers(auth)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 818, in get_auth_headers
    return auth.get_headers(self, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 90, in get_headers
    token = self.get_token(session)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 90, in get_token
    return self.get_access(session).auth_token
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 136, in get_access
    self.auth_ref = self.get_auth_ref(session)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v2.py", line 65, in get_auth_ref
    authenticated=False, log=False)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 766, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 655, in request
    raise exceptions.from_response(resp, method, url)

summary: - keystoneauth1.exceptions.http.BadRequest: Expecting to find domain in
- project. The server could not comply with the request since it is either
- malformed or otherwise incorrect. The client is assumed to be in error.
- (HTTP 400)
+ keystoneauth1.exceptions.http.NotFound: The resource could not be
+ found. (HTTP 404)
Changed in opnfv:
assignee: nobody → Manik Bindlish (manikbindlish)
summary: - keystoneauth1.exceptions.http.NotFound: The resource could not be
- found. (HTTP 404)
+ opnfv doctor: keystoneauth1.exceptions.http.NotFound: The resource
+ could not be found. (HTTP 404)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.