Add supplementary info for simple_cell_setup cmd

Mention that if no transport_url is provided then the one
in the configuration file will be used for command
``nova-manage cell_v2 simple_cell_setup [--transport-url <transport_url>]``,
just like that for other cell_v2 commands.

Change-Id: Ifededa59f7ffe5887e67e29b93f70fa70dfaef33
This commit is contained in:
Chen
2018-06-15 11:17:48 +08:00
parent 2d6a838a28
commit 8992416f9d

View File

@@ -138,10 +138,12 @@ Nova Cells v2
``nova-manage cell_v2 simple_cell_setup [--transport-url <transport_url>]``
Setup a fresh cells v2 environment; this should not be used if you
currently have a cells v1 environment. Returns 0 if setup is completed
currently have a cells v1 environment. If a transport_url is not
specified, it will use the one defined by ``[DEFAULT]/transport_url``
in the configuration file. Returns 0 if setup is completed
(or has already been done), 1 if no hosts are reporting (and cannot be
mapped), 1 if no transport url is provided for the cell message queue,
and 2 if run in a cells v1 environment.
mapped), 1 if the transport url is missing, and 2 if run in a cells v1
environment.
``nova-manage cell_v2 map_cell0 [--database_connection <database_connection>]``
Create a cell mapping to the database connection for the cell0 database.