<div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Yes nova-manage cell_v2 list_cells shows me 2 entries within a common cell0.</div><div dir="auto"><br></div><div dir="auto">List_hosts shows all the compute nodes but not controllers.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Roshan</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021, 3:00 PM Pierre Riteau <<a href="mailto:pierre@stackhpc.com">pierre@stackhpc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The hypervisor list in Horizon should show all hypervisors,<br>
indifferently of which aggregate they belong to.<br>
<br>
I am thinking your issue could be related to cell configuration. On<br>
one of your Nova controller, drop into a nova_api container and use<br>
nova-manage to inspect the cell configuration:<br>
<br>
$ docker exec -it nova_api bash<br>
(nova-api)[nova@controller0 /]$ nova-manage cell_v2<br>
usage: nova-manage cell_v2 [-h]<br>
<br>
<br>
{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}<br>
                           ...<br>
nova-manage cell_v2: error: too few arguments<br>
(nova-api)[nova@controller0 /]$ nova-manage cell_v2 list_cells<br>
[...]<br>
(nova-api)[nova@controller0 /]$ nova-manage cell_v2 list_hosts<br>
[...]<br>
<br>
Does the last command show your hypervisors?<br>
<br>
On Fri, 5 Feb 2021 at 16:50, roshan anvekar <<a href="mailto:roshananvekar@gmail.com" target="_blank" rel="noreferrer">roshananvekar@gmail.com</a>> wrote:<br>
><br>
> Thanks for the reply.<br>
><br>
> Well, I have a multinode setup ( 3 controllers and multiple compute nodes)  which was initially deployed with rocky and was working fine.<br>
><br>
> I checked the globals.yml and site.yml files between rocky and stein and I could not see any significant changes.<br>
><br>
> Also under Admin-Compute-Hypervisor, I see that all the compute nodes are showing up under Compute section. the hypervisor section is empty.<br>
><br>
> 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.<br>
><br>
> VM creation fails with no valid host found error.<br>
><br>
> I am not able to point out issue since I don't see any errors in deployment too.<br>
><br>
> Regards,<br>
> Roshan<br>
><br>
><br>
><br>
><br>
><br>
> On Fri, Feb 5, 2021, 7:47 PM Sean Mooney <<a href="mailto:smooney@redhat.com" target="_blank" rel="noreferrer">smooney@redhat.com</a>> wrote:<br>
>><br>
>> On Fri, 2021-02-05 at 14:53 +0530, roshan anvekar wrote:<br>
>> > Hi all,<br>
>> ><br>
>> > Scenario: I have an installation of Openstack stein through kolla-ansible.<br>
>> > The deployment went fine and all services look good.<br>
>> ><br>
>> > Although I am seeing that under Admin--> Compute --> Hypervisors panel in<br>
>> > horizon, all the controller nodes are missing. It's a blank list.<br>
>> did you actully deploy the nova compute agent service to them?<br>
>><br>
>> that view is showing the list of host that are running the nova compute service<br>
>> typically that is not deployed to the contolers.<br>
>><br>
>> host in the contol group in the kolla multi node inventlry<br>
>> <a href="https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L3" rel="noreferrer noreferrer" target="_blank">https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L3</a><br>
>> are not use to run the compute agent by default<br>
>> only nodes in the compute group are<br>
>> <a href="https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L18" rel="noreferrer noreferrer" target="_blank">https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L18</a><br>
>> the eception to that is ironic <a href="https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L301-L302" rel="noreferrer noreferrer" target="_blank">https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L301-L302</a><br>
>> which is deployed to the contolers.<br>
>><br>
>> the nova compute agent used for libvirt is deployed specificlly to the compute hosts via the  nova-cell role at least on master<br>
>> <a href="https://github.com/openstack/kolla-ansible/blob/master/ansible/nova.yml#L118" rel="noreferrer noreferrer" target="_blank">https://github.com/openstack/kolla-ansible/blob/master/ansible/nova.yml#L118</a><br>
>> this was done a little simpler before adding cell support but the inventory side has not changed in many release in this<br>
>> regard.<br>
>><br>
>><br>
>> ><br>
>> > Also "Openstack hypervisor list" gives an empty list.<br>
>> ><br>
>> > I skimmed through the logs and found no error message other than in<br>
>> > nova-scheduler that:<br>
>> ><br>
>> > *Got no allocation candidates from the Placement API. This could be due to<br>
>> > insufficient resources or a temporary occurence as compute nodes start up.*<br>
>> ><br>
>> > Subsequently I checked placement container logs and found no error message<br>
>> > or anamoly.<br>
>> ><br>
>> > Not sure what the issue is. Any help in the above case would be appreciated.<br>
>> ><br>
>> > Regards,<br>
>> > Roshan<br>
>><br>
>><br>
>><br>
</blockquote></div>