From 81cb38fde8c37e96314e49514df6258a8ad42a3b Mon Sep 17 00:00:00 2001 From: David Parker Date: Sun, 7 Jan 2024 11:33:09 +0000 Subject: [PATCH] Revert "[minor] Added failure handling for Maxinst setup script in suite_db2_setup_for_manage role (#1121)" This reverts commit b88d557c31b82ac30c9913fd3595c972263acb11. Refer to MASISMIG-49684 --- .../roles/suite_db2_setup_for_manage/tasks/main.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ibm/mas_devops/roles/suite_db2_setup_for_manage/tasks/main.yml b/ibm/mas_devops/roles/suite_db2_setup_for_manage/tasks/main.yml index 36f4a7603..ffbaa6408 100644 --- a/ibm/mas_devops/roles/suite_db2_setup_for_manage/tasks/main.yml +++ b/ibm/mas_devops/roles/suite_db2_setup_for_manage/tasks/main.yml @@ -77,9 +77,6 @@ - name: Run setupdb to prepare Db2 for use with Maximo TPAE shell: oc exec -n {{db2_namespace}} {{db2_pod_name}} -- su -lc '/tmp/setupdb.sh | tee /tmp/setupdb.log' db2inst1 register: prepare_cmds_status - retries: 10 - delay: 30 # seconds - until: prepare_cmds_status.rc == 0 - name: "Database setup debug information" debug: @@ -87,11 +84,6 @@ - "Result (stdout) ........................ {{ prepare_cmds_status.stdout }}" - "result (stderr) ........................ {{ prepare_cmds_status.stderr }}" -- name: Assert that manage tablespace or bufferpools are not created - assert: - that: prepare_cmds_status.rc is defined and prepare_cmds_status.rc != 0 - fail_msg: "setupdb.sh failed for Manage Maxinst - tablespace or bufferpools may not have been created" - # 4. Execute DB2 config enforcement # -----------------------------------------------------------------------------