<div dir="ltr">Hi,<div><br></div><div>have you inspected /var/log/libvirt/qemu/instance-xxxxxxxx.log files? Such problem can be connected with your hypervisor. Especially if you use nested kvm virtualization on your host machine.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 2:06 PM, Deepak Shetty <span dir="ltr"><<a href="mailto:dpkshetty@gmail.com" target="_blank">dpkshetty@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">(Hit send by mistake.. continuing below)<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 9, 2014 at 3:32 PM, Deepak Shetty <span dir="ltr"><<a href="mailto:dpkshetty@gmail.com" target="_blank">dpkshetty@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>Hi All,<br></div> The last time I sent this issue, I didn't had the right tags in the subject so sending with the right tags, in the hope that the right folks might help provide some clues.<br>
<br></div>I am usign latest devstack on F20 and I see VMs stuck in 'spawning' state.<br>No errors in n-sch, n-cpu and I checked other n-* screen logs too, no errors whatsoever<br><br></div>There is enuf memory and disk space available for the tiny and small flavour VMs I am trying to run<br>
<br></div>
</blockquote></div><br>2014-06-09 09:57:19.935 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 1905<br>2014-06-09 09:57:19.935 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 46<br>2014-06-09 09:57:19.936 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 1<br>
2014-06-09 09:57:19.936 AUDIT nova.compute.resource_tracker [-] PCI stats: []<br><br></div><div class="gmail_extra">The only thing that i see other than INFO/DEbug is the below<br>2014-06-09 09:57:42.700 WARNING nova.compute.manager [-] Found 3 in the database and 0 on the hypervisor.<br>
<br></div><div class="gmail_extra">What does that mean ? Does that say that Nova sees 3 VMs in its DB but a query to the hyp (via libvirt I assume) returns none ?<br><br></div><div class="gmail_extra">Interestingly I can see the qemu process for my VM that nova says is stuck in Spawning state and virsh list also lists' it<br>
</div><div class="gmail_extra">But i don't see the libvirt.xml for this stuck VM (from nova's perspective) in the /opt/stack/data/nova/instances/<uuid> folder.<br><br>I was trying to figure what this means ? Where is nova stuck ? Screen logs just doesn't point to anything useful to debug further.<br>
<br></div><div class="gmail_extra">From the n-cpu logs i see the "Creating image" info log from nova.virt.libvirt and thats the last<br></div><div class="gmail_extra">I don't see the info log "Creating isntance" from nova.virt.. so it looks like its stuck somewhere between creating image and spawning instance.. but virsh list and qemu process says otherwise<br>
<br></div><div class="gmail_extra">Looking for some debug hints here<br><br>thanx,<br>deepak<br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>