Hello,

yes i have this discover_hosts_in_cells_interval = 300


interestingly when i issued a combination of map_cell_and_hosts and update_cell

the output from: nova-manage cell_v2 list_hosts
+-----------+--------------------------------------+-------------+
| Cell Name |              Cell UUID               |   Hostname  |
+-----------+--------------------------------------+-------------+
|    None   | 1a0fde85-8906-46fb-b721-01a28c978439 | computenode |
|    None   | 1a0fde85-8906-46fb-b721-01a28c978439 |     nrUE    |
|   cell1   | 1522c22f-64d4-4882-8ae8-ed0f9407407c |  openstack  |
+-----------+--------------------------------------+-------------+

when the new compute nodes seem to not have a cell mapped

best,
P.


On Wed, Nov 11, 2020 at 3:26 PM Eugen Block <eblock@nde.ag> wrote:
Hm,

indeed rather strange to me.

Do you see anything in the nova-scheduler.log? If you activated the

discover_hosts_in_cells_interval = 300

it should query for new hosts every 5 minutes.



Zitat von Pavlos Basaras <pbasaras@gmail.com>:

> Hello,
>
> thanks very much for your prompt reply.
>
>
> regarding the first command "nova-manage cell_v2 list_hosts" the output is
> the following (openstack is the host of the controller). I dont see any
> other node here, even when i execute  the discover_hosts command
>
> +-----------+--------------------------------------+-----------+
> | Cell Name |              Cell UUID               |  Hostname |
> +-----------+--------------------------------------+-----------+
> |   cell1   | 1522c22f-64d4-4882-8ae8-ed0f9407407c | openstack |
> +-----------+--------------------------------------+-----------+
>
>
> Also this is the output from my controller when i use the command:  sudo -s
> /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova   (not sure
> if this helps)
> Found 2 cell mappings.
> Skipping cell0 since it does not contain hosts.
> Getting computes from cell 'cell1': 1522c22f-64d4-4882-8ae8-ed0f9407407c
> Found 0 unmapped computes in cell: 1522c22f-64d4-4882-8ae8-ed0f9407407c
>
> any thoughts?
>
>
> best,
> Pavlos.