<html><head><base href="x-msg://372/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><br></div><div>-joe (this one from hard experience)</div><div><br><div><div>On May 16, 2012, at 6:48 AM, Gurjar, Unmesh wrote:</div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Restarting libvirt service seemed to resolve the issue for me in the past.<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Thanks & Regards,<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Unmesh Gurjar</span></b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); "><span class="Apple-converted-space"> </span>| Lead Engineer | Vertex Software Private Ltd. |<span class="Apple-converted-space"> </span><b>w.</b><span class="Apple-converted-space"> </span>+91.20.6604.1500 x 379 |<span class="Apple-converted-space"> </span><b>m.</b><span class="Apple-converted-space"> </span>+91.982.324.7631</span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: black; "><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span><a href="mailto:unmesh.gurjar@nttdata.com" style="color: blue; text-decoration: underline; "><span style="color: blue; ">unmesh.gurjar@nttdata.com</span></a><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Follow us on Twitter@NTTDATAAmericas<b><o:p></o:p></b></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Leander Bessa Beernaert [mailto:leanderbb@gmail.com]<span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, May 16, 2012 5:54 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Day, Phil<br><b>Cc:</b><span class="Apple-converted-space"> </span>Gurjar, Unmesh;<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net" style="color: blue; text-decoration: underline; ">openstack@lists.launchpad.net</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Openstack] [Compute] nova-compute does not show up as ":-)" in nova-manage service list<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><o:p> </o:p></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">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".<o:p></o:p></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><o:p> </o:p></div></div><div><p class="MsoNormal" style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 12pt; ">However, the problem still remains: "virsh list" still hangs and compute refuses to leave the state "XXX".<o:p></o:p></p><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">On Wed, May 16, 2012 at 12:51 PM, Day, Phil <<a href="mailto:philip.day@hp.com" target="_blank" style="color: blue; text-decoration: underline; ">philip.day@hp.com</a>> wrote:<o:p></o:p></div><div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">So the things to check are:</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">-</span><span lang="EN-GB" style="font-size: 7pt; color: rgb(31, 73, 125); "> <span class="Apple-converted-space"> </span></span><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Is the nova-compute service running ? If not the nova-compute.log should show why its failing</span><span lang="EN-GB"><o:p></o:p></span></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">-</span><span lang="EN-GB" style="font-size: 7pt; color: rgb(31, 73, 125); "> <span class="Apple-converted-space"> </span></span><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">If it is running then it probably means that its getting stuck on some long running<span class="Apple-converted-space"> </span></span><span lang="EN-GB" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">issue (e.g<span class="Apple-converted-space"> </span></span><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">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</span><span lang="EN-GB"><o:p></o:p></span></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Phil</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>openstack-bounces+philip.day=<a href="mailto:hp.com@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">hp.com@lists.launchpad.net</a><span class="Apple-converted-space"> </span>[mailto:<a href="mailto:openstack-bounces%2Bphilip.day" target="_blank" style="color: blue; text-decoration: underline; ">openstack-bounces+philip.day</a>=<a href="mailto:hp.com@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">hp.com@lists.launchpad.net</a>]<span class="Apple-converted-space"> </span><b>On Behalf Of</b>Leander Bessa Beernaert<br><b>Sent:</b><span class="Apple-converted-space"> </span>16 May 2012 12:19<br><b>To:</b><span class="Apple-converted-space"> </span>Gurjar, Unmesh<br><b>Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">openstack@lists.launchpad.net</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Openstack] [Compute] nova-compute does not show up as ":-)" in nova-manage service list</span><span lang="EN-GB"><o:p></o:p></span></div><div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB"> <o:p></o:p></span></div><p class="MsoNormal" style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 12pt; "><span lang="EN-GB">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".<o:p></o:p></span></p><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB">On Wed, May 16, 2012 at 12:10 PM, Gurjar, Unmesh <<a href="mailto:Unmesh.Gurjar@nttdata.com" target="_blank" style="color: blue; text-decoration: underline; ">Unmesh.Gurjar@nttdata.com</a>> wrote:<o:p></o:p></span></div><div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hi Leander,</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">The issue is the Compute is not updating its heartbeat (services table in the nova database), which is causing this.</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">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.</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Thanks & Regards,</span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Unmesh Gurjar</span></b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); "><span class="Apple-converted-space"> </span>| Lead Engineer | Vertex Software Private Ltd. |<span class="Apple-converted-space"> </span><b>w.</b><span class="Apple-converted-space"> </span><a href="tel:%2B91.20.6604.1500%20x%20379" target="_blank" style="color: blue; text-decoration: underline; ">+91.20.6604.1500 x 379</a><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span><b>m.</b><span class="Apple-converted-space"> </span><a href="tel:%2B91.982.324.7631" target="_blank" style="color: blue; text-decoration: underline; ">+91.982.324.7631</a></span><span style="font-size: 10pt; font-family: Arial, sans-serif; "><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span><a href="mailto:unmesh.gurjar@nttdata.com" target="_blank" style="color: blue; text-decoration: underline; ">unmesh.gurjar@nttdata.com</a><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span><span style="color: rgb(31, 73, 125); ">Follow us on Twitter@NTTDATAAmericas</span></span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "> </span><span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>openstack-bounces+unmesh.gurjar=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">nttdata.com@lists.launchpad.net</a><span class="Apple-converted-space"> </span>[mailto:<a href="mailto:openstack-bounces%2Bunmesh.gurjar" target="_blank" style="color: blue; text-decoration: underline; ">openstack-bounces+unmesh.gurjar</a>=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">nttdata.com@lists.launchpad.net</a>]<b>On Behalf Of<span class="Apple-converted-space"> </span></b>Leander Bessa Beernaert<br><b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, May 16, 2012 4:30 PM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net" target="_blank" style="color: blue; text-decoration: underline; ">openstack@lists.launchpad.net</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>[Openstack] [Compute] nova-compute does not show up as ":-)" in nova-manage service list</span><span lang="EN-GB"><o:p></o:p></span></div><div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">Hello,<span lang="EN-GB"><o:p></o:p></span></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">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. <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">I'm using the default packages shipped with ubuntu 12.04 and have installed everything in a virtual machine.<span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">Regards,<span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "> <span lang="EN-GB"><o:p></o:p></span></div></div><div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; ">Leander<span lang="EN-GB"><o:p></o:p></span></div></div></div></div></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><br>______________________________________________________________________<br>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<span lang="EN-GB"><o:p></o:p></span></div></div></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span lang="EN-GB"> <o:p></o:p></span></div></div></div></div></div></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><o:p> </o:p></div></div></div><br clear="both">______________________________________________________________________<br>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<br>_______________________________________________<br>Mailing list:<span class="Apple-converted-space"> </span><a href="https://launchpad.net/~openstack" style="color: blue; text-decoration: underline; ">https://launchpad.net/~openstack</a><br>Post to :<span class="Apple-converted-space"> </span><a href="mailto:openstack@lists.launchpad.net" style="color: blue; text-decoration: underline; ">openstack@lists.launchpad.net</a><br>Unsubscribe :<span class="Apple-converted-space"> </span><a href="https://launchpad.net/~openstack" style="color: blue; text-decoration: underline; ">https://launchpad.net/~openstack</a><br>More help :<span class="Apple-converted-space"> </span><a href="https://help.launchpad.net/ListHelp" style="color: blue; text-decoration: underline; ">https://help.launchpad.net/ListHelp</a><br></div></span></blockquote></div><br></div></body></html>