On a physical machine it works just fine....weird :/<br><br><div class="gmail_quote">On Wed, May 16, 2012 at 3:41 PM, Razique Mahroua <span dir="ltr"><<a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@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 style="font-family:Lucida Grande;font-size:11pt" bgcolor="#FFFFFF" text="#000000"><div style="font-size:11pt;font-family:Lucida Grande"><span style="font-family:Lucida Grande">mmmm just ceased to work now<br>nova-compute
essex-server1 nova enabled XXX
2012-05-16 14:18:04<br><br>damn :D<br></span><br><blockquote style="border:0px none" type="cite"><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">
<div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part1.09050406.00020903@gmail.com" name="1375619420d71032_compose-unknown-contact.jpg" height="25px" width="25px"></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a href="mailto:leanderbb@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Leander Bessa Beernaert</a></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle">
<font color="#9FA2A5"><span style="padding-left:6px">16 mai 2012 16:26</span></font></div></div></div><div class="im"><div style="color:#888888;margin-left:24px;margin-right:24px">Did not work for me :(<br><br><br>
</div></div><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px"> <div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part2.02070303.02000701@gmail.com" name="1375619420d71032_postbox-contact.jpg" height="25px" width="25px"></div>
<div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a href="mailto:razique.mahroua@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Razique Mahroua</a></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle">
<font color="#9FA2A5"><span style="padding-left:6px">16 mai 2012 16:22</span></font></div></div></div><div><div class="h5"><div style="color:#888888;margin-left:24px;margin-right:24px">
<div style="font-size:11pt;font-family:Lucida Grande"><span style="font-family:Lucida Grande">Just forget to restart nova-compute meanwhile :^)</span><br><br><br></div></div><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px">
<div style="display:table-cell;vertical-align:middle;padding-right:6px"><img src="cid:part2.02070303.02000701@gmail.com" name="1375619420d71032_postbox-contact.jpg" height="25px" width="25px"></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a href="mailto:razique.mahroua@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Razique Mahroua</a></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle">
<font color="#9FA2A5"><span style="padding-left:6px">16 mai 2012 16:21</span></font></div></div></div><div style="color:#888888;margin-left:24px;margin-right:24px">
<div style="font-size:11pt;font-family:Lucida Grande"><span style="font-family:Lucida Grande">ok I resolved the issue<br>libvirt misses one dependency
"avahi-daemon". Here are the steps : <br><br></span><span><div>apt-get install avahi-daemon<br>service messagebus
restart<br>service avahi-daemon start<br>service libvirtd restart<br>service
nova-compute stop<br>nova-manage service disable $server_name
nova-compute<br>nova-manage service enable $server_name nova-compute<br>nova-manage
service list<br><br>Binary Host
Zone Status State Updated_At<br>nova-network
essex-server1 nova enabled :-)
2012-05-16 14:18:17<br>nova-consoleauth essex-server1
nova enabled :-) 2012-05-16 14:18:18<br>nova-scheduler
essex-server1 nova enabled :-)
2012-05-16 14:18:16<br>nova-volume essex-server1
nova enabled :-) 2012-05-16 14:18:12<br>nova-cert
essex-server1 nova enabled
:-) 2012-05-16 14:18:18<br>nova-compute essex-server1
nova enabled :-) 2012-05-16 14:18:04<br>root@essex-server1:~#
nova-manage service enable essex-server1 nova-compute<br></div> </span><br><br><br></div></div><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px"> <div style="display:table-cell;vertical-align:middle;padding-right:6px">
<img src="cid:part2.02070303.02000701@gmail.com" name="1375619420d71032_postbox-contact.jpg" height="25px" width="25px"></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a href="mailto:razique.mahroua@gmail.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Razique Mahroua</a></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle">
<font color="#9FA2A5"><span style="padding-left:6px">16 mai 2012 15:04</span></font></div></div></div><div style="color:#888888;margin-left:24px;margin-right:24px">
<div style="font-size:11pt;font-family:Lucida Grande"><span style="font-family:Lucida Grande">Hi, I've also the same problem actually for a qemu hypervisor.
I'll let you know when I come up with something. There is not any error
into the nova-compute.log<br>Raz<br><br></span><br><br></div></div><div style="margin:30px 25px 10px 25px"><div style="display:table;width:100%;border-top:1px solid #edeef0;padding-top:5px"> <div style="display:table-cell;vertical-align:middle;padding-right:6px">
<img src="cid:part1.09050406.00020903@gmail.com" name="1375619420d71032_compose-unknown-contact.jpg" height="25px" width="25px"></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a href="mailto:philip.day@hp.com" style="color:#737f92!important;padding-right:6px;font-weight:bold;text-decoration:none!important" target="_blank">Day, Phil</a></div> <div style="display:table-cell;white-space:nowrap;vertical-align:middle">
<font color="#9FA2A5"><span style="padding-left:6px">16 mai 2012 13:51</span></font></div></div></div><div style="color:#888888;margin-left:24px;margin-right:24px"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So
the things to check are:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span> </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is
the nova-compute service running ? If not the nova-compute.log should
show why its failing<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>-<span> </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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<u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Phil<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:openstack-bounces+philip.day=hp.com@lists.launchpad.net" target="_blank">openstack-bounces+philip.day=hp.com@lists.launchpad.net</a>
[<a href="mailto:openstack-bounces+philip.day=hp.com@lists.launchpad.net" target="_blank">mailto:openstack-bounces+philip.day=hp.com@lists.launchpad.net</a>] <b>On
Behalf Of </b>Leander Bessa Beernaert<br><b>Sent:</b> 16 May 2012 12:19<br><b>To:</b>
Gurjar, Unmesh<br><b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br><b>Subject:</b>
Re: [Openstack] [Compute] nova-compute does not show up as ":-)" in
nova-manage service list<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p style="margin-bottom:12.0pt" class="MsoNormal">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".<u></u><u></u></p><div><p class="MsoNormal">On
Wed, May 16, 2012 at 12:10 PM, Gurjar, Unmesh <<a href="mailto:Unmesh.Gurjar@nttdata.com" target="_blank">Unmesh.Gurjar@nttdata.com</a>>
wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi Leander,</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">The issue is the Compute is not updating its heartbeat
(services table in the nova database), which is causing this.</span><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">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-US"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Thanks & Regards,</span><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal">
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US">Unmesh Gurjar</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d" lang="EN-US"> | Lead Engineer | Vertex Software Private Ltd. | <b>w.</b>
<a href="tel:%2B91.20.6604.1500%20x%20379" target="_blank">+91.20.6604.1500 x 379</a> | <b>m.</b>
<a href="tel:%2B91.982.324.7631" target="_blank">+91.982.324.7631</a></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"" lang="EN-US"> | <a href="mailto:unmesh.gurjar@nttdata.com" target="_blank">unmesh.gurjar@nttdata.com</a> | <span style="color:#1f497d">Follow us on Twitter@NTTDATAAmericas</span></span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> openstack-bounces+unmesh.gurjar=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a>
[mailto:<a href="mailto:openstack-bounces%2Bunmesh.gurjar" target="_blank">openstack-bounces+unmesh.gurjar</a>=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a>]
<b>On Behalf Of </b>Leander Bessa Beernaert<br><b>Sent:</b> Wednesday,
May 16, 2012 4:30 PM<br><b>To:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br><b>Subject:</b>
[Openstack] [Compute] nova-compute does not show up as ":-)" in
nova-manage service list</span><span lang="EN-US"><u></u><u></u></span></p><div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Hello,<u></u><u></u></span></p>
<div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">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. <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">I'm using the default packages
shipped with ubuntu 12.04 and have installed everything in a virtual
machine.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p></div><div><p class="MsoNormal">
<span lang="EN-US"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Leander<u></u><u></u></span></p></div></div></div></div><p class="MsoNormal"><span lang="EN-US"><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<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div><div>_______________________________________________<br>Mailing
list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to :
<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>More help :
<a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></div></div></div></div></blockquote><br><div class="im"><div>-- <br><span><span style="font-family:Lucida Grande">Nuage & Co - Razique Mahroua <br>
<span style="font-weight:bold"><a href="mailto:razique.mahroua@gmail.com" target="_blank">razique.mahroua@gmail.com</a></span></span><span style="color:rgb(51,153,153)"></span><span style="font-family:monospace"></span></span><br>
<br>
<div><span style="font-family:monospace">
</span><img src="cid:part6.06050907.02050104@gmail.com" name="1375619420d71032_image.jpg" alt=""></div>
<br>
<br>
</div></div></div></div>
</blockquote></div><br>