Ask Your Question
0

ERROR nova.virt.libvirt.driver [-] Error launching a defined domain with XML: <domain type='kvm'>

asked 2015-11-04 09:27:48 -0500

anonymous user

Anonymous

I am getting following error when launching VM. I am running JUNO version. I have VT support enabled in CPU and kvm_intel driver loaded in kernel.

What i am missing here?

2015-11-04 07:32:34.408 21894 ERROR nova.virt.libvirt.driver [-] Error launching a defined domain with XML: <domain type='kvm'>
  <name>instance-0000000f</name>
  <uuid>bb2cdbae-a0a1-47ad-85c0-764de5ed45eb</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="2014.2.2-1.el7"/>
      <nova:name>new1</nova:name>
      <nova:creationTime>2015-11-04 12:32:33</nova:creationTime>
      <nova:flavor name="m1.medium">
        <nova:memory>4096</nova:memory>
        <nova:disk>40</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>2</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="cb976e5d17394c989220f978ff2986e4">admin</nova:user>
        <nova:project uuid="347125e1f4c9400696fabdd863fc3e46">admin</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="e4e0e7cf-a33a-4b38-bf5c-1a1f5af54e03"/>
    </nova:instance>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static' cpuset='0-7'>2</vcpu>
    <sysinfo type='smbios'>
      <system>
        <entry name='manufacturer'>Fedora Project</entry>
        <entry name='product'>OpenStack Nova</entry>
        <entry name='version'>2014.2.2-1.el7</entry>
        <entry name='serial'>bb4507b9-5e10-4202-bbc0-1d807da73e8d</entry>
        <entry name='uuid'>bb2cdbae-a0a1-47ad-85c0-764de5ed45eb</entry>
      </system>
    </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <smbios mode='sysinfo'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-model'>
    <model fallback='allow'/>
    <topology sockets='2' cores='1' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/nova/instances/bb2cdbae-a0a1-47ad-85c0-764de5ed45eb/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:3d:97:24'/>
      <source bridge='qbr25820d23-ef'/>
      <target dev='tap25820d23-ef'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='file'>
      <source path='/var/lib/nova/instances/bb2cdbae-a0a1-47ad-85c0-764de5ed45eb/console.log'/>
      <target port='0'/>
    </serial>
    <serial type='pty'>
      <target port='1'/>
    </serial>
    <console type='file'>
      <source path='/var/lib/nova/instances/bb2cdbae-a0a1-47ad-85c0-764de5ed45eb/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>
    <video>
      <model type='cirrus' vram='16384' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      <stats period='10'/>
    </memballoon>
  </devices>
</domain>

2015-11-04 07:32:34.408 21894 ERROR nova.compute.manager [-] [instance: bb2cdbae-a0a1-47ad-85c0-764de5ed45eb] Instance failed to spawn ...
(more)
edit retag flag offensive close merge delete

Comments

Run :-
$ ls -l /var/lib/nova/instances/bb2cdbae-a0a1-47ad-85c0-764de5ed45eb/console.log

dbaxps gravatar imagedbaxps ( 2015-11-04 10:01:29 -0500 )edit

[root@compute-1 ~]# ls -l /var/lib/nova/instances/7a54ba78-2e3f-4570-8d8a-2bd5343a005d/console.log ls: cannot access /var/lib/nova/instances/7a54ba78-2e3f-4570-8d8a-2bd5343a005d/console.log: No such file or directory

Also my permission on this directory is nova:nova

satish.lx gravatar imagesatish.lx ( 2015-11-08 15:02:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-01 16:40:39 -0500

mriedem gravatar image
edit flag offensive delete link more

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-11-04 09:27:48 -0500

Seen: 3,754 times

Last updated: Mar 01 '16