<div dir="ltr"><div><div><div><div>Hi RIch<br><br></div>Thanks for the reply.The libguestfs is working fine here and there are no issues regarding that on the ubuntu compute node.From the nova-compute logs on the compute node,it appears that the tap interface is not coming up on the compute node.<br>
<br></div>Also in the file driver.py at the path /opt/stack/nova/nova/virt/libvirt in the below section,<br><br><b>uuid = dom.UUIDString()<br>        if event == libvirt.VIR_DOMAIN_EVENT_STOPPED:<br>            transition = virtevent.EVENT_LIFECYCLE_STOPPED<br>
        elif event == libvirt.VIR_DOMAIN_EVENT_STARTED:<br>            transition = virtevent.EVENT_LIFECYCLE_STARTED<br>        elif event == libvirt.VIR_DOMAIN_EVENT_SUSPENDED:<br>            transition = virtevent.EVENT_LIFECYCLE_PAUSED<br>
        elif event == libvirt.VIR_DOMAIN_EVENT_RESUMED:<br>            transition = virtevent.EVENT_LIFECYCLE_RESUMED<br><br></b></div>the compute node should go in the second part i.e in <b>libvirt.VIR_DOMAIN_EVENT_STARTED ,which it it missing.<br>
<br></b></div><div>The output of brctl show is follows on the ubuntu compute node--<br><br>brctl show<br>bridge name    bridge id        STP enabled    interfaces<br>qbr06865952-4f        8000.6654b7d239b7    no        qvb06865952-4f<br>
qbr9cbe0875-42        8000.da3180e79619    no        qvb9cbe0875-42<br>qbrb61ecf20-cf        8000.e24a1b9d71c0    no        qvbb61ecf20-cf<br>qbrda8485b3-73        8000.f602a0f09835    no        qvbda8485b3-73<br><br></div>
<div>The main problem is that the tap interface is not able to come up.Below are the nova-compute logs..<br><br>ova.virt.libvirt.config [req-6ce8d1f9-5d85-4d4c-a06e-bd8c4d3071ec admin admin] Generated XML <domain type="kvm">^M<br>
  <uuid>3a0e6076-1136-47d2-b883-326d7a87e5d4</uuid>^M<br>  <name>instance-00000009</name>^M<br>  <memory>524288</memory>^M<br>  <vcpu>1</vcpu>^M<br>  <os>^M<br>    <type>hvm</type>^M<br>
    <kernel>/opt/stack/data/nova/instances/3a0e6076-1136-47d2-b883-326d7a87e5d4/kernel</kernel>^M<br>    <initrd>/opt/stack/data/nova/instances/3a0e6076-1136-47d2-b883-326d7a87e5d4/ramdisk</initrd>^M<br>
    <cmdline>root=/dev/vda console=tty0 console=ttyS0</cmdline>^M<br>  </os>^M<br>  <features>^M<br>    <acpi/>^M<br>    <apic/>^M<br>  </features>^M<br>  <clock offset="utc">^M<br>
    <timer name="pit" tickpolicy="delay"/>^M<br>    <timer name="rtc" tickpolicy="catchup"/>^M<br>  </clock>^M<br>  <devices>^M<br>    <disk type="file" device="disk">^M<br>
      <driver name="qemu" type="qcow2" cache="none"/>^M<br>      <source file="/opt/stack/data/nova/instances/3a0e6076-1136-47d2-b883-326d7a87e5d4/disk"/>^M<br>      <target bus="virtio" dev="vda"/>^M<br>
    </disk>^M<br>    <interface type="bridge">^M<br>      <mac address="fa:16:3e:17:c5:cc"/>^M<br>      <model type="virtio"/>^M<br>      <source bridge="qbrb61ecf20-cf"/>^M<br>
      <target dev="tapb61ecf20-cf"/>^M<br>      <filterref filter="nova-instance-instance-00000009-fa163e17c5cc"/>^M<br>    </interface>^M<br>    <serial type="file">^M<br>
      <source path="/opt/stack/data/nova/instances/3a0e6076-1136-47d2-b883-326d7a87e5d4/console.log"/>^M<br>                                                                                                                              365,103        6%<br>
<br></div><div>Please help regarding this.<br><br></div><div>Thanks<br></div><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 8:05 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Fri, Jun 13, 2014 at 03:06:25PM +0530, abhishek jain wrote:<br>
> Hi Rich<br>
><br>
> Can you  help me regarding the possible cause for  VM stucking at spawning<br>
> state on ubuntu powerpc compute node in openstack using devstack.<br>
<br>
</div>Did you solve this one?  It's impossible to debug unless you collect<br>
the full debugging information.  See also:<br>
<br>
  <a href="http://libguestfs.org/guestfs-faq.1.html#how-do-i-debug-when-using-the-api" target="_blank">http://libguestfs.org/guestfs-faq.1.html#how-do-i-debug-when-using-the-api</a><br>
  <a href="https://bugs.launchpad.net/nova/+bug/1279857" target="_blank">https://bugs.launchpad.net/nova/+bug/1279857</a><br>
<br>
Rich.<br>
<div class=""><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
</div>Fedora Windows cross-compiler. Compile Windows programs, test, and<br>
build Windows installers. Over 100 libraries supported.<br>
<a href="http://fedoraproject.org/wiki/MinGW" target="_blank">http://fedoraproject.org/wiki/MinGW</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>