Ask Your Question
1

Kilo Error launching Instance on compute with Qemu libvirt

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

Uzi gravatar image

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

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 :

[DEFAULT]
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu

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'>
  <name>instance-00000005</name>
  <uuid>6be60fd2-4af7-45c9-b9ec-0e201f6e89ce</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="2015.1.0"/>
      <nova:name>X</nova:name>
      <nova:creationTime>2015-05-17 16:40:39</nova:creationTime>
      <nova:flavor name="m1.tiny">
        <nova:memory>512</nova:memory>
        <nova:disk>1</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>1</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="1f34d4efdfa842f29bff58f7180fcc4e">admin</nova:user>
        <nova:project uuid="4832d4ebf7424422816919e90344a18b">admin</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="6c1ead72-cb34-413e-9407-a0febfa7c0ae"/>
    </nova:instance>
  </metadata>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static' cpuset='0'>1</vcpu>
  <cputune>
    <shares>1024</shares>
  </cputune>
  <sysinfo type='smbios'>
    <system>
      <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>
    </system>
  </sysinfo>
  <os>
    <type arch='i686' machine='pc-i440fx-utopic'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-model'>
    <model fallback='allow'/>
    <topology sockets='1' cores='1' threads='1'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-i386</emulator>
    <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'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <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'/>
    </interface>
    <serial type='file'>
      <source path='/var/lib/nova/instances/6be60fd2-4af7-45c9-b9ec-0e201f6e89ce/console.log'/>
      <target port='0'/>
    </serial>
    <serial type='pty'>
      <target port='1'/>
    </serial>
    <console type='file'>
      <source path='/var/lib/nova/instances/6be60fd2-4af7-45c9-b9ec-0e201f6e89ce/console.log'/>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics ...
(more)
edit retag flag offensive close merge delete

Comments

Which version of Ubuntu ?

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

Ubuntu 14.04

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

See https://bugs.launchpad.net/ubuntu/+so...
Wild guess :- try patch from comment #32

dbaxps gravatar imagedbaxps ( 2015-05-17 14:38:27 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

dbaxps gravatar image

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

I believe you are hit by https://bugs.launchpad.net/ubuntu/+so... . View comment #51

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

Comments

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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 2,627 times

Last updated: May 18 '15