# nova-manage cell_v2
An error has occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/oslo_config/cfg.py", line 3179, in __getattr__
return getattr(self._conf._namespace, name)
AttributeError: '_Namespace' object has no attribute 'action_fn'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stack/nova/nova/cmd/manage.py", line 2205, in main
fn, fn_args, fn_kwargs = cmd_common.get_action_fn()
File "/opt/stack/nova/nova/cmd/common.py", line 169, in get_action_fn
fn = CONF.category.action_fn
File "/usr/local/lib/python3.7/site-packages/oslo_config/cfg.py", line 3181, in __getattr__
raise NoSuchOptError(name)
oslo_config.cfg.NoSuchOptError: no such option action_fn in group [DEFAULT]
# nova-manage cell_v2 lib/python3. 7/site- packages/ oslo_config/ cfg.py" , line 3179, in __getattr__ self._conf. _namespace, name)
An error has occurred:
Traceback (most recent call last):
File "/usr/local/
return getattr(
AttributeError: '_Namespace' object has no attribute 'action_fn'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): nova/nova/ cmd/manage. py", line 2205, in main get_action_ fn() nova/nova/ cmd/common. py", line 169, in get_action_fn action_ fn lib/python3. 7/site- packages/ oslo_config/ cfg.py" , line 3181, in __getattr__ name) cfg.NoSuchOptEr ror: no such option action_fn in group [DEFAULT]
File "/opt/stack/
fn, fn_args, fn_kwargs = cmd_common.
File "/opt/stack/
fn = CONF.category.
File "/usr/local/
raise NoSuchOptError(
oslo_config.
# nova-manage cell_v2 help
{ 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}
. .. and_hosts' , 'map_instances', 'simple_ cell_setup' , 'update_cell', 'verify_instance')
usage: nova-manage cell_v2 [-h]
nova-manage cell_v2: error: argument action: invalid choice: 'help' (choose from 'create_cell', 'delete_cell', 'delete_host', 'discover_hosts', 'list_cells', 'list_hosts', 'map_cell0', 'map_cell_
# nova-manage cell_v2 -h
{ 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}
. ..
usage: nova-manage cell_v2 [-h]
positional arguments: 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}
{create_
optional arguments:
-h, --help show this help message and exit
python version:
/usr/bin/python3 --version
Python 3.7.3
nova version: e0ac62345b78abb 1c9e2bd128 (HEAD -> master, origin/master, origin/HEAD)
$ git log -1
commit 78f9961d293e3b3
Instead of printing Traceback, nova-manage should give a hint for the user choices.