<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
For some reason, all this time I had been thinking that I have been running 64 bit Ubuntu.<br>But yes, you pointed out the exact problem. <br>Thanks a lot !<br><br>Salman<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: mihgen@gmail.com<br>Date: Sun, 15 Apr 2012 01:13:08 -0700<br>Subject: Re: [Openstack] Unable to ping launched Instance<br>To: salmanmk@live.com<br>CC: marton.kiss@gmail.com; openstack@lists.launchpad.net<br><br>Hi,<div>you presumably running i686 VirtualBox VM for the OpenStack,</div><div>but the cirros instance in devstack requires x86_64 machine.</div><div>qemu emulates i686 if host is i686.</div><div><br></div><div>Try to recreate base OS in VirtualBox in a 64bit mode.</div>

<div>If you name your machine like 'Linux_11.10_64bit', VirtualBox will automatically</div><div>configure x86_64 CPU emulation.</div><div><br></div><div>Regards,<br><br><div class="ecxgmail_quote">On Sat, Apr 14, 2012 at 11:06 PM, Salman Malik <span dir="ltr"><<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>></span> wrote:<br>

<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
Thanks a lot Marton for your help. But there is no nova.conf file in the directory you mentioned. I have checked the log for nova-compute.log and I believe that the flag is set correctly because I read past the following line in the log :<br>

<br>"2012-04-15 00:55:07 DEBUG nova.service [-] libvirt_type : qemu from (pid=2752) wait /opt/stack/nova/nova/service.py:442"<br><br>Any other suggestions will be much appreciated.  I need to get this thing up.<br>

<br>Thanks,<br>Salman<br><br><div><div></div>> Date: Sun, 15 Apr 2012 07:27:43 +0200<div><div class="h5"><br>> Subject: Re: [Openstack] Unable to ping launched Instance<br>> From: <a href="mailto:marton.kiss@gmail.com">marton.kiss@gmail.com</a><br>

> To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>> CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> <br>> In that case, check the libvirt type value<br>

> /opt/stack/etc/nova/nova.conf, and check the value inside the log file<br>> of nova-compute after starting.<br>> <br>> M.<br>> <br>> 2012/4/15 Salman Malik <<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>>:<br>

> > I am using devstak's stack.sh script.<br>> ><br>> > Salman<br>> ><br>> >> Date: Sun, 15 Apr 2012 07:12:42 +0200<br>> ><br>> >> Subject: Re: [Openstack] Unable to ping launched Instance<br>

> >> From: <a href="mailto:marton.kiss@gmail.com">marton.kiss@gmail.com</a><br>> >> To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>> >> CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>

> >><br>> >> Are you using devstack or a package based deployment?<br>> >><br>> >> M.<br>> >><br>> >> 2012/4/15 Salman Malik <<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>>:<br>

> >> > I haven't edited nova-compute.conf. Can you please tell me where to look<br>> >> > for<br>> >> > it ?<br>> >> ><br>> >> > Thanks,<br>> >> > Salman<br>

> >> ><br>> >> >> Date: Sun, 15 Apr 2012 07:00:12 +0200<br>> >> ><br>> >> >> Subject: Re: [Openstack] Unable to ping launched Instance<br>> >> >> From: <a href="mailto:marton.kiss@gmail.com">marton.kiss@gmail.com</a><br>

> >> >> To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>> >> >> CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>

> >> >><br>> >> >> Hi,<br>> >> >><br>> >> >> It's a tricky issue. I bet you have a different libvirt_type setting<br>> >> >> in your nova.conf and separate nova-compute.conf. I experienced the<br>

> >> >> same, and spent 2 days to tracking what could be wrong with libvirt<br>> >> >> that starting instances randomly going into no state.<br>> >> >><br>> >> >> Regards,<br>

> >> >> Márton Kiss, CTO<br>> >> >> Xemeti<br>> >> >><br>> >> >> 2012/4/15 Salman Malik <<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>>:<br>

> >> >> > Thanks Marton for the advice. I actually already had the<br>> >> >> > libvirt_type=qemu,<br>> >> >> > and since I did not have '--' before any of the lines in nova conf, I<br>

> >> >> > added<br>> >> >> > that before the libvirt_type line. Then, I rebooted the VM and<br>> >> >> > started<br>> >> >> > rejoin-stack.sh to start the services again. But now when I launch an<br>

> >> >> > instance I get status: Error , Task: Spawning and Power State: no<br>> >> >> > State.<br>> >> >> ><br>> >> >> > Any other thoughts as to what might be wrong ?<br>

> >> >> > (The log for the instance says : "Unable to get log for instance<br>> >> >> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"."   Possibly because machine<br>> >> >> > never<br>

> >> >> > went up ?)<br>> >> >> ><br>> >> >> > Thanks,<br>> >> >> > Salman<br>> >> >> ><br>> >> >> ><br>> >> >> ><br>

> >> >> ><br>> >> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200<br>> >> >> >> Subject: Re: [Openstack] Unable to ping launched Instance<br>> >> >> >> From: <a href="mailto:marton.kiss@gmail.com">marton.kiss@gmail.com</a><br>

> >> >> >> To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>> >> >> >> CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>

> >> >> ><br>> >> >> >><br>> >> >> >> Hi,<br>> >> >> >><br>> >> >> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm,<br>

> >> >> >> Change<br>> >> >> >> the following nova config option:<br>> >> >> >> --libvirt_type=qemu<br>> >> >> >><br>> >> >> >> Regards,<br>

> >> >> >> Márton Kiss, CTO<br>> >> >> >> Xemeti<br>> >> >> >><br>> >> >> >> 2012/4/15 Salman Malik <<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>>:<br>

> >> >> >> > Hi Guys,<br>> >> >> >> ><br>> >> >> >> > I have launched an instance using dashboard. The 'intances and<br>> >> >> >> > volume'<br>

> >> >> >> > tab<br>> >> >> >> > shows that the instance is in active status and power state =<br>> >> >> >> > running<br>> >> >> >> > (<br>

> >> >> >> > IP<br>> >> >> >> > address = 10.0.0.3).<br>> >> >> >> > But when I click on the instance name and go to see the logs,<br>> >> >> >> > there<br>

> >> >> >> > are<br>> >> >> >> > no<br>> >> >> >> > logs (nothing in 'view full log' as well) and the Instance's VNC<br>> >> >> >> > console<br>

> >> >> >> > shows:<br>> >> >> >> ><br>> >> >> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU.<br>> >> >> >> > Unable<br>

> >> >> >> > to<br>> >> >> >> > boot - please use a kernel appropriate for your CPU"<br>> >> >> >> ><br>> >> >> >> > I have had the same problem and the proposed solution that I found<br>

> >> >> >> > was<br>> >> >> >> > to<br>> >> >> >> > enable virtualization in BIOS. But I am running the devstack on a<br>> >> >> >> > VirtualBox<br>

> >> >> >> > VM and thus can not enable that in BIOS. Since stack.sh is<br>> >> >> >> > supposed<br>> >> >> >> > to<br>> >> >> >> > run<br>

> >> >> >> > on VMs, can someone propose a solution ?<br>> >> >> >> ><br>> >> >> >> > Thanks in advance,<br>> >> >> >> > Salman<br>

> >> >> >> ><br>> >> >> >> > _______________________________________________<br>> >> >> >> > Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>

> >> >> >> > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> >> >> >> > Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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>> >> >> >> ><br></div></div></div>                                         </div>

</div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mike Scherbakov<br>
</div></div>                                          </div></body>
</html>