<div dir="ltr"><pre class=""><code><span class=""> </span><span class="">Hi</span><span class=""> 


I</span><span class="">'m trying to run VM from controller node onto compute node and it is stucking at spawning state.I'</span><span class="">m able to </span><span class="">get</span><span class=""> the libvirt</span><span class="">.</span><span class="">xml </span><span class="">in</span><span class=""> </span><span class="">/</span><span class="">opt</span><span class="">/</span><span class="">stack</span><span class="">/</span><span class="">data</span><span class="">/</span><span class="">nova</span><span class="">/</span><span class="">instances</span><span class="">/</span><span class="">729482302900.</span><span class="">....</span><span class=""> on the compute node  </span><span class="">and</span><span class=""> below </span><span class="">is</span><span class=""> the libvirt</span><span class="">.</span><span class="">xml file</span><span class="">..</span><span class="">

domain type</span><span class="">=</span><span class="">"kvm"</span><span class="">></span><span class="">
  </span><span class=""><uuid></span><span class="">7210aa10</span><span class="">-</span><span class="">6c98</span><span class="">-</span><span class="">418a</span><span class="">-</span><span class="">b97e</span><span class="">-</span><span class="">94ef2dcbb7f3</span><span class=""><</span><span class="">/uuid>
  <name>instance-00000003</</span><span class="">name</span><span class="">></span><span class="">
  </span><span class=""><memory></span><span class="">524288</span><span class=""><</span><span class="">/memory>
  <vcpu>1</</span><span class="">vcpu</span><span class="">></span><span class="">
  </span><span class=""><os></span><span class="">
    </span><span class=""><</span><span class="">type machine</span><span class="">=</span><span class="">"ppce500"</span><span class="">></span><span class="">hvm</span><span class=""><</span><span class="">/type>
    <kernel>/</span><span class="">opt</span><span class="">/</span><span class="">stack</span><span class="">/</span><span class="">data</span><span class="">/</span><span class="">nova</span><span class="">/</span><span class="">instances</span><span class="">/</span><span class="">7210aa10</span><span class="">-</span><span class="">6c98</span><span class="">-</span><span class="">418a</span><span class="">-</span><span class="">b97e</span><span class="">-</span><span class="">94ef2dcbb7f3</span><span class="">/</span><span class="">kernel</span><span class=""><</span><span class="">/kernel>
    <initrd>/</span><span class="">opt</span><span class="">/</span><span class="">stack</span><span class="">/</span><span class="">data</span><span class="">/</span><span class="">nova</span><span class="">/</span><span class="">instances</span><span class="">/</span><span class="">7210aa10</span><span class="">-</span><span class="">6c98</span><span class="">-</span><span class="">418a</span><span class="">-</span><span class="">b97e</span><span class="">-</span><span class="">94ef2dcbb7f3</span><span class="">/</span><span class="">ramdisk</span><span class=""><</span><span class="">/initrd>
    <cmdline>root=/</span><span class="">dev</span><span class="">/</span><span class="">vda console</span><span class="">=</span><span class="">tty0 console</span><span class="">=</span><span class="">ttyS0</span><span class=""><</span><span class="">/cmdline>
  </</span><span class="">os</span><span class="">></span><span class="">
  </span><span class=""><features></span><span class="">
    </span><span class=""><</span><span class="">acpi</span><span class="">/></span><span class="">
    </span><span class=""><</span><span class="">apic</span><span class="">/></span><span class="">
  </span><span class=""><</span><span class="">/features>
  <clock offset="utc">
    <timer name="pit" tickpolicy="delay"/</span><span class="">></span><span class="">
    </span><span class=""><</span><span class="">timer name</span><span class="">=</span><span class="">"rtc"</span><span class=""> tickpolicy</span><span class="">=</span><span class="">"catchup"</span><span class="">/></span><span class="">
  </span><span class=""><</span><span class="">/clock>
  <devices>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2" cache="none"/</span><span class="">></span><span class="">
      </span><span class=""><</span><span class="">source file</span><span class="">=</span><span class="">"/opt/stack/data/nova/instances/7210aa10-6c98-418a-b97e-94ef2dcbb7f3/disk"</span><span class="">/></span><span class="">
      </span><span class=""><</span><span class="">target bus</span><span class="">=</span><span class="">"virtio"</span><span class=""> dev</span><span class="">=</span><span class="">"vda"</span><span class="">/></span><span class="">
    </span><span class=""><</span><span class="">/disk>
    <interface>
      <model type="virtio"/</span><span class="">></span><span class="">
      </span><span class=""><</span><span class="">source bridge</span><span class="">=</span><span class="">"qbr5d2ebebf-03"</span><span class="">/></span><span class="">
      </span><span class=""><</span><span class="">target dev</span><span class="">=</span><span class="">"tap5d2ebebf-03"</span><span class="">/></span><span class="">
      </span><span class=""><</span><span class="">filterref filter</span><span class="">=</span><span class="">"nova-instance-instance-00000003-fa163ebb2b75"</span><span class="">/></span><span class="">
    </span><span class=""><</span><span class="">/interface>
    <serial type="file">
      <source path="/</span><span class="">opt</span><span class="">/</span><span class="">stack</span><span class="">/</span><span class="">data</span><span class="">/</span><span class="">nova</span><span class="">/</span><span class="">instances</span><span class="">/</span><span class="">7210aa10</span><span class="">-</span><span class="">6c98</span><span class="">-</span><span class="">418a</span><span class="">-</span><span class="">b97e</span><span class="">-</span><span class="">94ef2dcbb7f3</span><span class="">/</span><span class="">console</span><span class="">.</span><span class="">log</span><span class="">"/>
    </serial>
    <serial type="</span><span class="">pty</span><span class="">"/>
  </devices>
</domain>

I'm able to manually run VM through virsh and it is appearing running in virsh list but I'm not able to understand that why it is not able to run automatically from the cloud itself.

Below are the steps for running VM manually through virsh..

virsh undefine instance-00000003
virsh define libvirt.xml
virsh start  instance-00000003

Please help regarding this.

Thanks</span></code></pre></div>