← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496219] [NEW] get image error when boot a instance

 

Public bug reported:

2015-09-16 11:26:10.018 DEBUG nova.quota [req-4d4a1b1e-3ea3-41bd-b0d4-8b3adf2a1fd0 admin admin] Getting all quota usages for project: 457fcc6f0fb049a89bef6271495788c6 from (pid=5839) get_project_quotas /opt/stack/nova/nova/quota.py:290
2015-09-16 11:26:10.030 INFO nova.osapi_compute.wsgi.server [req-4d4a1b1e-3ea3-41bd-b0d4-8b3adf2a1fd0 admin admin] 10.0.10.50 "GET /v2.1/457fcc6f0fb049a89bef6271495788c6/limits?reserved=1 HTTP/1.1" status: 200 len: 779 time: 0.0331810
^C
[stack@devstack logs]$ less -R n-api.log.2015-09-15-171330
2015-09-16 11:26:09.816 ERROR nova.api.openstack.extensions [req-27b137d8-77da-4082-8553-05598efff073 admin admin] Unexpected exception in API method
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions Traceback (most recent call last):
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     return func(*args, **kwargs)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 597, in create
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     **create_kwargs)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/hooks.py", line 149, in inner
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     rv = f(*args, **kwargs)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 1557, in create
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 1139, in _create_instance
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     image_id, boot_meta = self._get_image(context, image_href)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 849, in _get_image
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     image = self.image_api.get(context, image_href)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/api.py", line 93, in get
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     show_deleted=show_deleted)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 320, in show
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     include_locations=include_locations)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 497, in _translate_from_glance
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     include_locations=include_locations)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 559, in _extract_attributes
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     queued = getattr(image, 'status') == 'queued'
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 490, in __getattr__
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     self.get()
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 508, in get
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     new = self.manager.get(self.id)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 493, in __getattr__
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     raise AttributeError(k)
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions AttributeError: id
2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions
2015-09-16 11:26:09.817 INFO nova.api.openstack.wsgi [req-27b137d8-77da-4082-8553-05598efff073 admin admin] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

** 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/1496219

Title:
  get image error when boot a instance

Status in OpenStack Compute (nova):
  New

Bug description:
  2015-09-16 11:26:10.018 DEBUG nova.quota [req-4d4a1b1e-3ea3-41bd-b0d4-8b3adf2a1fd0 admin admin] Getting all quota usages for project: 457fcc6f0fb049a89bef6271495788c6 from (pid=5839) get_project_quotas /opt/stack/nova/nova/quota.py:290
  2015-09-16 11:26:10.030 INFO nova.osapi_compute.wsgi.server [req-4d4a1b1e-3ea3-41bd-b0d4-8b3adf2a1fd0 admin admin] 10.0.10.50 "GET /v2.1/457fcc6f0fb049a89bef6271495788c6/limits?reserved=1 HTTP/1.1" status: 200 len: 779 time: 0.0331810
  ^C
  [stack@devstack logs]$ less -R n-api.log.2015-09-15-171330
  2015-09-16 11:26:09.816 ERROR nova.api.openstack.extensions [req-27b137d8-77da-4082-8553-05598efff073 admin admin] Unexpected exception in API method
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions Traceback (most recent call last):
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     return f(*args, **kwargs)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     return func(*args, **kwargs)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 597, in create
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     **create_kwargs)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/hooks.py", line 149, in inner
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 1557, in create
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 1139, in _create_instance
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     image_id, boot_meta = self._get_image(context, image_href)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/compute/api.py", line 849, in _get_image
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     image = self.image_api.get(context, image_href)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/api.py", line 93, in get
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     show_deleted=show_deleted)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 320, in show
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     include_locations=include_locations)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 497, in _translate_from_glance
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     include_locations=include_locations)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/opt/stack/nova/nova/image/glance.py", line 559, in _extract_attributes
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     queued = getattr(image, 'status') == 'queued'
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 490, in __getattr__
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     self.get()
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 508, in get
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     new = self.manager.get(self.id)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 493, in __getattr__
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions     raise AttributeError(k)
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions AttributeError: id
  2015-09-16 11:26:09.816 TRACE nova.api.openstack.extensions
  2015-09-16 11:26:09.817 INFO nova.api.openstack.wsgi [req-27b137d8-77da-4082-8553-05598efff073 admin admin] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.

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


Follow ups