Error integrating XenServer into openstack-environment (nova: unrecognised disk label) [closed]

asked 2015-05-28 10:05:07 -0500

nocks gravatar image

Hey guys,

i tried to integrate a physical XenServer instance into an existing openstack-environment (juno; ubuntu 14.04). On top of the XenServer an ubuntu-"paravirtualized"-vm with configured nova and xenapi is installed (as illustrated here: http://docs.openstack.org/kilo/config-reference/content/figures/2/a/a/common/figures/xenserver_architecture.png (http://docs.openstack.org/kilo/config...) ).

While launching a virtual machine (via Horizon) nova-compute.log offers some information:

2015-05-28 14:39:08.880 1982 INFO nova.virt.xenapi.vm_utils [-] Image creation data, cacheable: True, downloaded: False duration: 1.19 secs for image 5355724a-7049-4eab-9614-755615c63864

2015-05-28 14:39:09.804 1982 DEBUG nova.virt.xenapi.vm_utils [-] [instance: d2441c3e-5325-4995-8012-5afc6cf55849] Created VM create_vm /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:310

2015-05-28 14:39:09.936 1982 DEBUG nova.virt.xenapi.vm_utils [-] [instance: d2441c3e-5325-4995-8012-5afc6cf55849] Resizing up VDI OpaqueRef:26e71e3c-a84a-c789-764f-fc9bbd274fac from 14680064 to 21474836480 update_vdi_virtual_size /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:887

2015-05-28 14:39:10.536 1982 DEBUG nova.virt.xenapi.vmops [-] [instance: d2441c3e-5325-4995-8012-5afc6cf55849] Auto configuring disk, attempting to resize root disk... _attach_disks /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py:662

2015-05-28 14:39:10.539 1982 DEBUG nova.virt.xenapi.vm_utils [-] Creating disk-type VBD for VM OpaqueRef:f31ea746-c2f3-1205-783d-44e068df2402, VDI OpaqueRef:26e71e3c-a84a-c789-764f-fc9bbd274fac ...  create_vbd /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:443

2015-05-28 14:39:10.565 1982 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD OpaqueRef:f58b8d64-c191-e887-e662-437a22841405 for VM OpaqueRef:f31ea746-c2f3-1205-783d-44e068df2402, VDI OpaqueRef:26e71e3c-a84a-c789-764f-fc9bbd274fac. create_vbd /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:447

2015-05-28 14:39:10.566 1982 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:f58b8d64-c191-e887-e662-437a22841405 ...  vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:2189

2015-05-28 14:39:11.416 1982 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:f58b8d64-c191-e887-e662-437a22841405 done. vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:2192

2015-05-28 14:39:11.418 1982 DEBUG nova.virt.xenapi.vm_utils [-] VBD OpaqueRef:f58b8d64-c191-e887-e662-437a22841405 plugged as xvdb vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:2195

2015-05-28 14:39:11.420 1982 DEBUG nova.openstack.common.processutils [-] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf parted --script --machine /dev/xvdb unit s print execute /usr/lib/python2.7/dist-packages/nova/openstack/common/processutils.py:161

2015-05-28 14:39:12.273 1982 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:26e71e3c-a84a-c789-764f-fc9bbd274fac ...  vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:2205

2015-05-28 14:39:13.058 1982 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:26e71e3c-a84a-c789-764f-fc9bbd274fac done. vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:2213

2015-05-28 14:39:13.059 1982 ERROR nova.utils [-] [instance: d2441c3e-5325-4995-8012-5afc6cf55849] Failed to spawn, rolling back

2015-05-28 14:39:13.059 1982 TRACE nova.utils [instance: d2441c3e-5325-4995-8012-5afc6cf55849] ProcessExecutionError: Unexpected error while running command.

2015-05-28 14:39:13.059 1982 TRACE nova.utils [instance: d2441c3e-5325-4995-8012-5afc6cf55849] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf parted --script --machine /dev/xvdb unit s print

2015-05-28 14 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by nocks
close date 2015-05-29 03:19:17.250034

Comments

problem "solved" - as yet i used cirros for testing purposes. - this was the problem. cirros isn't accepting the host disk. other linux os is booting (ubuntu 14.04)...

nocks gravatar imagenocks ( 2015-05-29 00:45:56 -0500 )edit