boot_index ignorance when booting VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Dear colleagues,
seems I'm experiencing the issue, similar to https:/
"block_
{"source_type": "volume", "delete_
{"source_type": "volume", "delete_
but VM booted from uuid "3461d" (both are of the same bus_type - first one is sda, 2nd is sdb). Absolutely same result for the another configuration:
"block_
{"boot_index": 0, "uuid": "08c94175-
{"boot_index": -1, "uuid": "39184a9b-
VM booted from "39184" (which is vdb, marked with -1), while another volume (08c94, vda) marked with "0".
And even more - if I change order in configuration in the way:
"block_
{"boot_index": -1, "uuid": "1a6672b7-
{"boot_index": 0, "uuid": "eee78267-
I get booted from "-1" volume. Well, may be, some info in images metadata influence boot order? These are:
- Image which always boot in all three examples above:
hw_disk_bus='scsi', hw_qemu_
- Image, which I want to boot from:
hw_boot_
If this matters - Swift is CEPH Object Storage (for second image).
And surprise - SOMETIMES (in rare cases) VM boots with correct image, but I can't find any system in this behavior.
- My environment is:
Operating system: Ubuntu 16.04
Openstack: Queens (Nova 2:17.0.
ADDITIONAL INFO:
- For the last example:
#virsh domblklist instance-0000077d
Target Source
-------
vda volumes/
vdb volumes/
and autogenerated libvirt config for the domain is available here - https:/
I use Heat to produce these configurations and config is the following:
n1:
type: OS::Nova::Server
properties:
flavor: ...
config_drive: False
name: jex-n1
block_
- volume_id: { get_resource: n1-attach }
disk_bus: virtio
- volume_id: { get_resource: n1-vol }
disk_bus: virtio
n1-vol:
type: OS::Cinder::Volume
properties:
size: 8
name: jex-n1-vol
image: bionic-Qpub
n1-attach:
type: OS::Cinder::Volume
properties:
size: 8
name: jex-n1-att
image: xenial
I will highly appreciate if anybody can help to solve this issue. Any additional information can be provided by request.
Thank you.
The issue is inside VM, not Nova's one.