Skip to content

Commit

Permalink
Merge pull request #177 from dannyzaken/danny-noobaa-gather
Browse files Browse the repository at this point in the history
List postgresql tables with extra info in noobaa script
  • Loading branch information
openshift-merge-bot[bot] authored Jul 10, 2024
2 parents a3ba787 + 6d1c120 commit f6d6004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collection-scripts/gather_noobaa_resources
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mkdir -p "${NOOBAA_COLLLECTION_PATH}/raw_output/}"

# Save the information of all Postgres DBs in the NooBaa DB pod
dbglog "Collecting MCG database information..."
oc rsh --namespace openshift-storage noobaa-db-pg-0 psql -d nbcore -c '\pset pager off' -c '\x on' -c '\list+' &>"${NOOBAA_COLLLECTION_PATH}"/raw_output/db_list.txt 2>&1
oc rsh --namespace openshift-storage noobaa-db-pg-0 psql -d nbcore -c '\pset pager off' -c '\list+' -c '\dt+' &>"${NOOBAA_COLLLECTION_PATH}"/raw_output/db_list.txt 2>&1

# Run the Collection of Noobaa cli using must-gather
# shellcheck disable=SC2086
Expand Down

0 comments on commit f6d6004

Please sign in to comment.