yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62561
[Bug 1675260] [NEW] Nova Image not authorized
Public bug reported:
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions [req-99cceb84-a04e-4996-815d-d3cd9910cad7 148be54e70e34f8285bbd359017fd8e8 55191175ab094367848272915fde5381 - - -] Unexpected exception in API method
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions **create_kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions show_deleted=show_deleted)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 684, in _reraise_translated_image_exception
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions result = getattr(client.images, method)(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions % urlparse.quote(str(image_id)))
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in head
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return self._request('HEAD', url, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 267, in _request
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 97, in _handle_response
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions ImageNotAuthorized: Not authorized for image 5c15d05e-b692-451a-8d09-3fe4962866ae.
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions
2017-03-23 10:11:27.631 48170 INFO nova.api.openstack.wsgi [req-99cceb84-a04e-4996-815d-d3cd9910cad7 148be54e70e34f8285bbd359017fd8e8 55191175ab094367848272915fde5381 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotAuthorized'>
** Affects: nova
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/1675260
Title:
Nova Image not authorized
Status in OpenStack Compute (nova):
New
Bug description:
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions [req-99cceb84-a04e-4996-815d-d3cd9910cad7 148be54e70e34f8285bbd359017fd8e8 55191175ab094367848272915fde5381 - - -] Unexpected exception in API method
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return f(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return func(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions **create_kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions rv = f(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 1563, in create
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 1131, in _create_instance
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image_id, boot_meta = self._get_image(context, image_href)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/compute/api.py", line 789, in _get_image
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image = self.image_api.get(context, image_href)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/api.py", line 93, in get
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions show_deleted=show_deleted)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 333, in show
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 684, in _reraise_translated_image_exception
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 331, in show
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions image = self._client.call(context, version, 'get', image_id)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/nova/image/glance.py", line 250, in call
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions result = getattr(client.images, method)(*args, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 132, in get
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions % urlparse.quote(str(image_id)))
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in head
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions return self._request('HEAD', url, **kwargs)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 267, in _request
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions resp, body_iter = self._handle_response(resp)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 97, in _handle_response
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions raise exc.from_response(resp, resp.content)
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions ImageNotAuthorized: Not authorized for image 5c15d05e-b692-451a-8d09-3fe4962866ae.
2017-03-23 10:11:27.629 48170 ERROR nova.api.openstack.extensions
2017-03-23 10:11:27.631 48170 INFO nova.api.openstack.wsgi [req-99cceb84-a04e-4996-815d-d3cd9910cad7 148be54e70e34f8285bbd359017fd8e8 55191175ab094367848272915fde5381 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ImageNotAuthorized'>
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1675260/+subscriptions
Follow ups