yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07062
[Bug 1259421] Re: VMware: boot from volume fails with "Image not found"
This has already been reported and fixed as part of
https://bugs.launchpad.net/nova/+bug/1235022. Sorry, kindly ignore this
duplicate.
** Changed in: nova
Status: New => Invalid
--
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/1259421
Title:
VMware: boot from volume fails with "Image not found"
Status in OpenStack Compute (Nova):
Invalid
Bug description:
I was trying to spawn an instance from a bootable volume which fails.
The volume was created from a glance image. Note that booting directly
from this glance image works correctly.
The nova create instance was initiated from Horizon UI. The setup was
running stable havana release, and vSphere 5.1 in the backend. I see
this ImageNotFound error in the nova compute log.
2013-12-10 05:51:37.424 1474 DEBUG glanceclient.common.http [-] curl -i -X HEAD -H 'X-Service-Catalog: [{"endpoints": [{"adminURL": "http://10.132.98.64:8776/v1/e8e67b96c0614e0b84026163df32a54d", "region": "RegionOne", "internalURL": "http://10.132.98.64:8776/v1/e8e67b96c0614e0b84026163df32a54d", "serviceName": "cinder", "id": "5ab5ef2f559a437ebae8ad7726502130", "publicURL": "http://10.132.98.64:8776/v1/e8e67b96c0614e0b84026163df32a54d"}], "endpoints_links": [], "type": "volume", "name": "cinder"}]' -H 'X-Identity-Status: Confirmed' -H 'X-Roles: Member,admin' -H 'User-Agent: python-glanceclient' -H 'X-Tenant-Id: e8e67b96c0614e0b84026163df32a54d' -H 'X-User-Id: 952ef983b9e4477c9c461d0c541e2569' -H 'X-Auth-Token: a59a3c140d8a2ba51bf59eef3e6c3e20' -H 'Content-Type: application/octet-stream' http://10.132.98.64:9292/v1/images/ log_curl_request /opt/stack/python-glanceclient/glanceclient/common/http.py:142
2013-12-10 05:51:37.572 1474 DEBUG glanceclient.common.http [-]
HTTP/1.1 404 Not Found
date: Tue, 10 Dec 2013 05:51:37 GMT
content-length: 0
content-type: text/html; charset=UTF-8
x-openstack-request-id: req-b9c2c953-c8aa-471b-b786-6c418c121d9d
log_http_response /opt/stack/python-glanceclient/glanceclient/common/http.py:152
2013-12-10 05:51:37.572 1474 ERROR glanceclient.common.http [-] Request returned failure status.
2013-12-10 05:51:37.573 ERROR nova.compute.manager [req-08bac915-3fe5-481c-85a0-cee8092fe5de breaker-02 breaker-02] [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] Instance failed to spawn
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] Traceback (most recent call last):
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/compute/manager.py", line 1407, in _spawn
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] block_device_info)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 623, in spawn
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] admin_password, network_info, block_device_info)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 208, in spawn
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] disk_type, vif_model, image_linked_clone) = _get_image_properties()
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 187, in _get_image_properties
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] instance)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/virt/vmwareapi/vmware_images.py", line 184, in get_vmdk_size_and_properties
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] meta_data = image_service.show(context, image_id)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/image/glance.py", line 290, in show
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] _reraise_translated_image_exception(image_id)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/image/glance.py", line 288, in show
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] image = self._client.call(context, 1, 'get', image_id)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/nova/nova/image/glance.py", line 212, in call
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] return getattr(client.images, method)(*args, **kwargs)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/python-glanceclient/glanceclient/v1/images.py", line 114, in get
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] % urllib.quote(str(image_id)))
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/python-glanceclient/glanceclient/common/http.py", line 288, in raw_request
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] return self._http_request(url, method, **kwargs)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] File "/opt/stack/python-glanceclient/glanceclient/common/http.py", line 248, in _http_request
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] raise exc.from_response(resp, body_str)
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] ImageNotFound: Image could not be found.
2013-12-10 05:51:37.573 1474 TRACE nova.compute.manager [instance: 65a9067f-fff4-460f-9bab-86c4e017488e]
2013-12-10 05:51:37.574 DEBUG nova.compute.claims [req-08bac915-3fe5-481c-85a0-cee8092fe5de breaker-02 breaker-02] [instance: 65a9067f-fff4-460f-9bab-86c4e017488e] Aborting claim: [Claim: 128 MB memory, 1 GB disk, 1 VCPUS] abort /opt/stack/nova/nova/compute/claims.py:107
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1259421/+subscriptions
References