VMWare: Operating System Not Found, using block device mapping for volume during VM spawn
Bug #1350224 reported by
zhu zhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Thang Pham |
Bug Description
When using vmware driver to attach a volume during VM spawn as below using --block-device.
The VM will show 'Active' in openstack, but the actuall the VM couldn't be loaded. Showing 'Operating System Not Found'.
nova boot --flavor 7 --image trend-thin --block-device source=
Note: the volume is not bootable volume. Just want to deployment the VM from backend image and then attach the volume to the VM.
tags: | added: vmware |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → Thang Pham (thang-pham) |
Changed in nova: | |
status: | New → Incomplete |
Changed in nova: | |
assignee: | Thang Pham (thang-pham) → nobody |
Changed in nova: | |
assignee: | Thang Pham (thang-pham) → Radoslav Gerganov (rgerganov) |
Changed in nova: | |
assignee: | Radoslav Gerganov (rgerganov) → Thang Pham (thang-pham) |
Changed in nova: | |
assignee: | Thang Pham (thang-pham) → Matthew Booth (mbooth-9) |
Changed in nova: | |
assignee: | Matthew Booth (mbooth-9) → Thang Pham (thang-pham) |
Changed in nova: | |
assignee: | Thang Pham (thang-pham) → Davanum Srinivas (DIMS) (dims-v) |
Changed in nova: | |
assignee: | Davanum Srinivas (DIMS) (dims-v) → Thang Pham (thang-pham) |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
From the basic code logic from vmware driver. It looks like it is currently only dealing with volumes with operating systems(root disk). It will always attach the root disk.
if not ebs_root: mapping:
connection_ info = root_disk[ 'connection_ info']
self. _volumeops. attach_ root_volume( connection_ info, instance,
self. _default_ root_device,
data_ store_ref)
.....
else:
# Attach the root disk to the VM.
for root_disk in block_device_