discover_hosts_in_cells_interval is not mandatory, and discover_hosts can be run in deployment tooling when a new compute node is deployed. One of the goals of cells v2 is isolation from the cell to the API DB, so for the cell to be able to register itself with the API DB would require an "up-call" to the API DB to do so which violates that isolation.
** Tags added: cells ** Changed in: nova Status: New => Opinion ** Changed in: nova Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1820851 Title: Please do cell mapping without periodic task or active admin involvment Status in OpenStack Compute (nova): Opinion Bug description: 'nova-manage cell_v2 discover_hosts' usage should not be needed, the compute nodes at start up time could ask for registration and not repeat it during the n-cpu process lifetime. In case of you have 30k compute node and restarting them every two week in average, it would generate ~ 0.03 avg. request per sec. I do not see why it is mandatory to use nova-manage cell_v2 discover_hosts or [scheduler] discover_hosts_in_cells_interval = 300 even in a small deployment. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1820851/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp