From adda37269958edad8c6087d264e58b8267f5261e Mon Sep 17 00:00:00 2001 From: David Ames Date: Tue, 2 Mar 2021 22:44:40 +0000 Subject: [PATCH] Show cluster status before removal --- zaza/openstack/charm_tests/mysql/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zaza/openstack/charm_tests/mysql/tests.py b/zaza/openstack/charm_tests/mysql/tests.py index 6322684..15256e7 100644 --- a/zaza/openstack/charm_tests/mysql/tests.py +++ b/zaza/openstack/charm_tests/mysql/tests.py @@ -771,6 +771,9 @@ class MySQLInnoDBClusterScaleTest(MySQLBaseTest): zaza.model.block_until_wl_status_info_starts_with( self.application, "'cluster' incomplete") + # Show status + logging.info(self.get_cluster_status()) + logging.info( "Removing old unit from cluster: {} " .format(leader_unit.public_address)) @@ -843,6 +846,9 @@ class MySQLInnoDBClusterScaleTest(MySQLBaseTest): logging.info("Wait for status ready ...") zaza.model.wait_for_application_states(states=self.states) + # Show status + logging.info(self.get_cluster_status()) + logging.info( "Removing old unit from cluster: {} " .format(non_leader_unit.public_address))