Mailing List Archive

Creation of a server get stuck at Building state
Hi All,
I have installed openstack queens using packstack on a multimode setup. One controller and two compute nodes.
Openstack hypervisor list shows all 3 compute nodes as up.
I was able to spinup about 5 servers and all of them got hosted on the controller node which is also a compute.
When I try to spin the 6th server it is getting stuck at the build state. Looks like it is not able to use the other two compute nodes.
I have already verified all the cells_v2 settings and they all look ok.
Can one of you please let me know what logs to check to understand what is causing this issue.
None of the Nova logs on the controller has any errors..
Any help to resolve this is greatly appreciated.
Regards,
Ravi..
Re: Creation of a server get stuck at Building state [ In reply to ]
I would recommend grepping for the request ID across all logs if they are
centralized. Additionally if you have not turned on debugging, more than
likely doing so for at least nova-scheduler prior to trying to spin up an
instance again should help. Providing error messages is generally
beneficial as if you are not able to see any there is really no way for
anyone to assist without some additional details so I first suggest you
look a bit more at all your logs and in general your environment and
provide a bit more detail for assistance. Hope this helps.

On Sat, Jun 9, 2018 at 1:52 PM, Ravi.Rao@us.fujitsu.com <
Ravi.Rao@us.fujitsu.com> wrote:

> Hi All,
>
> I have installed openstack queens using packstack on a multimode setup.
> One controller and two compute nodes.
>
> Openstack hypervisor list shows all 3 compute nodes as up.
>
> I was able to spinup about 5 servers and all of them got hosted on the
> controller node which is also a compute.
>
> When I try to spin the 6th server it is getting stuck at the build state.
> Looks like it is not able to use the other two compute nodes.
>
> I have already verified all the cells_v2 settings and they all look ok.
>
> Can one of you please let me know what logs to check to understand what is
> causing this issue.
>
> None of the Nova logs on the controller has any errors..
>
> Any help to resolve this is greatly appreciated.
>
> Regards,
>
> Ravi..
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>


--
Kind regards,

Melvin Hillsman
mrhillsman@gmail.com
mobile: (832) 264-2646
Re: Creation of a server get stuck at Building state [ In reply to ]
Hi Melvin,
Thanks for the response. I have already turned on debug mode. I will keep digging into the logs further. Do u know of any document that clearly explains the sequence once we issue a openstack server create. This will help me narrow down the issue. I have another setup with ocata and it works fine in that env.
Regards,
Ravi..

From: Melvin Hillsman [mailto:mrhillsman@gmail.com]
Sent: Saturday, June 9, 2018 8:12 PM
To: Rao, Ravi <Ravi.Rao@us.fujitsu.com>
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] Creation of a server get stuck at Building state

I would recommend grepping for the request ID across all logs if they are centralized. Additionally if you have not turned on debugging, more than likely doing so for at least nova-scheduler prior to trying to spin up an instance again should help. Providing error messages is generally beneficial as if you are not able to see any there is really no way for anyone to assist without some additional details so I first suggest you look a bit more at all your logs and in general your environment and provide a bit more detail for assistance. Hope this helps.

On Sat, Jun 9, 2018 at 1:52 PM, Ravi.Rao@us.fujitsu.com<mailto:Ravi.Rao@us.fujitsu.com> <Ravi.Rao@us.fujitsu.com<mailto:Ravi.Rao@us.fujitsu.com>> wrote:
Hi All,
I have installed openstack queens using packstack on a multimode setup. One controller and two compute nodes.
Openstack hypervisor list shows all 3 compute nodes as up.
I was able to spinup about 5 servers and all of them got hosted on the controller node which is also a compute.
When I try to spin the 6th server it is getting stuck at the build state. Looks like it is not able to use the other two compute nodes.
I have already verified all the cells_v2 settings and they all look ok.
Can one of you please let me know what logs to check to understand what is causing this issue.
None of the Nova logs on the controller has any errors..
Any help to resolve this is greatly appreciated.
Regards,
Ravi..


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org<mailto:openstack@lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



--
Kind regards,

Melvin Hillsman
mrhillsman@gmail.com<mailto:mrhillsman@gmail.com>
mobile: (832) 264-2646
Re: Creation of a server get stuck at Building state [ In reply to ]
I remember I did a project and we removed the controller since we did not want to have it to serve compute. You do have to change the dB to exclude it or you can disable is as nova-manage if you want to try and see what happen to track down the behavior

Remo

> Il giorno 10 giu 2018, alle ore 08:39, "Ravi.Rao@us.fujitsu.com" <Ravi.Rao@us.fujitsu.com> ha scritto:
>
> Hi Melvin,
> Thanks for the response. I have already turned on debug mode. I will keep digging into the logs further. Do u know of any document that clearly explains the sequence once we issue a openstack server create. This will help me narrow down the issue. I have another setup with ocata and it works fine in that env.
> Regards,
> Ravi..
>
> From: Melvin Hillsman [mailto:mrhillsman@gmail.com]
> Sent: Saturday, June 9, 2018 8:12 PM
> To: Rao, Ravi <Ravi.Rao@us.fujitsu.com>
> Cc: openstack@lists.openstack.org
> Subject: Re: [Openstack] Creation of a server get stuck at Building state
>
> I would recommend grepping for the request ID across all logs if they are centralized. Additionally if you have not turned on debugging, more than likely doing so for at least nova-scheduler prior to trying to spin up an instance again should help. Providing error messages is generally beneficial as if you are not able to see any there is really no way for anyone to assist without some additional details so I first suggest you look a bit more at all your logs and in general your environment and provide a bit more detail for assistance. Hope this helps.
>
> On Sat, Jun 9, 2018 at 1:52 PM, Ravi.Rao@us.fujitsu.com <Ravi.Rao@us.fujitsu.com> wrote:
> Hi All,
> I have installed openstack queens using packstack on a multimode setup. One controller and two compute nodes.
> Openstack hypervisor list shows all 3 compute nodes as up.
> I was able to spinup about 5 servers and all of them got hosted on the controller node which is also a compute.
> When I try to spin the 6th server it is getting stuck at the build state. Looks like it is not able to use the other two compute nodes.
> I have already verified all the cells_v2 settings and they all look ok.
> Can one of you please let me know what logs to check to understand what is causing this issue.
> None of the Nova logs on the controller has any errors..
> Any help to resolve this is greatly appreciated.
> Regards,
> Ravi..
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
> --
> Kind regards,
>
> Melvin Hillsman
> mrhillsman@gmail.com
> mobile: (832) 264-2646
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack