From c95d07321f988a6d790c99e96cf0db2ce172c7f4 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 13 Mar 2024 12:58:17 +0100 Subject: [PATCH] Fix the mariadb_recovery action (#815) With newer Kolla release it has to be deploy instead of recovery. Signed-off-by: Christian Berendt --- osism/tasks/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/osism/tasks/__init__.py b/osism/tasks/__init__.py index 332d964d..790038a7 100644 --- a/osism/tasks/__init__.py +++ b/osism/tasks/__init__.py @@ -113,12 +113,7 @@ def run_ansible_in_environment( action = "backup" role = "mariadb" # Hacky workaround. The handling of kolla_action will be revised in the future. - joined_arguments = re.sub(joined_arguments, "", "-e kolla_action=deploy") - elif role in ["mariadb-recovery", "mariadb_recovery"]: - action = "recovery" - role = "mariadb" - # Hacky workaround. The handling of kolla_action will be revised in the future. - joined_arguments = re.sub(joined_arguments, "", "-e kolla_action=deploy") + joined_arguments = re.sub(joined_arguments, "", "-e kolla_action=backup") else: action = "deploy"