← Back to team overview

openstack team mailing list archive

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

 

A completely separate potential cause - make sure the time is synchronized between the various hosts. I significant discrepancy there (over 30 seconds I think), will also result in the services thinking they're offline.

-joe (this one from hard experience)

On May 16, 2012, at 6:48 AM, Gurjar, Unmesh wrote:
> 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 | 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> 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:openstack-bounces+philip.day=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf OfLeander Bessa Beernaert
> Sent: 16 May 2012 12:19
> To: Gurjar, Unmesh
> Cc: 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> 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 | m. +91.982.324.7631 | unmesh.gurjar@xxxxxxxxxxx | Follow us on Twitter@NTTDATAAmericas
>  
> From: openstack-bounces+unmesh.gurjar=nttdata.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+unmesh.gurjar=nttdata.com@xxxxxxxxxxxxxxxxxxx]On Behalf Of Leander Bessa Beernaert
> Sent: Wednesday, May 16, 2012 4:30 PM
> To: 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
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References