← Back to team overview

openstack team mailing list archive

Re: [Compute] nova-compute does not show up as ":-)" in nova-manage service list

 

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.gurjar@xxxxxxxxxxx<mailto:unmesh.gurjar@xxxxxxxxxxx> | Follow us on Twitter@NTTDATAAmericas

From: Leander Bessa Beernaert [mailto:leanderbb@xxxxxxxxx]
Sent: Wednesday, May 16, 2012 5:54 PM
To: Day, Phil
Cc: Gurjar, Unmesh; openstack@xxxxxxxxxxxxxxxxxxx
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.day@xxxxxx<mailto:philip.day@xxxxxx>> 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.com@xxxxxxxxxxxxxxxxxxx<mailto:hp.com@xxxxxxxxxxxxxxxxxxx> [mailto:openstack-bounces+philip.day<mailto:openstack-bounces%2Bphilip.day>=hp.com@xxxxxxxxxxxxxxxxxxx<mailto:hp.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Leander Bessa Beernaert
Sent: 16 May 2012 12:19
To: Gurjar, Unmesh
Cc: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
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.Gurjar@xxxxxxxxxxx<mailto:Unmesh.Gurjar@xxxxxxxxxxx>> 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.gurjar@xxxxxxxxxxx<mailto:unmesh.gurjar@xxxxxxxxxxx> | Follow us on Twitter@NTTDATAAmericas

From: openstack-bounces+unmesh.gurjar=nttdata.com@xxxxxxxxxxxxxxxxxxx<mailto:nttdata.com@xxxxxxxxxxxxxxxxxxx> [mailto:openstack-bounces+unmesh.gurjar<mailto:openstack-bounces%2Bunmesh.gurjar>=nttdata.com@xxxxxxxxxxxxxxxxxxx<mailto:nttdata.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Leander Bessa Beernaert
Sent: Wednesday, May 16, 2012 4:30 PM
To: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
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

Follow ups

References