Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

Unable to ping launched Instance

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


salmanmk at live

Apr 14, 2012, 7:42 PM

Post #1 of 12 (187 views)
Permalink
Unable to ping launched Instance

Hi Guys,

I have launched an instance using dashboard. The 'intances and volume' tab shows that the instance is in active status and power state = running ( IP address = 10.0.0.3).
But when I click on the instance name and go to see the logs, there are no logs (nothing in 'view full log' as well) and the Instance's VNC console shows:

"This kernel requires x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU"

I have had the same problem and the proposed solution that I found was to enable virtualization in BIOS. But I am running the devstack on a VirtualBox VM and thus can not enable that in BIOS. Since stack.sh is supposed to run on VMs, can someone propose a solution ?

Thanks in advance,
Salman


marton.kiss at gmail

Apr 14, 2012, 8:35 PM

Post #2 of 12 (188 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

Hi,

Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
the following nova config option:
--libvirt_type=qemu

Regards,
Márton Kiss, CTO
Xemeti

2012/4/15 Salman Malik <salmanmk [at] live>:
> Hi Guys,
>
> I have launched an instance using dashboard. The 'intances and volume' tab
> shows that the instance is in active status and power state = running ( IP
> address = 10.0.0.3).
> But when I click on the instance name and go to see the logs, there are no
> logs (nothing in 'view full log' as well) and the Instance's VNC console
> shows:
>
> "This kernel requires x86-64 CPU, but only detected an i686 CPU. Unable to
> boot - please use a kernel appropriate for your CPU"
>
> I have had the same problem and the proposed solution that I found was to
> enable virtualization in BIOS. But I am running the devstack on a VirtualBox
> VM and thus can not enable that in BIOS. Since stack.sh is supposed to run
> on VMs, can someone propose a solution ?
>
> Thanks in advance,
> Salman
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack [at] lists
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


salmanmk at live

Apr 14, 2012, 8:52 PM

Post #3 of 12 (187 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

Thanks Marton for the advice. I actually already had the libvirt_type=qemu, and since I did not have '--' before any of the lines in nova conf, I added that before the libvirt_type line. Then, I rebooted the VM and started rejoin-stack.sh to start the services again. But now when I launch an instance I get status: Error , Task: Spawning and Power State: no State.

Any other thoughts as to what might be wrong ?
(The log for the instance says : "Unable to get log for instance "90bf00e8-6ece-4978-aa16-1b68f34bf44e"." Possibly because machine never went up ?)

Thanks,
Salman




> Date: Sun, 15 Apr 2012 05:35:14 +0200
> Subject: Re: [Openstack] Unable to ping launched Instance
> From: marton.kiss [at] gmail
> To: salmanmk [at] live
> CC: openstack [at] lists
>
> Hi,
>
> Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
> the following nova config option:
> --libvirt_type=qemu
>
> Regards,
> Márton Kiss, CTO
> Xemeti
>
> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > Hi Guys,
> >
> > I have launched an instance using dashboard. The 'intances and volume' tab
> > shows that the instance is in active status and power state = running ( IP
> > address = 10.0.0.3).
> > But when I click on the instance name and go to see the logs, there are no
> > logs (nothing in 'view full log' as well) and the Instance's VNC console
> > shows:
> >
> > "This kernel requires x86-64 CPU, but only detected an i686 CPU. Unable to
> > boot - please use a kernel appropriate for your CPU"
> >
> > I have had the same problem and the proposed solution that I found was to
> > enable virtualization in BIOS. But I am running the devstack on a VirtualBox
> > VM and thus can not enable that in BIOS. Since stack.sh is supposed to run
> > on VMs, can someone propose a solution ?
> >
> > Thanks in advance,
> > Salman
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack [at] lists
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
> >


marton.kiss at gmail

Apr 14, 2012, 10:00 PM

Post #4 of 12 (187 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

Hi,

It's a tricky issue. I bet you have a different libvirt_type setting
in your nova.conf and separate nova-compute.conf. I experienced the
same, and spent 2 days to tracking what could be wrong with libvirt
that starting instances randomly going into no state.

Regards,
Márton Kiss, CTO
Xemeti

2012/4/15 Salman Malik <salmanmk [at] live>:
> Thanks Marton for the advice. I actually already had the libvirt_type=qemu,
> and since I did not have '--' before any of the lines in nova conf, I added
> that before the libvirt_type line. Then, I rebooted the VM and started
> rejoin-stack.sh to start the services again. But now when I launch an
> instance I get status: Error , Task: Spawning and Power State: no State.
>
> Any other thoughts as to what might be wrong ?
> (The log for the instance says : "Unable to get log for instance
> "90bf00e8-6ece-4978-aa16-1b68f34bf44e"."   Possibly because machine never
> went up ?)
>
> Thanks,
> Salman
>
>
>
>
>> Date: Sun, 15 Apr 2012 05:35:14 +0200
>> Subject: Re: [Openstack] Unable to ping launched Instance
>> From: marton.kiss [at] gmail
>> To: salmanmk [at] live
>> CC: openstack [at] lists
>
>>
>> Hi,
>>
>> Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
>> the following nova config option:
>> --libvirt_type=qemu
>>
>> Regards,
>> Márton Kiss, CTO
>> Xemeti
>>
>> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> > Hi Guys,
>> >
>> > I have launched an instance using dashboard. The 'intances and volume'
>> > tab
>> > shows that the instance is in active status and power state = running (
>> > IP
>> > address = 10.0.0.3).
>> > But when I click on the instance name and go to see the logs, there are
>> > no
>> > logs (nothing in 'view full log' as well) and the Instance's VNC console
>> > shows:
>> >
>> > "This kernel requires x86-64 CPU, but only detected an i686 CPU. Unable
>> > to
>> > boot - please use a kernel appropriate for your CPU"
>> >
>> > I have had the same problem and the proposed solution that I found was
>> > to
>> > enable virtualization in BIOS. But I am running the devstack on a
>> > VirtualBox
>> > VM and thus can not enable that in BIOS. Since stack.sh is supposed to
>> > run
>> > on VMs, can someone propose a solution ?
>> >
>> > Thanks in advance,
>> > Salman
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~openstack
>> > Post to     : openstack [at] lists
>> > Unsubscribe : https://launchpad.net/~openstack
>> > More help   : https://help.launchpad.net/ListHelp
>> >

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


salmanmk at live

Apr 14, 2012, 10:08 PM

Post #5 of 12 (187 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

I haven't edited nova-compute.conf. Can you please tell me where to look for it ?

Thanks,
Salman

> Date: Sun, 15 Apr 2012 07:00:12 +0200
> Subject: Re: [Openstack] Unable to ping launched Instance
> From: marton.kiss [at] gmail
> To: salmanmk [at] live
> CC: openstack [at] lists
>
> Hi,
>
> It's a tricky issue. I bet you have a different libvirt_type setting
> in your nova.conf and separate nova-compute.conf. I experienced the
> same, and spent 2 days to tracking what could be wrong with libvirt
> that starting instances randomly going into no state.
>
> Regards,
> Márton Kiss, CTO
> Xemeti
>
> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > Thanks Marton for the advice. I actually already had the libvirt_type=qemu,
> > and since I did not have '--' before any of the lines in nova conf, I added
> > that before the libvirt_type line. Then, I rebooted the VM and started
> > rejoin-stack.sh to start the services again. But now when I launch an
> > instance I get status: Error , Task: Spawning and Power State: no State.
> >
> > Any other thoughts as to what might be wrong ?
> > (The log for the instance says : "Unable to get log for instance
> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"." Possibly because machine never
> > went up ?)
> >
> > Thanks,
> > Salman
> >
> >
> >
> >
> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> From: marton.kiss [at] gmail
> >> To: salmanmk [at] live
> >> CC: openstack [at] lists
> >
> >>
> >> Hi,
> >>
> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
> >> the following nova config option:
> >> --libvirt_type=qemu
> >>
> >> Regards,
> >> Márton Kiss, CTO
> >> Xemeti
> >>
> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> > Hi Guys,
> >> >
> >> > I have launched an instance using dashboard. The 'intances and volume'
> >> > tab
> >> > shows that the instance is in active status and power state = running (
> >> > IP
> >> > address = 10.0.0.3).
> >> > But when I click on the instance name and go to see the logs, there are
> >> > no
> >> > logs (nothing in 'view full log' as well) and the Instance's VNC console
> >> > shows:
> >> >
> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU. Unable
> >> > to
> >> > boot - please use a kernel appropriate for your CPU"
> >> >
> >> > I have had the same problem and the proposed solution that I found was
> >> > to
> >> > enable virtualization in BIOS. But I am running the devstack on a
> >> > VirtualBox
> >> > VM and thus can not enable that in BIOS. Since stack.sh is supposed to
> >> > run
> >> > on VMs, can someone propose a solution ?
> >> >
> >> > Thanks in advance,
> >> > Salman
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~openstack
> >> > Post to : openstack [at] lists
> >> > Unsubscribe : https://launchpad.net/~openstack
> >> > More help : https://help.launchpad.net/ListHelp
> >> >


marton.kiss at gmail

Apr 14, 2012, 10:12 PM

Post #6 of 12 (188 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

Are you using devstack or a package based deployment?

M.

2012/4/15 Salman Malik <salmanmk [at] live>:
> I haven't edited nova-compute.conf. Can you please tell me where to look for
> it ?
>
> Thanks,
> Salman
>
>> Date: Sun, 15 Apr 2012 07:00:12 +0200
>
>> Subject: Re: [Openstack] Unable to ping launched Instance
>> From: marton.kiss [at] gmail
>> To: salmanmk [at] live
>> CC: openstack [at] lists
>>
>> Hi,
>>
>> It's a tricky issue. I bet you have a different libvirt_type setting
>> in your nova.conf and separate nova-compute.conf. I experienced the
>> same, and spent 2 days to tracking what could be wrong with libvirt
>> that starting instances randomly going into no state.
>>
>> Regards,
>> Márton Kiss, CTO
>> Xemeti
>>
>> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> > Thanks Marton for the advice. I actually already had the
>> > libvirt_type=qemu,
>> > and since I did not have '--' before any of the lines in nova conf, I
>> > added
>> > that before the libvirt_type line. Then, I rebooted the VM and started
>> > rejoin-stack.sh to start the services again. But now when I launch an
>> > instance I get status: Error , Task: Spawning and Power State: no State.
>> >
>> > Any other thoughts as to what might be wrong ?
>> > (The log for the instance says : "Unable to get log for instance
>> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"."   Possibly because machine
>> > never
>> > went up ?)
>> >
>> > Thanks,
>> > Salman
>> >
>> >
>> >
>> >
>> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
>> >> Subject: Re: [Openstack] Unable to ping launched Instance
>> >> From: marton.kiss [at] gmail
>> >> To: salmanmk [at] live
>> >> CC: openstack [at] lists
>> >
>> >>
>> >> Hi,
>> >>
>> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
>> >> the following nova config option:
>> >> --libvirt_type=qemu
>> >>
>> >> Regards,
>> >> Márton Kiss, CTO
>> >> Xemeti
>> >>
>> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> >> > Hi Guys,
>> >> >
>> >> > I have launched an instance using dashboard. The 'intances and
>> >> > volume'
>> >> > tab
>> >> > shows that the instance is in active status and power state = running
>> >> > (
>> >> > IP
>> >> > address = 10.0.0.3).
>> >> > But when I click on the instance name and go to see the logs, there
>> >> > are
>> >> > no
>> >> > logs (nothing in 'view full log' as well) and the Instance's VNC
>> >> > console
>> >> > shows:
>> >> >
>> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU.
>> >> > Unable
>> >> > to
>> >> > boot - please use a kernel appropriate for your CPU"
>> >> >
>> >> > I have had the same problem and the proposed solution that I found
>> >> > was
>> >> > to
>> >> > enable virtualization in BIOS. But I am running the devstack on a
>> >> > VirtualBox
>> >> > VM and thus can not enable that in BIOS. Since stack.sh is supposed
>> >> > to
>> >> > run
>> >> > on VMs, can someone propose a solution ?
>> >> >
>> >> > Thanks in advance,
>> >> > Salman
>> >> >
>> >> > _______________________________________________
>> >> > Mailing list: https://launchpad.net/~openstack
>> >> > Post to     : openstack [at] lists
>> >> > Unsubscribe : https://launchpad.net/~openstack
>> >> > More help   : https://help.launchpad.net/ListHelp
>> >> >

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


salmanmk at live

Apr 14, 2012, 10:18 PM

Post #7 of 12 (196 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

I am using devstak's stack.sh script.

Salman

> Date: Sun, 15 Apr 2012 07:12:42 +0200
> Subject: Re: [Openstack] Unable to ping launched Instance
> From: marton.kiss [at] gmail
> To: salmanmk [at] live
> CC: openstack [at] lists
>
> Are you using devstack or a package based deployment?
>
> M.
>
> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > I haven't edited nova-compute.conf. Can you please tell me where to look for
> > it ?
> >
> > Thanks,
> > Salman
> >
> >> Date: Sun, 15 Apr 2012 07:00:12 +0200
> >
> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> From: marton.kiss [at] gmail
> >> To: salmanmk [at] live
> >> CC: openstack [at] lists
> >>
> >> Hi,
> >>
> >> It's a tricky issue. I bet you have a different libvirt_type setting
> >> in your nova.conf and separate nova-compute.conf. I experienced the
> >> same, and spent 2 days to tracking what could be wrong with libvirt
> >> that starting instances randomly going into no state.
> >>
> >> Regards,
> >> Márton Kiss, CTO
> >> Xemeti
> >>
> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> > Thanks Marton for the advice. I actually already had the
> >> > libvirt_type=qemu,
> >> > and since I did not have '--' before any of the lines in nova conf, I
> >> > added
> >> > that before the libvirt_type line. Then, I rebooted the VM and started
> >> > rejoin-stack.sh to start the services again. But now when I launch an
> >> > instance I get status: Error , Task: Spawning and Power State: no State.
> >> >
> >> > Any other thoughts as to what might be wrong ?
> >> > (The log for the instance says : "Unable to get log for instance
> >> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"." Possibly because machine
> >> > never
> >> > went up ?)
> >> >
> >> > Thanks,
> >> > Salman
> >> >
> >> >
> >> >
> >> >
> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> >> From: marton.kiss [at] gmail
> >> >> To: salmanmk [at] live
> >> >> CC: openstack [at] lists
> >> >
> >> >>
> >> >> Hi,
> >> >>
> >> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm, Change
> >> >> the following nova config option:
> >> >> --libvirt_type=qemu
> >> >>
> >> >> Regards,
> >> >> Márton Kiss, CTO
> >> >> Xemeti
> >> >>
> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> >> > Hi Guys,
> >> >> >
> >> >> > I have launched an instance using dashboard. The 'intances and
> >> >> > volume'
> >> >> > tab
> >> >> > shows that the instance is in active status and power state = running
> >> >> > (
> >> >> > IP
> >> >> > address = 10.0.0.3).
> >> >> > But when I click on the instance name and go to see the logs, there
> >> >> > are
> >> >> > no
> >> >> > logs (nothing in 'view full log' as well) and the Instance's VNC
> >> >> > console
> >> >> > shows:
> >> >> >
> >> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU.
> >> >> > Unable
> >> >> > to
> >> >> > boot - please use a kernel appropriate for your CPU"
> >> >> >
> >> >> > I have had the same problem and the proposed solution that I found
> >> >> > was
> >> >> > to
> >> >> > enable virtualization in BIOS. But I am running the devstack on a
> >> >> > VirtualBox
> >> >> > VM and thus can not enable that in BIOS. Since stack.sh is supposed
> >> >> > to
> >> >> > run
> >> >> > on VMs, can someone propose a solution ?
> >> >> >
> >> >> > Thanks in advance,
> >> >> > Salman
> >> >> >
> >> >> > _______________________________________________
> >> >> > Mailing list: https://launchpad.net/~openstack
> >> >> > Post to : openstack [at] lists
> >> >> > Unsubscribe : https://launchpad.net/~openstack
> >> >> > More help : https://help.launchpad.net/ListHelp
> >> >> >


marton.kiss at gmail

Apr 14, 2012, 10:27 PM

Post #8 of 12 (190 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

In that case, check the libvirt type value
/opt/stack/etc/nova/nova.conf, and check the value inside the log file
of nova-compute after starting.

M.

2012/4/15 Salman Malik <salmanmk [at] live>:
> I am using devstak's stack.sh script.
>
> Salman
>
>> Date: Sun, 15 Apr 2012 07:12:42 +0200
>
>> Subject: Re: [Openstack] Unable to ping launched Instance
>> From: marton.kiss [at] gmail
>> To: salmanmk [at] live
>> CC: openstack [at] lists
>>
>> Are you using devstack or a package based deployment?
>>
>> M.
>>
>> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> > I haven't edited nova-compute.conf. Can you please tell me where to look
>> > for
>> > it ?
>> >
>> > Thanks,
>> > Salman
>> >
>> >> Date: Sun, 15 Apr 2012 07:00:12 +0200
>> >
>> >> Subject: Re: [Openstack] Unable to ping launched Instance
>> >> From: marton.kiss [at] gmail
>> >> To: salmanmk [at] live
>> >> CC: openstack [at] lists
>> >>
>> >> Hi,
>> >>
>> >> It's a tricky issue. I bet you have a different libvirt_type setting
>> >> in your nova.conf and separate nova-compute.conf. I experienced the
>> >> same, and spent 2 days to tracking what could be wrong with libvirt
>> >> that starting instances randomly going into no state.
>> >>
>> >> Regards,
>> >> Márton Kiss, CTO
>> >> Xemeti
>> >>
>> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> >> > Thanks Marton for the advice. I actually already had the
>> >> > libvirt_type=qemu,
>> >> > and since I did not have '--' before any of the lines in nova conf, I
>> >> > added
>> >> > that before the libvirt_type line. Then, I rebooted the VM and
>> >> > started
>> >> > rejoin-stack.sh to start the services again. But now when I launch an
>> >> > instance I get status: Error , Task: Spawning and Power State: no
>> >> > State.
>> >> >
>> >> > Any other thoughts as to what might be wrong ?
>> >> > (The log for the instance says : "Unable to get log for instance
>> >> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"."   Possibly because machine
>> >> > never
>> >> > went up ?)
>> >> >
>> >> > Thanks,
>> >> > Salman
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
>> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
>> >> >> From: marton.kiss [at] gmail
>> >> >> To: salmanmk [at] live
>> >> >> CC: openstack [at] lists
>> >> >
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm,
>> >> >> Change
>> >> >> the following nova config option:
>> >> >> --libvirt_type=qemu
>> >> >>
>> >> >> Regards,
>> >> >> Márton Kiss, CTO
>> >> >> Xemeti
>> >> >>
>> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
>> >> >> > Hi Guys,
>> >> >> >
>> >> >> > I have launched an instance using dashboard. The 'intances and
>> >> >> > volume'
>> >> >> > tab
>> >> >> > shows that the instance is in active status and power state =
>> >> >> > running
>> >> >> > (
>> >> >> > IP
>> >> >> > address = 10.0.0.3).
>> >> >> > But when I click on the instance name and go to see the logs,
>> >> >> > there
>> >> >> > are
>> >> >> > no
>> >> >> > logs (nothing in 'view full log' as well) and the Instance's VNC
>> >> >> > console
>> >> >> > shows:
>> >> >> >
>> >> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU.
>> >> >> > Unable
>> >> >> > to
>> >> >> > boot - please use a kernel appropriate for your CPU"
>> >> >> >
>> >> >> > I have had the same problem and the proposed solution that I found
>> >> >> > was
>> >> >> > to
>> >> >> > enable virtualization in BIOS. But I am running the devstack on a
>> >> >> > VirtualBox
>> >> >> > VM and thus can not enable that in BIOS. Since stack.sh is
>> >> >> > supposed
>> >> >> > to
>> >> >> > run
>> >> >> > on VMs, can someone propose a solution ?
>> >> >> >
>> >> >> > Thanks in advance,
>> >> >> > Salman
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Mailing list: https://launchpad.net/~openstack
>> >> >> > Post to     : openstack [at] lists
>> >> >> > Unsubscribe : https://launchpad.net/~openstack
>> >> >> > More help   : https://help.launchpad.net/ListHelp
>> >> >> >

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


salmanmk at live

Apr 14, 2012, 11:06 PM

Post #9 of 12 (193 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

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 :

"2012-04-15 00:55:07 DEBUG nova.service [-] libvirt_type : qemu from (pid=2752) wait /opt/stack/nova/nova/service.py:442"

Any other suggestions will be much appreciated. I need to get this thing up.

Thanks,
Salman

> Date: Sun, 15 Apr 2012 07:27:43 +0200
> Subject: Re: [Openstack] Unable to ping launched Instance
> From: marton.kiss [at] gmail
> To: salmanmk [at] live
> CC: openstack [at] lists
>
> In that case, check the libvirt type value
> /opt/stack/etc/nova/nova.conf, and check the value inside the log file
> of nova-compute after starting.
>
> M.
>
> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > I am using devstak's stack.sh script.
> >
> > Salman
> >
> >> Date: Sun, 15 Apr 2012 07:12:42 +0200
> >
> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> From: marton.kiss [at] gmail
> >> To: salmanmk [at] live
> >> CC: openstack [at] lists
> >>
> >> Are you using devstack or a package based deployment?
> >>
> >> M.
> >>
> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> > I haven't edited nova-compute.conf. Can you please tell me where to look
> >> > for
> >> > it ?
> >> >
> >> > Thanks,
> >> > Salman
> >> >
> >> >> Date: Sun, 15 Apr 2012 07:00:12 +0200
> >> >
> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> >> From: marton.kiss [at] gmail
> >> >> To: salmanmk [at] live
> >> >> CC: openstack [at] lists
> >> >>
> >> >> Hi,
> >> >>
> >> >> It's a tricky issue. I bet you have a different libvirt_type setting
> >> >> in your nova.conf and separate nova-compute.conf. I experienced the
> >> >> same, and spent 2 days to tracking what could be wrong with libvirt
> >> >> that starting instances randomly going into no state.
> >> >>
> >> >> Regards,
> >> >> Márton Kiss, CTO
> >> >> Xemeti
> >> >>
> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> >> > Thanks Marton for the advice. I actually already had the
> >> >> > libvirt_type=qemu,
> >> >> > and since I did not have '--' before any of the lines in nova conf, I
> >> >> > added
> >> >> > that before the libvirt_type line. Then, I rebooted the VM and
> >> >> > started
> >> >> > rejoin-stack.sh to start the services again. But now when I launch an
> >> >> > instance I get status: Error , Task: Spawning and Power State: no
> >> >> > State.
> >> >> >
> >> >> > Any other thoughts as to what might be wrong ?
> >> >> > (The log for the instance says : "Unable to get log for instance
> >> >> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"." Possibly because machine
> >> >> > never
> >> >> > went up ?)
> >> >> >
> >> >> > Thanks,
> >> >> > Salman
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
> >> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> >> >> From: marton.kiss [at] gmail
> >> >> >> To: salmanmk [at] live
> >> >> >> CC: openstack [at] lists
> >> >> >
> >> >> >>
> >> >> >> Hi,
> >> >> >>
> >> >> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm,
> >> >> >> Change
> >> >> >> the following nova config option:
> >> >> >> --libvirt_type=qemu
> >> >> >>
> >> >> >> Regards,
> >> >> >> Márton Kiss, CTO
> >> >> >> Xemeti
> >> >> >>
> >> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> >> >> >> > Hi Guys,
> >> >> >> >
> >> >> >> > I have launched an instance using dashboard. The 'intances and
> >> >> >> > volume'
> >> >> >> > tab
> >> >> >> > shows that the instance is in active status and power state =
> >> >> >> > running
> >> >> >> > (
> >> >> >> > IP
> >> >> >> > address = 10.0.0.3).
> >> >> >> > But when I click on the instance name and go to see the logs,
> >> >> >> > there
> >> >> >> > are
> >> >> >> > no
> >> >> >> > logs (nothing in 'view full log' as well) and the Instance's VNC
> >> >> >> > console
> >> >> >> > shows:
> >> >> >> >
> >> >> >> > "This kernel requires x86-64 CPU, but only detected an i686 CPU.
> >> >> >> > Unable
> >> >> >> > to
> >> >> >> > boot - please use a kernel appropriate for your CPU"
> >> >> >> >
> >> >> >> > I have had the same problem and the proposed solution that I found
> >> >> >> > was
> >> >> >> > to
> >> >> >> > enable virtualization in BIOS. But I am running the devstack on a
> >> >> >> > VirtualBox
> >> >> >> > VM and thus can not enable that in BIOS. Since stack.sh is
> >> >> >> > supposed
> >> >> >> > to
> >> >> >> > run
> >> >> >> > on VMs, can someone propose a solution ?
> >> >> >> >
> >> >> >> > Thanks in advance,
> >> >> >> > Salman
> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > Mailing list: https://launchpad.net/~openstack
> >> >> >> > Post to : openstack [at] lists
> >> >> >> > Unsubscribe : https://launchpad.net/~openstack
> >> >> >> > More help : https://help.launchpad.net/ListHelp
> >> >> >> >


mihgen at gmail

Apr 15, 2012, 1:13 AM

Post #10 of 12 (188 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

Hi,
you presumably running i686 VirtualBox VM for the OpenStack,
but the cirros instance in devstack requires x86_64 machine.
qemu emulates i686 if host is i686.

Try to recreate base OS in VirtualBox in a 64bit mode.
If you name your machine like 'Linux_11.10_64bit', VirtualBox will
automatically
configure x86_64 CPU emulation.

Regards,

On Sat, Apr 14, 2012 at 11:06 PM, Salman Malik <salmanmk [at] live> wrote:

> 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 :
>
> "2012-04-15 00:55:07 DEBUG nova.service [-] libvirt_type : qemu from
> (pid=2752) wait /opt/stack/nova/nova/service.py:442"
>
> Any other suggestions will be much appreciated. I need to get this thing
> up.
>
> Thanks,
> Salman
>
> > Date: Sun, 15 Apr 2012 07:27:43 +0200
>
> > Subject: Re: [Openstack] Unable to ping launched Instance
> > From: marton.kiss [at] gmail
> > To: salmanmk [at] live
> > CC: openstack [at] lists
> >
> > In that case, check the libvirt type value
> > /opt/stack/etc/nova/nova.conf, and check the value inside the log file
> > of nova-compute after starting.
> >
> > M.
> >
> > 2012/4/15 Salman Malik <salmanmk [at] live>:
> > > I am using devstak's stack.sh script.
> > >
> > > Salman
> > >
> > >> Date: Sun, 15 Apr 2012 07:12:42 +0200
> > >
> > >> Subject: Re: [Openstack] Unable to ping launched Instance
> > >> From: marton.kiss [at] gmail
> > >> To: salmanmk [at] live
> > >> CC: openstack [at] lists
> > >>
> > >> Are you using devstack or a package based deployment?
> > >>
> > >> M.
> > >>
> > >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > >> > I haven't edited nova-compute.conf. Can you please tell me where to
> look
> > >> > for
> > >> > it ?
> > >> >
> > >> > Thanks,
> > >> > Salman
> > >> >
> > >> >> Date: Sun, 15 Apr 2012 07:00:12 +0200
> > >> >
> > >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> > >> >> From: marton.kiss [at] gmail
> > >> >> To: salmanmk [at] live
> > >> >> CC: openstack [at] lists
> > >> >>
> > >> >> Hi,
> > >> >>
> > >> >> It's a tricky issue. I bet you have a different libvirt_type
> setting
> > >> >> in your nova.conf and separate nova-compute.conf. I experienced the
> > >> >> same, and spent 2 days to tracking what could be wrong with libvirt
> > >> >> that starting instances randomly going into no state.
> > >> >>
> > >> >> Regards,
> > >> >> Márton Kiss, CTO
> > >> >> Xemeti
> > >> >>
> > >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > >> >> > Thanks Marton for the advice. I actually already had the
> > >> >> > libvirt_type=qemu,
> > >> >> > and since I did not have '--' before any of the lines in nova
> conf, I
> > >> >> > added
> > >> >> > that before the libvirt_type line. Then, I rebooted the VM and
> > >> >> > started
> > >> >> > rejoin-stack.sh to start the services again. But now when I
> launch an
> > >> >> > instance I get status: Error , Task: Spawning and Power State: no
> > >> >> > State.
> > >> >> >
> > >> >> > Any other thoughts as to what might be wrong ?
> > >> >> > (The log for the instance says : "Unable to get log for instance
> > >> >> > "90bf00e8-6ece-4978-aa16-1b68f34bf44e"." Possibly because
> machine
> > >> >> > never
> > >> >> > went up ?)
> > >> >> >
> > >> >> > Thanks,
> > >> >> > Salman
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
> > >> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> > >> >> >> From: marton.kiss [at] gmail
> > >> >> >> To: salmanmk [at] live
> > >> >> >> CC: openstack [at] lists
> > >> >> >
> > >> >> >>
> > >> >> >> Hi,
> > >> >> >>
> > >> >> >> Try qemu instead of kvm, and it'll work inside a virtualbox vm,
> > >> >> >> Change
> > >> >> >> the following nova config option:
> > >> >> >> --libvirt_type=qemu
> > >> >> >>
> > >> >> >> Regards,
> > >> >> >> Márton Kiss, CTO
> > >> >> >> Xemeti
> > >> >> >>
> > >> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:
> > >> >> >> > Hi Guys,
> > >> >> >> >
> > >> >> >> > I have launched an instance using dashboard. The 'intances and
> > >> >> >> > volume'
> > >> >> >> > tab
> > >> >> >> > shows that the instance is in active status and power state =
> > >> >> >> > running
> > >> >> >> > (
> > >> >> >> > IP
> > >> >> >> > address = 10.0.0.3).
> > >> >> >> > But when I click on the instance name and go to see the logs,
> > >> >> >> > there
> > >> >> >> > are
> > >> >> >> > no
> > >> >> >> > logs (nothing in 'view full log' as well) and the Instance's
> VNC
> > >> >> >> > console
> > >> >> >> > shows:
> > >> >> >> >
> > >> >> >> > "This kernel requires x86-64 CPU, but only detected an i686
> CPU.
> > >> >> >> > Unable
> > >> >> >> > to
> > >> >> >> > boot - please use a kernel appropriate for your CPU"
> > >> >> >> >
> > >> >> >> > I have had the same problem and the proposed solution that I
> found
> > >> >> >> > was
> > >> >> >> > to
> > >> >> >> > enable virtualization in BIOS. But I am running the devstack
> on a
> > >> >> >> > VirtualBox
> > >> >> >> > VM and thus can not enable that in BIOS. Since stack.sh is
> > >> >> >> > supposed
> > >> >> >> > to
> > >> >> >> > run
> > >> >> >> > on VMs, can someone propose a solution ?
> > >> >> >> >
> > >> >> >> > Thanks in advance,
> > >> >> >> > Salman
> > >> >> >> >
> > >> >> >> > _______________________________________________
> > >> >> >> > Mailing list: https://launchpad.net/~openstack
> > >> >> >> > Post to : openstack [at] lists
> > >> >> >> > Unsubscribe : https://launchpad.net/~openstack
> > >> >> >> > More help : https://help.launchpad.net/ListHelp
> > >> >> >> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack [at] lists
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>


--
Mike Scherbakov


salmanmk at live

Apr 15, 2012, 8:19 AM

Post #11 of 12 (190 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

For some reason, all this time I had been thinking that I have been running 64 bit Ubuntu.
But yes, you pointed out the exact problem.
Thanks a lot !

Salman

From: mihgen [at] gmail
Date: Sun, 15 Apr 2012 01:13:08 -0700
Subject: Re: [Openstack] Unable to ping launched Instance
To: salmanmk [at] live
CC: marton.kiss [at] gmail; openstack [at] lists

Hi,you presumably running i686 VirtualBox VM for the OpenStack,but the cirros instance in devstack requires x86_64 machine.qemu emulates i686 if host is i686.
Try to recreate base OS in VirtualBox in a 64bit mode.

If you name your machine like 'Linux_11.10_64bit', VirtualBox will automaticallyconfigure x86_64 CPU emulation.
Regards,

On Sat, Apr 14, 2012 at 11:06 PM, Salman Malik <salmanmk [at] live> wrote:






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 :



"2012-04-15 00:55:07 DEBUG nova.service [-] libvirt_type : qemu from (pid=2752) wait /opt/stack/nova/nova/service.py:442"

Any other suggestions will be much appreciated. I need to get this thing up.



Thanks,
Salman

> Date: Sun, 15 Apr 2012 07:27:43 +0200
> Subject: Re: [Openstack] Unable to ping launched Instance
> From: marton.kiss [at] gmail


> To: salmanmk [at] live
> CC: openstack [at] lists
>
> In that case, check the libvirt type value


> /opt/stack/etc/nova/nova.conf, and check the value inside the log file
> of nova-compute after starting.
>
> M.
>
> 2012/4/15 Salman Malik <salmanmk [at] live>:


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


> >> From: marton.kiss [at] gmail
> >> To: salmanmk [at] live
> >> CC: openstack [at] lists


> >>
> >> Are you using devstack or a package based deployment?
> >>
> >> M.
> >>
> >> 2012/4/15 Salman Malik <salmanmk [at] live>:


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


> >> >
> >> >> Date: Sun, 15 Apr 2012 07:00:12 +0200
> >> >
> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> >> From: marton.kiss [at] gmail


> >> >> To: salmanmk [at] live
> >> >> CC: openstack [at] lists


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


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


> >> >> Márton Kiss, CTO
> >> >> Xemeti
> >> >>
> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:


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


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


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


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


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


> >> >> >
> >> >> >> Date: Sun, 15 Apr 2012 05:35:14 +0200
> >> >> >> Subject: Re: [Openstack] Unable to ping launched Instance
> >> >> >> From: marton.kiss [at] gmail


> >> >> >> To: salmanmk [at] live
> >> >> >> CC: openstack [at] lists


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


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


> >> >> >> Márton Kiss, CTO
> >> >> >> Xemeti
> >> >> >>
> >> >> >> 2012/4/15 Salman Malik <salmanmk [at] live>:


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


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


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


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


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


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


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


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


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


> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > Mailing list: https://launchpad.net/~openstack


> >> >> >> > Post to : openstack [at] lists
> >> >> >> > Unsubscribe : https://launchpad.net/~openstack


> >> >> >> > More help : https://help.launchpad.net/ListHelp
> >> >> >> >




_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to : openstack [at] lists

Unsubscribe : https://launchpad.net/~openstack

More help : https://help.launchpad.net/ListHelp




--
Mike Scherbakov


vishvananda at gmail

Apr 15, 2012, 10:20 AM

Post #12 of 12 (188 views)
Permalink
Re: Unable to ping launched Instance [In reply to]

On Apr 14, 2012, at 10:27 PM, Marton Kiss wrote:

> In that case, check the libvirt type value
> /opt/stack/etc/nova/nova.conf, and check the value inside the log file
> of nova-compute after starting.
>
> M.

Devstack puts conf files in /etc/nova/nova.conf now, just like most packages.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.