[openstack-dev] [Nova] How boot with bdm_v2={source_type=image, destination_type=local} should been used?

Zhenyu Zheng zhengzhenyulixi at gmail.com
Wed Feb 8 09:47:08 UTC 2017

Hi All,

As I was working on "Check destination_type when booting with bdm
provided": https://review.openstack.org/#/c/402372/ and addressing
reviewers comments, I find out that the current source_type=image,
destination_type=local seems unusable.

According to docs:
it seems to me that "image --> local" means "boot from image", and as the
doc says, I should also provide image_ref param, but if I do so, Error

ERROR (BadRequest): Block Device Mapping is Invalid: Boot sequence for the
instance and image/block device mapping combination is not valid. (HTTP
400) (Request-ID: req-f848c6c1-0961-46c4-ac51-713fde042215)

If I just use bdm, it goes:
2017-02-08 11:04:24.929 24141 ERROR nova.compute.manager [instance:
6e44cafd-b330-4a10-8c77-eac60d58f20c] ImageNotFound: Image could not be

turned out we use '' as image ID to fetch image from glance, and obviously
we cannot get it.

Detailed Log and explaination could be found in my bug report:

So, what do we expect for this API usage?

Kevin Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170208/6830e9d5/attachment.html>

More information about the OpenStack-dev mailing list