charm-nova-cloud-controller/unit_tests
Corey Bryant 3b873932be Add nova-manage failure verbosity and clean up Cells V2 code
Update all nova-manage commands to use subprocess.check_output()
and log subprocess.CalledProcessError.output on failure. This
will help capture nova-manage error details on first failure.

Specify cell1 uuid on discover_hosts call. This doesn't change
behavior, it is just more explicit and useful if we move to
multiple cells in the future.

Introduce an is_cellv2_init_ready() function that uses contexts to
check if cells_v2 is ready to initialize. This cleans up the
corresponding TODOs.

Move checks for cell v2 init readiness to update_cell_db_if_ready(),
also cleaning up corresponding TODOs.

Change-Id: I313edce84d3d249031e020a4fbb4baf216c01ddb
Related-Bug: 1720846
2017-10-16 12:19:55 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 16:38:27 +00:00
test_actions.py Add disable-aws-compat config to disable AWS compatibility layer 2016-09-12 05:46:43 +00:00
test_actions_git_reinstall.py Add disable-aws-compat config to disable AWS compatibility layer 2016-09-12 05:46:43 +00:00
test_actions_openstack_upgrade.py Use os_release() to determine OpenStack release 2016-08-10 15:31:18 +00:00
test_nova_cc_contexts.py Add nova-manage failure verbosity and clean up Cells V2 code 2017-10-16 12:19:55 +00:00
test_nova_cc_hooks.py Add nova-manage failure verbosity and clean up Cells V2 code 2017-10-16 12:19:55 +00:00
test_nova_cc_utils.py Add nova-manage failure verbosity and clean up Cells V2 code 2017-10-16 12:19:55 +00:00
test_utils.py Allow to use any repository in openstack-origin to upgrade 2016-12-14 16:18:26 -03:00