yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20451
[Bug 1347028] Re: block_device mapping identifies ephemeral disks incorrectly
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-3
--
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/1347028
Title:
block_device mapping identifies ephemeral disks incorrectly
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Ephemeral drives are destinaton == local, but the new bdm code bases
it on source instead. This leads to improper errors:
$ nova boot --flavor m1.tiny --block-device source=blank,dest=volume,bus=virtio,size=1,bootindex=0 test
ERROR (BadRequest): Ephemeral disks requested are larger than the instance type allows. (HTTP 400) (Request-ID: req-53247c8e-d14e-43e2-b01e-85b49f520e61)
The code is here:
https://github.com/openstack/nova/blob/106fb458c7ac3cc17bb42d1b83ec3f4fa8284e71/nova/block_device.py#L411
This should be checking destination_type == 'local' instead of source
type.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1347028/+subscriptions
References