Currently, all of the commands that create a new cell require the
presence of compute hosts, else they won't create a cell mapping.
In the use case of a fresh install, it's reasonable that compute
host records may not yet exist at the time of cells v2 setup.
This provides a way for operators to create a new empty cell at
setup time and defer adding hosts to the cell until they have
started their compute hosts later (via the 'discover_hosts'
command).
The command optionally accepts a database connection url and
message queue transport url, else it will take the values from
the nova.conf. It returns the uuid of the newly created cell.
Reviewed: https:/ /review. openstack. org/332713 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f7e9f312a06 4d9809e2093de5b 54c18a45a75322
Committed: https:/
Submitter: Jenkins
Branch: master
commit f7e9f312a064d98 09e2093de5b54c1 8a45a75322
Author: Andrey Volkov <email address hidden>
Date: Tue Aug 16 11:25:54 2016 +0300
Add nova-manage cell_v2 create_cell command
Currently, all of the commands that create a new cell require the
presence of compute hosts, else they won't create a cell mapping.
In the use case of a fresh install, it's reasonable that compute
host records may not yet exist at the time of cells v2 setup.
This provides a way for operators to create a new empty cell at
setup time and defer adding hosts to the cell until they have
started their compute hosts later (via the 'discover_hosts'
command).
The command optionally accepts a database connection url and
message queue transport url, else it will take the values from
the nova.conf. It returns the uuid of the newly created cell.
Change-Id: I2fd7d854ffa579 e550f6002cfb722 3d7f40acac6
Related-Bug: #1656276