charm-nova-cloud-controller/unit_tests
James Page b6e314077f Drop support for single-nova-consoleauth
Remove support for single-nova-consoleauth operation; this option
managed a single instance of the nova-consoleauth process across
a cluster nova-cloud-controller application using the hacluster
charm.  This proves somewhat racey on deployment as the ocf resource
deep checks the operation of nova-consoleauth including connectivity
to AMQP etc..  If the clustering of the service occurs before
other principle relations have been completed, the resource will
fail to start and the hook execution will spin, never returning.

HA deployments should always use memcached to share tokens between
instances of the nova-consolauth daemon; If the 'ha' relation is
detected, then ensure that a memcache relation is then required
for charm operation.

To support evaluation of the memcache relation completeness
the memcache specific code in InstanceConsoleContext was split out
into a new memcache specific class RemoteMemcacheContext.

Existing pacemaker resources will be deleted on upgrade; units will
move into a blocked state until a relation is added to memcached.

The nova-consoleauth service is resumed on upgrade to ensure that
instances run on all nova-cloud-controller units.

Change-Id: I2ac91b2bd92269b761befeb7563ad01cc5431151
Closes-Bug: 1781620
2019-03-06 12:36:06 +00:00
..
__init__.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
test_actions.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
test_actions_openstack_upgrade.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00
test_nova_cc_contexts.py Drop support for single-nova-consoleauth 2019-03-06 12:36:06 +00:00
test_nova_cc_hooks.py Drop support for single-nova-consoleauth 2019-03-06 12:36:06 +00:00
test_nova_cc_utils.py Drop support for single-nova-consoleauth 2019-03-06 12:36:06 +00:00
test_utils.py Switch the charm to support py3 2018-10-18 15:43:03 +01:00