Ask Your Question

Kilo Error launching Instance on compute with Qemu libvirt

asked 2015-05-17 11:55:16 -0500

Uzi gravatar image

updated 2015-05-17 11:57:11 -0500

Hi All

i have installed Kilo today on Ubuntu , doing the the installation as requested.

i get error launching instance , when debugging the compute nova logs i see that the libvirt XML equipped with affinity that is not supported by Qemu

Note : i am running virtual compute node on Oracle VB , that's why i am using qemu and not kvm

compute-node.conf cat is :


what can i do to disable this feature and launch instance successfully on qemu based libvirt hypervisor

thanks in advance

the nova-compute.log is as follows :

2015-05-17 19:40:42.066 2379 ERROR nova.virt.libvirt.driver [req-9a8dc8e6-acef-4f3c-b3d7-1ef9438d6416 - - - - -] Error launching a defined domain with XML:
<domain type='qemu'>
    <nova:instance xmlns:nova="">
      <nova:package version="2015.1.0"/>
      <nova:creationTime>2015-05-17 16:40:39</nova:creationTime>
      <nova:flavor name="m1.tiny">
        <nova:user uuid="1f34d4efdfa842f29bff58f7180fcc4e">admin</nova:user>
        <nova:project uuid="4832d4ebf7424422816919e90344a18b">admin</nova:project>
      <nova:root type="image" uuid="6c1ead72-cb34-413e-9407-a0febfa7c0ae"/>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static' cpuset='0'>1</vcpu>
  <sysinfo type='smbios'>
      <entry name='manufacturer'>OpenStack Foundation</entry>
      <entry name='product'>OpenStack Nova</entry>
      <entry name='version'>2015.1.0</entry>
      <entry name='serial'>3142848b-5b53-4059-a2fb-2c75303b6980</entry>
      <entry name='uuid'>6be60fd2-4af7-45c9-b9ec-0e201f6e89ce</entry>
    <type arch='i686' machine='pc-i440fx-utopic'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  <cpu mode='host-model'>
    <model fallback='allow'/>
    <topology sockets='1' cores='1' threads='1'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/nova/instances/6be60fd2-4af7-45c9-b9ec-0e201f6e89ce/disk'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    <controller type='pci' index='0' model='pci-root'/>
    <interface type='bridge'>
      <mac address='fa:16:3e:14:9d:0d'/>
      <source bridge='qbrf1716ada-a4'/>
      <target dev='tapf1716ada-a4'/>
      <model type='virtio'/>
      <driver name='qemu'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    <serial type='file'>
      <source path='/var/lib/nova/instances/6be60fd2-4af7-45c9-b9ec-0e201f6e89ce/console.log'/>
      <target port='0'/>
    <serial type='pty'>
      <target port='1'/>
    <console type='file'>
      <source path='/var/lib/nova/instances/6be60fd2-4af7-45c9-b9ec-0e201f6e89ce/console.log'/>
      <target type='serial' port='0'/>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='' keymap='en-us'>
      <listen type='address' address=''/>
    </graphics ...
edit retag flag offensive close merge delete


Which version of Ubuntu ?

dbaxps gravatar imagedbaxps ( 2015-05-17 13:02:32 -0500 )edit

Ubuntu 14.04

Uzi gravatar imageUzi ( 2015-05-17 14:26:37 -0500 )edit

Wild guess :- try patch from comment #32

dbaxps gravatar imagedbaxps ( 2015-05-17 14:38:27 -0500 )edit

@Uzi Can you please add answer to this question detailing what steps you followed, from past 4days I'm trying to bring my nova back but failing, I downloaded the patch and installed by now my hyper-visor is broken.

Karthik Prasad gravatar imageKarthik Prasad ( 2015-05-19 13:24:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-17 16:25:53 -0500

dbaxps gravatar image

updated 2015-05-18 04:51:23 -0500

I believe you are hit by . View comment #51

Patch suggested in comment #32 disables pinning  on 14.04 per Uzi  report
edit flag offensive delete link more


OK thanks a lot , the patch disable the affinity and i was able to launch an instance

Uzi gravatar imageUzi ( 2015-05-18 04:35:19 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-17 11:55:16 -0500

Seen: 2,782 times

Last updated: May 18 '15