← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1758486] Re: nova cant attach volume, unathorized

 

** Also affects: cinder
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1758486

Title:
  nova cant attach volume, unathorized

Status in Cinder:
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  ater upgrade to queens, nova unable to attach volume from cinder.

  
  ```
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi [req-6cb77dfe-f718-42d5-a83a-10fa80dea989 fa4ca618dd5247a0841adeac574b54d6 7265d9424e8e4719aa192b08b6d0227b - default default] Unexpected exception in API method: Unauthorized: The request you have made requires authentication. (HTTP 401)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 788, in wrapped
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108, in wrapper
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/volumes.py", line 336, in create
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     supports_multiattach=supports_multiattach)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 203, in inner
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return function(self, context, instance, *args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 151, in inner
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return f(self, context, instance, *args, **kw)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 3940, in attach_volume
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     volume = self.volume_api.get(context, volume_id)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 291, in wrapper
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     res = method(self, ctx, *args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 313, in wrapper
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     res = method(self, ctx, volume_id, *args, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 379, in get
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     context, microversion=microversion).volumes.get(volume_id)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/cinderclient/v2/volumes.py", line 308, in get
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return self._get("/volumes/%s" % volume_id, "volume")
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/cinderclient/base.py", line 321, in _get
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     resp, body = self.api.client.get(url)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 199, in get
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return self._cs_request(url, 'GET', **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 190, in _cs_request
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     return self.request(url, method, **kwargs)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 176, in request
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi     raise exceptions.from_response(resp, body)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi Unauthorized: The request you have made requires authentication. (HTTP 401)
  2018-03-24 09:24:12.781 23797 ERROR nova.api.openstack.wsgi 
  2018-03-24 09:24:12.783 23797 INFO nova.api.openstack.wsgi [req-6cb77dfe-f718-42d5-a83a-10fa80dea989 fa4ca618dd5247a0841adeac574b54d6 7265d9424e8e4719aa192b08b6d0227b - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'cinderclient.exceptions.Unauthorized'>

  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1758486/+subscriptions


References