[stein][hypervisor] Post successful stein deployment Openstack hypervisor list is empty
roshan anvekar
roshananvekar at gmail.com
Mon Feb 8 10:14:19 UTC 2021
Hello,
Yes nova-manage cell_v2 list_cells shows me 2 entries within a common cell0.
List_hosts shows all the compute nodes but not controllers.
Regards,
Roshan
On Mon, Feb 8, 2021, 3:00 PM Pierre Riteau <pierre at stackhpc.com> wrote:
> The hypervisor list in Horizon should show all hypervisors,
> indifferently of which aggregate they belong to.
>
> I am thinking your issue could be related to cell configuration. On
> one of your Nova controller, drop into a nova_api container and use
> nova-manage to inspect the cell configuration:
>
> $ docker exec -it nova_api bash
> (nova-api)[nova at controller0 /]$ nova-manage cell_v2
> usage: nova-manage cell_v2 [-h]
>
>
>
> {create_cell,delete_cell,delete_host,discover_hosts,list_cells,list_hosts,map_cell0,map_cell_and_hosts,map_instances,simple_cell_setup,update_cell,verify_instance}
> ...
> nova-manage cell_v2: error: too few arguments
> (nova-api)[nova at controller0 /]$ nova-manage cell_v2 list_cells
> [...]
> (nova-api)[nova at controller0 /]$ nova-manage cell_v2 list_hosts
> [...]
>
> Does the last command show your hypervisors?
>
> On Fri, 5 Feb 2021 at 16:50, roshan anvekar <roshananvekar at gmail.com>
> wrote:
> >
> > Thanks for the reply.
> >
> > Well, I have a multinode setup ( 3 controllers and multiple compute
> nodes) which was initially deployed with rocky and was working fine.
> >
> > I checked the globals.yml and site.yml files between rocky and stein and
> I could not see any significant changes.
> >
> > Also under Admin-Compute-Hypervisor, I see that all the compute nodes
> are showing up under Compute section. the hypervisor section is empty.
> >
> > I was wondering if controllers are placed under a different aggregate
> and not able to show up. I can see all 3 controllers listed in
> host-aggregates panel though and are in service up state.
> >
> > VM creation fails with no valid host found error.
> >
> > I am not able to point out issue since I don't see any errors in
> deployment too.
> >
> > Regards,
> > Roshan
> >
> >
> >
> >
> >
> > On Fri, Feb 5, 2021, 7:47 PM Sean Mooney <smooney at redhat.com> wrote:
> >>
> >> On Fri, 2021-02-05 at 14:53 +0530, roshan anvekar wrote:
> >> > Hi all,
> >> >
> >> > Scenario: I have an installation of Openstack stein through
> kolla-ansible.
> >> > The deployment went fine and all services look good.
> >> >
> >> > Although I am seeing that under Admin--> Compute --> Hypervisors
> panel in
> >> > horizon, all the controller nodes are missing. It's a blank list.
> >> did you actully deploy the nova compute agent service to them?
> >>
> >> that view is showing the list of host that are running the nova compute
> service
> >> typically that is not deployed to the contolers.
> >>
> >> host in the contol group in the kolla multi node inventlry
> >>
> https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L3
> >> are not use to run the compute agent by default
> >> only nodes in the compute group are
> >>
> https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L18
> >> the eception to that is ironic
> https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L301-L302
> >> which is deployed to the contolers.
> >>
> >> the nova compute agent used for libvirt is deployed specificlly to the
> compute hosts via the nova-cell role at least on master
> >>
> https://github.com/openstack/kolla-ansible/blob/master/ansible/nova.yml#L118
> >> this was done a little simpler before adding cell support but the
> inventory side has not changed in many release in this
> >> regard.
> >>
> >>
> >> >
> >> > Also "Openstack hypervisor list" gives an empty list.
> >> >
> >> > I skimmed through the logs and found no error message other than in
> >> > nova-scheduler that:
> >> >
> >> > *Got no allocation candidates from the Placement API. This could be
> due to
> >> > insufficient resources or a temporary occurence as compute nodes
> start up.*
> >> >
> >> > Subsequently I checked placement container logs and found no error
> message
> >> > or anamoly.
> >> >
> >> > Not sure what the issue is. Any help in the above case would be
> appreciated.
> >> >
> >> > Regards,
> >> > Roshan
> >>
> >>
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210208/2ec1fd53/attachment.html>
More information about the openstack-discuss
mailing list