charm-cinder/unit_tests
Alex Kavanagh a50281db83 Stop endless cycles on openstack upgrade
If an HA cinder deployment is upgraded twice and the leadership has
changed, there is a potential race that can be triggered where because
the CINDER_DB_INIT_RKEY is different on the units that have been the
leader.  This race is that when the unit tries to decide whether it has
reflected the 'new' RKEY it sees a different one from each unit.  By
clearing the rkey, it ensures that only the relation changed event from
the leader actually causes a restart.

Change-Id: I712502a666f23421cc58925f10b7643e3482d861
Closes-Bug: #1928383
2022-05-12 12:01:40 +01:00
..
__init__.py Use unittest.mock instead of mock 2021-12-15 10:56:43 +00:00
test_actions.py Use unittest.mock instead of mock 2021-12-15 10:56:43 +00:00
test_actions_cinder_manage.py Check if the newhost exists instead of currenthost 2022-04-25 16:22:53 +08:00
test_actions_openstack_upgrade.py Use unittest.mock instead of mock 2021-12-15 10:56:43 +00:00
test_cinder_contexts.py Add support to configure scheduler_default_filters 2022-01-25 11:04:40 +10:30
test_cinder_hooks.py Migrate charm to charmhub latest/edge track 2022-02-01 12:52:13 +01:00
test_cinder_utils.py Stop endless cycles on openstack upgrade 2022-05-12 12:01:40 +01:00
test_cluster_hooks.py Use unittest.mock instead of mock 2021-12-15 10:56:43 +00:00
test_utils.py Use unittest.mock instead of mock 2021-12-15 10:56:43 +00:00