Skip to content

Commit

Permalink
Revert "[minor] Added failure handling for Maxinst setup script in su…
Browse files Browse the repository at this point in the history
…ite_db2_setup_for_manage role (#1121)"

This reverts commit b88d557.  Refer to MASISMIG-49684
  • Loading branch information
durera committed Jan 7, 2024
1 parent b88d557 commit 81cb38f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,13 @@
- 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:
msg:
- "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
# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 81cb38f

Please sign in to comment.