Restarting libvirt service seemed to resolve the issue for me in the past.

Thanks & Regards,
Unmesh Gurjar | Lead Engineer | Vertex Software Private Ltd. | w. 
+91.20.6604.1500 x 379 | m. +91.982.324.7631 | 
unmesh.gur...@nttdata.com<mailto:unmesh.gur...@nttdata.com> | Follow us on 
Twitter@NTTDATAAmericas

From: Leander Bessa Beernaert [mailto:leande...@gmail.com]
Sent: Wednesday, May 16, 2012 5:54 PM
To: Day, Phil
Cc: Gurjar, Unmesh; openstack@lists.launchpad.net
Subject: Re: [Openstack] [Compute] nova-compute does not show up as ":-)" in 
nova-manage service list

I tried 'virsh list', and the command hangs. At first i thought it was because 
of KVM, since the vm does not support it. I remember having the same problem 
with diablo, but it would only result in error when the instance was being 
launched on the compute service. So i changed "libvirt_type=kvm" to 
"libvirt_type=qemu".

However, the problem still remains: "virsh list" still hangs and compute 
refuses to leave the state "XXX".
On Wed, May 16, 2012 at 12:51 PM, Day, Phil 
<philip....@hp.com<mailto:philip....@hp.com>> wrote:
So the things to check are:


-          Is the nova-compute service running ?  If not the nova-compute.log 
should show why its failing


-          If it is running then it probably means that its getting stuck on 
some long running issue (e.g as down loading an image, problems talking to 
libvirt, slow response from the DB, etc).     XXX in this case means that its 
slow in updating its services entry rather than failed as such


Phil

From: 
openstack-bounces+philip.day=hp....@lists.launchpad.net<mailto:hp....@lists.launchpad.net>
 
[mailto:openstack-bounces+philip.day<mailto:openstack-bounces%2Bphilip.day>=hp....@lists.launchpad.net<mailto:hp....@lists.launchpad.net>]
 On Behalf Of Leander Bessa Beernaert
Sent: 16 May 2012 12:19
To: Gurjar, Unmesh
Cc: openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Subject: Re: [Openstack] [Compute] nova-compute does not show up as ":-)" in 
nova-manage service list

Shouldn't nova-network and nova-scheduler also fail then, since they share the 
same config file? If so, that's not what's happening with me, only the compute 
service is listed as "XXX".
On Wed, May 16, 2012 at 12:10 PM, Gurjar, Unmesh 
<unmesh.gur...@nttdata.com<mailto:unmesh.gur...@nttdata.com>> wrote:
Hi Leander,

The issue is the Compute is not updating its heartbeat (services table in the 
nova database), which is causing this.
You probably need to check database connection string in the nova.conf on the  
Compute host and the db connection from the Compute host is working.

Thanks & Regards,
Unmesh Gurjar | Lead Engineer | Vertex Software Private Ltd. | w. 
+91.20.6604.1500 x 379<tel:%2B91.20.6604.1500%20x%20379> | m. 
+91.982.324.7631<tel:%2B91.982.324.7631> | 
unmesh.gur...@nttdata.com<mailto:unmesh.gur...@nttdata.com> | Follow us on 
Twitter@NTTDATAAmericas

From: 
openstack-bounces+unmesh.gurjar=nttdata....@lists.launchpad.net<mailto:nttdata....@lists.launchpad.net>
 
[mailto:openstack-bounces+unmesh.gurjar<mailto:openstack-bounces%2Bunmesh.gurjar>=nttdata....@lists.launchpad.net<mailto:nttdata....@lists.launchpad.net>]
 On Behalf Of Leander Bessa Beernaert
Sent: Wednesday, May 16, 2012 4:30 PM
To: openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>
Subject: [Openstack] [Compute] nova-compute does not show up as ":-)" in 
nova-manage service list

Hello,


I can't get nova-compute to show up as ":-)" under 'nova-manager service list'. 
I've checked the logs and can't find any error or warning.

I'm using the default packages shipped with ubuntu 12.04 and have installed 
everything in a virtual machine.

Regards,

Leander

______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data. If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding



______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data.  If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to