diff --git a/lib/sles4sap_publiccloud.pm b/lib/sles4sap_publiccloud.pm index 611947a7cdfa..5dd983cd449f 100644 --- a/lib/sles4sap_publiccloud.pm +++ b/lib/sles4sap_publiccloud.pm @@ -33,6 +33,7 @@ use publiccloud::ssh_interactive 'select_host_console'; use publiccloud::instance; use sles4sap; use saputils; +use version_utils 'is_sle'; our @EXPORT = qw( run_cmd @@ -1275,6 +1276,11 @@ sub wait_for_cluster { if ($args{max_retries} <= 0) { record_info('NOT OK', "Cluster or DB data synchronization issue detected after retrying."); $self->display_full_status(); + # softfail because of bsc#1233026 - if fixed remove the 'if' condition AND the 'use version_utils' from this file + if (is_sle('=12-SP5') && $crm_output =~ /TimeoutError/) { + record_soft_failure("bsc#1233026 - Error occurred, see previous output: Proceeding despite failure."); + return; + } die "Cluster is not ready after specified retries."; } sleep($args{wait_time});