2012-09-24 10:28:06 |
Mate Lakat |
bug |
|
|
added bug |
2012-09-24 10:33:58 |
Mate Lakat |
description |
Get a QCOW2 image:
wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
Convert that to RAW:
qemu-img convert -O raw cirros-0.3.0-x86_64-disk.img cirros.raw
Activate your devstack:
. openrc admin
Upload that to glance:
glance image-create --name="cirros" --is-public=true --container-format=bare --disk-format=raw < cirros.raw
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/nova/nova/virt/xenapi/vmops.py", line 355, in spawn
vdis = create_disks_step(undo_mgr)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 139, in inner
rv = f(*args, **kwargs)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 257, in create_disks_step
image_meta, block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 224, in _create_disks
block_device_info=block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 427, in get_vdis_for_instance
image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 919, in _create_image
image_id, image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 843, in _create_cached_image
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-format=ovf --disk-format=raw < tarred.tgz |
Failed to start a raw image on XenServer (dies with KeyError).
STEPS TO REPRODUCE:
1.) Get a QCOW2 image:
wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
2.) Convert that to RAW:
qemu-img convert -O raw cirros-0.3.0-x86_64-disk.img cirros.raw
3.) Activate your devstack:
. openrc admin
4.) Upload that to glance:
glance image-create --name="cirros" --is-public=true --container-format=bare --disk-format=raw < cirros.raw
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/nova/nova/virt/xenapi/vmops.py", line 355, in spawn
vdis = create_disks_step(undo_mgr)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 139, in inner
rv = f(*args, **kwargs)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 257, in create_disks_step
image_meta, block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 224, in _create_disks
block_device_info=block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 427, in get_vdis_for_instance
image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 919, in _create_image
image_id, image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 843, in _create_cached_image
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-format=ovf --disk-format=raw < tarred.tgz |
|
2012-09-24 10:42:40 |
Mate Lakat |
description |
Failed to start a raw image on XenServer (dies with KeyError).
STEPS TO REPRODUCE:
1.) Get a QCOW2 image:
wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
2.) Convert that to RAW:
qemu-img convert -O raw cirros-0.3.0-x86_64-disk.img cirros.raw
3.) Activate your devstack:
. openrc admin
4.) Upload that to glance:
glance image-create --name="cirros" --is-public=true --container-format=bare --disk-format=raw < cirros.raw
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/nova/nova/virt/xenapi/vmops.py", line 355, in spawn
vdis = create_disks_step(undo_mgr)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 139, in inner
rv = f(*args, **kwargs)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 257, in create_disks_step
image_meta, block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 224, in _create_disks
block_device_info=block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 427, in get_vdis_for_instance
image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 919, in _create_image
image_id, image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 843, in _create_cached_image
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-format=ovf --disk-format=raw < tarred.tgz |
Failed to start a raw image on XenServer (dies with KeyError).
STEPS TO REPRODUCE:
1.) Get a QCOW2 image:
wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
2.) Convert that to RAW:
qemu-img convert -O raw cirros-0.3.0-x86_64-disk.img cirros.raw
3.) Activate your devstack:
. openrc admin
4.) Upload that to glance:
glance image-create --name="cirros" --is-public=true --container-format=bare --disk-format=raw < cirros.raw
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/nova/nova/virt/xenapi/vmops.py", line 355, in spawn
vdis = create_disks_step(undo_mgr)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 139, in inner
rv = f(*args, **kwargs)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 257, in create_disks_step
image_meta, block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 224, in _create_disks
block_device_info=block_device_info)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 427, in get_vdis_for_instance
image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 919, in _create_image
image_id, image_type)
File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 843, in _create_cached_image
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-format=ovf --disk-format=raw < tarred.tgz
Same happens if image uploaded through Horizon |
|
2012-09-24 10:42:48 |
Mate Lakat |
tags |
|
xenserver |
|
2012-09-24 16:20:36 |
Mate Lakat |
nova: assignee |
|
Mate Lakat (mate-lakat) |
|
2012-09-25 12:33:58 |
OpenStack Infra |
nova: status |
New |
In Progress |
|
2012-09-25 20:28:52 |
Vish Ishaya |
nova: importance |
Undecided |
Medium |
|
2012-09-25 20:29:05 |
Vish Ishaya |
tags |
xenserver |
folsom-backport-potential xenserver |
|
2012-10-02 10:25:13 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2012-10-13 22:31:43 |
Mark McLoughlin |
nominated for series |
|
nova/folsom |
|
2012-10-13 22:31:43 |
Mark McLoughlin |
bug task added |
|
nova/folsom |
|
2012-10-13 22:31:52 |
Mark McLoughlin |
nova/folsom: status |
New |
In Progress |
|
2012-10-13 22:31:54 |
Mark McLoughlin |
nova/folsom: importance |
Undecided |
Medium |
|
2012-10-13 22:32:01 |
Mark McLoughlin |
nova/folsom: assignee |
|
Chuck Short (zulcss) |
|
2012-10-13 22:32:12 |
Mark McLoughlin |
tags |
folsom-backport-potential xenserver |
xenserver |
|
2012-10-13 23:59:29 |
OpenStack Infra |
nova/folsom: status |
In Progress |
Fix Committed |
|
2012-11-02 13:33:36 |
Launchpad Janitor |
branch linked |
|
lp:~openstack-ubuntu-testing/nova/quantal-folsom-proposed |
|
2012-11-02 14:01:39 |
Launchpad Janitor |
branch linked |
|
lp:~openstack-ubuntu-testing/nova/precise-folsom-proposed |
|
2012-11-20 20:43:45 |
Mark McLoughlin |
nova/folsom: milestone |
|
2012.2.1 |
|
2012-11-21 09:45:07 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2012-11-21 09:45:07 |
Thierry Carrez |
nova: milestone |
|
grizzly-1 |
|
2012-11-27 17:48:37 |
Launchpad Janitor |
branch linked |
|
lp:~openstack-ubuntu-testing/nova/precise-folsom |
|
2012-11-29 21:52:02 |
Mark McLoughlin |
nova/folsom: status |
Fix Committed |
Fix Released |
|
2012-12-03 21:59:20 |
Adam Gandelman |
nova (Ubuntu): status |
New |
Fix Released |
|
2012-12-03 21:59:24 |
Adam Gandelman |
nominated for series |
|
Ubuntu Quantal |
|
2012-12-03 21:59:25 |
Adam Gandelman |
bug task added |
|
nova (Ubuntu Quantal) |
|
2012-12-03 21:59:27 |
Adam Gandelman |
nova (Ubuntu Quantal): status |
New |
Confirmed |
|
2012-12-28 16:18:44 |
Clint Byrum |
nova (Ubuntu Quantal): status |
Confirmed |
Fix Committed |
|
2012-12-28 16:18:48 |
Clint Byrum |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-12-28 16:18:51 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2012-12-28 16:19:00 |
Clint Byrum |
tags |
xenserver |
verification-needed xenserver |
|
2012-12-31 04:54:55 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/quantal-proposed/nova |
|
2013-01-29 13:10:46 |
Launchpad Janitor |
nova (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|
2013-01-29 13:10:46 |
Launchpad Janitor |
cve linked |
|
2012-5625 |
|
2013-04-04 10:54:20 |
Thierry Carrez |
nova: milestone |
grizzly-1 |
2013.1 |
|