yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28078
[Bug 1417239] Re: Duplicated block_device_mapping entries with cells
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-2
--
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/1417239
Title:
Duplicated block_device_mapping entries with cells
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
People running Nova with cells are affected by this bug.
The bug can be reproduced by booting an instance from a volume with a
block device mapping missing the device name. Although the instance
boots fine, you won't be able to create an image from the instance.
This is because 2 block_device_mapping entries are created in the API cell:
- one (created by the API cell) will have close to no information about the volume (device_name and volume_id are NULL)
- the second one (bubbled up from the compute cell) will contain all the volume information
The first entry confuses Nova when creating an image since it won't be
able to find the associated volume (NULL) in Cinder:
ERROR: Block Device Mapping is Invalid: failed to get volume XXX.
(HTTP 400)
The fix is to not create the first block_device_mapping entry and let
the compute cell sync it up to the API cell once created.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1417239/+subscriptions
References