Activity log for bug #1222847

Date Who What changed Old value New value Message
2013-09-09 14:22:27 guillaume thouvenin bug added bug
2013-09-09 14:24:06 guillaume thouvenin description I installed a xenserver and on this server a PV guest. In this guest I deployed devstack. I'm using the following localrc: MYSQL_PASSWORD=password SERVICE_TOKEN=password ADMIN_PASSWORD=password RABBIT_PASSWORD=password GUEST_PASSWORD=password SERVICE_PASSWORD=password HOST_IP=10.197.217.86 FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth1 FLAT_NETWORK_BRIDGE=xapi1 XENAPI_PASSWORD=xlcloud XENAPI_CONNECTION_URL="http://10.197.217.85" IMAGE_URLS="\ https://github.com/downloads/citrix-openstack/warehouse/cirros-0.3.0-x86_64-disk.vhd.tgz,\ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz" VIRT_DRIVER=xenserver VNCSERVER_PROXYCLIENT_ADDRESS=10.197.217.85 MULTI_HOST=1 ACTIVE_TIMEOUT=45 When I try to boot a VM, I have an error: 2013-09-09 16:13:31.959 ERROR nova.utils [req-68e2a934-cda3-4543-8d8f-bd16de1f2b31 demo demo] [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failed to spawn, rolling back 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Traceback (most recent call last): 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 500, in spawn 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] vdis = create_disks_step(undo_mgr, disk_image_type, image_meta) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 153, in inner 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] rv = f(*args, **kwargs) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 380, in create_disks_step 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 351, in _create_disks 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 532, in get_vdis_for_instance 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] context, session, instance, name_label, image, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1111, in _create_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] image_id, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1057, in _create_cached_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] 'VDI.get_by_uuid', vdis['root']['uuid']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 732, in call_xenapi 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] return session.xenapi_request(method, args) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 139, in xenapi_request 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] result = _parse_result(getattr(self, methodname)(*full_params)) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 209, in _parse_result 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] raise Failure(result['ErrorDescription']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failure: ['UUID_INVALID', 'VDI', 'a9162793-5e64-41fb-a018-c281a694fcbf'] It seems that the UUID used is not the good one because if I look the list of VDIs I see: uuid ( RO) : 3aefa6cc-0d75-e356-f934-1c6fe8af1553 name-label ( RW): a9162793-5e64-41fb-a018-c281a694fcbf.vhd name-description ( RW): sr-uuid ( RO): 4362c04b-e140-41f8-bcb5-36eed394576e virtual-size ( RO): 42025472 sharable ( RO): false read-only ( RO): false So the UUID that is used is the name-label and not the real UUID. I installed a xenserver and on this server a PV guest. In this guest I deployed devstack. I'm using the following localrc: MYSQL_PASSWORD=password SERVICE_TOKEN=password ADMIN_PASSWORD=password RABBIT_PASSWORD=password GUEST_PASSWORD=password SERVICE_PASSWORD=password HOST_IP=10.197.217.86 FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth1 FLAT_NETWORK_BRIDGE=xapi1 XENAPI_PASSWORD=toto XENAPI_CONNECTION_URL="http://10.197.217.85" IMAGE_URLS="\ https://github.com/downloads/citrix-openstack/warehouse/cirros-0.3.0-x86_64-disk.vhd.tgz,\ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz" VIRT_DRIVER=xenserver VNCSERVER_PROXYCLIENT_ADDRESS=10.197.217.85 MULTI_HOST=1 ACTIVE_TIMEOUT=45 When I try to boot a VM, I have an error: 2013-09-09 16:13:31.959 ERROR nova.utils [req-68e2a934-cda3-4543-8d8f-bd16de1f2b31 demo demo] [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failed to spawn, rolling back 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Traceback (most recent call last): 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 500, in spawn 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] vdis = create_disks_step(undo_mgr, disk_image_type, image_meta) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 153, in inner 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] rv = f(*args, **kwargs) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 380, in create_disks_step 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 351, in _create_disks 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 532, in get_vdis_for_instance 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] context, session, instance, name_label, image, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1111, in _create_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] image_id, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1057, in _create_cached_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] 'VDI.get_by_uuid', vdis['root']['uuid']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 732, in call_xenapi 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] return session.xenapi_request(method, args) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 139, in xenapi_request 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] result = _parse_result(getattr(self, methodname)(*full_params)) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 209, in _parse_result 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] raise Failure(result['ErrorDescription']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failure: ['UUID_INVALID', 'VDI', 'a9162793-5e64-41fb-a018-c281a694fcbf'] It seems that the UUID used is not the good one because if I look the list of VDIs I see: uuid ( RO) : 3aefa6cc-0d75-e356-f934-1c6fe8af1553           name-label ( RW): a9162793-5e64-41fb-a018-c281a694fcbf.vhd     name-description ( RW):              sr-uuid ( RO): 4362c04b-e140-41f8-bcb5-36eed394576e         virtual-size ( RO): 42025472             sharable ( RO): false            read-only ( RO): false So the UUID that is used is the name-label and not the real UUID.
2013-09-09 14:31:50 guillaume thouvenin description I installed a xenserver and on this server a PV guest. In this guest I deployed devstack. I'm using the following localrc: MYSQL_PASSWORD=password SERVICE_TOKEN=password ADMIN_PASSWORD=password RABBIT_PASSWORD=password GUEST_PASSWORD=password SERVICE_PASSWORD=password HOST_IP=10.197.217.86 FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth1 FLAT_NETWORK_BRIDGE=xapi1 XENAPI_PASSWORD=toto XENAPI_CONNECTION_URL="http://10.197.217.85" IMAGE_URLS="\ https://github.com/downloads/citrix-openstack/warehouse/cirros-0.3.0-x86_64-disk.vhd.tgz,\ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz" VIRT_DRIVER=xenserver VNCSERVER_PROXYCLIENT_ADDRESS=10.197.217.85 MULTI_HOST=1 ACTIVE_TIMEOUT=45 When I try to boot a VM, I have an error: 2013-09-09 16:13:31.959 ERROR nova.utils [req-68e2a934-cda3-4543-8d8f-bd16de1f2b31 demo demo] [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failed to spawn, rolling back 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Traceback (most recent call last): 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 500, in spawn 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] vdis = create_disks_step(undo_mgr, disk_image_type, image_meta) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 153, in inner 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] rv = f(*args, **kwargs) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 380, in create_disks_step 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 351, in _create_disks 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] block_device_info=block_device_info) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 532, in get_vdis_for_instance 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] context, session, instance, name_label, image, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1111, in _create_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] image_id, image_type) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/vm_utils.py", line 1057, in _create_cached_image 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] 'VDI.get_by_uuid', vdis['root']['uuid']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 732, in call_xenapi 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] return session.xenapi_request(method, args) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 139, in xenapi_request 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] result = _parse_result(getattr(self, methodname)(*full_params)) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] File "/usr/lib/python2.7/dist-packages/XenAPI.py", line 209, in _parse_result 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] raise Failure(result['ErrorDescription']) 2013-09-09 16:13:31.959 TRACE nova.utils [instance: 41ebf2b4-9518-48eb-bc37-e57183d8b04f] Failure: ['UUID_INVALID', 'VDI', 'a9162793-5e64-41fb-a018-c281a694fcbf'] It seems that the UUID used is not the good one because if I look the list of VDIs I see: uuid ( RO) : 3aefa6cc-0d75-e356-f934-1c6fe8af1553           name-label ( RW): a9162793-5e64-41fb-a018-c281a694fcbf.vhd     name-description ( RW):              sr-uuid ( RO): 4362c04b-e140-41f8-bcb5-36eed394576e         virtual-size ( RO): 42025472             sharable ( RO): false            read-only ( RO): false So the UUID that is used is the name-label and not the real UUID. I installed a xenserver and on this server a PV guest. In this guest I deployed devstack. I'm using the following localrc: MYSQL_PASSWORD=password SERVICE_TOKEN=password ADMIN_PASSWORD=password RABBIT_PASSWORD=password GUEST_PASSWORD=password SERVICE_PASSWORD=password HOST_IP=10.197.217.86 FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth1 FLAT_NETWORK_BRIDGE=xapi1 XENAPI_PASSWORD=toto XENAPI_CONNECTION_URL="http://10.197.217.85" IMAGE_URLS="\ https://github.com/downloads/citrix-openstack/warehouse/cirros-0.3.0-x86_64-disk.vhd.tgz,\ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz" VIRT_DRIVER=xenserver VNCSERVER_PROXYCLIENT_ADDRESS=10.197.217.85 MULTI_HOST=1 ACTIVE_TIMEOUT=45 When I try to boot a VM, I have an error: Failure: ['UUID_INVALID', 'VDI', 'a9162793-5e64-41fb-a018-c281a694fcbf'] Complete log is here: http://paste.openstack.org/show/46313/ It seems that the UUID used is not the good one because if I look the list of VDIs I see: uuid ( RO) : 3aefa6cc-0d75-e356-f934-1c6fe8af1553           name-label ( RW): a9162793-5e64-41fb-a018-c281a694fcbf.vhd     name-description ( RW):              sr-uuid ( RO): 4362c04b-e140-41f8-bcb5-36eed394576e         virtual-size ( RO): 42025472             sharable ( RO): false            read-only ( RO): false So the UUID that is used is the name-label and not the real UUID.
2013-09-09 15:50:52 Russell Bryant tags xenserver
2013-09-09 16:33:38 John Garbutt nova: importance Undecided Medium
2013-09-09 16:33:45 John Garbutt nova: status New Incomplete
2013-09-10 10:23:29 John Garbutt nova: status Incomplete Triaged
2013-10-10 14:25:01 John Garbutt summary xenapi: Fetched VDIs of type 'root' with a wrong UUID xenapi: openstack not working with xenserver core and vhd images
2013-10-10 14:25:05 John Garbutt nova: importance Medium Low
2014-11-07 08:51:10 Bob Ball nova: status Triaged Fix Released