Fail to boot raw image on XenServer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mate Lakat | ||
Folsom |
Fix Released
|
Medium
|
Chuck Short | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Failed to start a raw image on XenServer (dies with KeyError).
STEPS TO REPRODUCE:
1.) Get a QCOW2 image:
wget https:/
2.) Convert that to RAW:
qemu-img convert -O raw cirros-
3.) Activate your devstack:
. openrc admin
4.) Upload that to glance:
glance image-create --name="cirros" --is-public=true --container-
5.) Boot that image with your XenServer:
nova boot --image cirros --flavor m1.tiny somevmname
You end up with the following Traceback on n-cpu console:
Traceback (most recent call last):
File "/opt/stack/
vdis = create_
File "/opt/stack/
rv = f(*args, **kwargs)
File "/opt/stack/
image_meta, block_device_info)
File "/opt/stack/
block_
File "/opt/stack/
image_type)
File "/opt/stack/
image_id, image_type)
File "/opt/stack/
root_vdi = vdis['root']
KeyError: 'root'
Same happens if you specify 'ovf' as the container format.
Same happens, if you:
tar -czf tarred.tgz cirros.raw
glance image-create --name="cirros" --is-public=true --container-
Same happens if image uploaded through Horizon
description: | updated |
description: | updated |
tags: | added: xenserver |
Changed in nova: | |
assignee: | nobody → Mate Lakat (mate-lakat) |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: folsom-backport-potential |
tags: | removed: folsom-backport-potential |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | New → Fix Released |
Changed in nova (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/13628
Review: https:/