d18ba1cd6b
Since 17.02 the charm relies on the existence of bootstrap-uuid to
determine if pxc is bootstraped. The upgrade-charm hook handler uses
leader_node_is_ready() which calls cluster_ready(), this function will
evaluate to False when bootstrap-uuid is not defined
This patch drops leader_node_is_ready() from the upgrade-charm hook to
simply rely on is_leader(), for the non-leader unit
leader_get('bootstrap-uuid') and then notify_bootstrapped() if it's
set. For cases where the non-leader units are upgraded before
notify_bootstrapped() is called as part of the leader-settings-changed
hooks.
Change-Id: I621e23d7666920b91614491927711a85370310ad
Closes-Bug: 1674467
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
test_actions.py | ||
test_percona_hooks.py | ||
test_percona_utils.py | ||
test_utils.py |