Output of nova-api.log
192.168.123.10 "GET /v2.1/servers/2788ffe5-fb54-4c97-8074-24b62cdfb65f
HTTP/1.1" status: 200 len: 2042 time: 1.3150780
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi
[req-85d2caa3-ef54-4282-9b61-a4e70e0319b1 088d6b25b302447b808b71f1df29de15
79fb01fea5ed409784bad9564c4868a9 - default default] Unexpected exception in API
method: Unauthorized: The request you have made requires authentication. (HTTP
401)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi Traceback (most
recent call last):
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 788, in
wrapped
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
f(*args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108,
in wrapper
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
func(*args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 108,
in wrapper
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
func(*args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/volumes.py", line
336, in create
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi
supports_multiattach=supports_multiattach)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 204, in inner
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
function(self, context, instance, *args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 152, in inner
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
f(self, context, instance, *args, **kw)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 4065, in
attach_volume
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi volume =
self.volume_api.get(context, volume_id)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 379, in wrapper
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi res =
method(self, ctx, *args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 401, in wrapper
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi res =
method(self, ctx, volume_id, *args, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 467, in get
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi context,
microversion=microversion).volumes.get(volume_id)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/cinderclient/v2/volumes.py", line 308, in get
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
self._get("/volumes/%s" % volume_id, "volume")
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 321, in _get
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi resp, body =
self.api.client.get(url)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 200, in get
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
self._cs_request(url, 'GET', **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 191, in
_cs_request
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi return
self.request(url, method, **kwargs)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi File
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 177, in request
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi raise
exceptions.from_response(resp, body)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi Unauthorized: The
request you have made requires authentication. (HTTP 401)
2019-03-26 21:54:22.370 3564924 ERROR nova.api.openstack.wsgi
2019-03-26 21:54:22.376 3564924 INFO nova.api.openstack.wsgi
[req-85d2caa3-ef54-4282-9b61-a4e70e0319b1 088d6b25b302447b808b71f1df29de15
79fb01fea5ed409784bad9564c4868a9 - 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'>
2019-03-26 21:54:22.378 3564924 INFO nova.osapi_compute.wsgi.server
[req-85d2caa3-ef54-4282-9b61-a4e70e0319b1 088d6b25b302447b808b71f1df29de15
79fb01fea5ed409784bad9564c4868a9 - default default] 192.168.123.10 "POST
/v2.1/servers/2788ffe5-fb54-4c97-8074-24b62cdfb65f/os-volume_attachments
HTTP/1.1" status: 500 len: 643 time: 0.1772981
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821797
Title:
Failed attach cinder volume to instance
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1821797/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs