Fail to boot VM from image with one ephemeral disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Confirmed
|
High
|
BalaGopalaKrishna |
Bug Description
Kilo latest code
I attempt to boot a VM from qcow2 image, and also create one ephemeral disk, but my request is refused by nova-api.
[root@icm ~]# nova boot --flavor 1 --image cirros --ephemeral size=2 zhaoqin
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-6e272b55-
The error is raised from _validate_bdm() in nova/compute/
if 0 not in boot_indexes or not _subsequent_
raise exception.
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Noel Nelson Dsouza (noelnelson) |
well , not sure it's related to https:/ /review. openstack. org/#/c/ 165932/
can you check whether your novaclient has the update?
--image should insert a boot index 0 record so this validation should pass