From de69c6836522022e0703225af1abaf36721ed799 Mon Sep 17 00:00:00 2001 From: Matthew Heler Date: Fri, 14 Dec 2018 16:34:46 -0600 Subject: [PATCH] [Ceph] Update ceph helm tests - Ensure the helm tests are logging all commands and variables Change-Id: I4f4c553a3fbb4d77e9d1ab41c1c0c763c963cfd3 --- ceph-client/templates/bin/_helm-tests.sh.tpl | 2 ++ ceph-osd/templates/bin/_helm-tests.sh.tpl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ceph-client/templates/bin/_helm-tests.sh.tpl b/ceph-client/templates/bin/_helm-tests.sh.tpl index 5b852b332..ba4528dcc 100755 --- a/ceph-client/templates/bin/_helm-tests.sh.tpl +++ b/ceph-client/templates/bin/_helm-tests.sh.tpl @@ -16,6 +16,8 @@ See the License for the specific language governing permissions and limitations under the License. */}} +set -ex + function check_cluster_status() { echo "#### Start: Checking Ceph cluster status ####" ceph_status_output=$(ceph -s -f json | jq -r '.health') diff --git a/ceph-osd/templates/bin/_helm-tests.sh.tpl b/ceph-osd/templates/bin/_helm-tests.sh.tpl index a36f88ac1..3527614f2 100644 --- a/ceph-osd/templates/bin/_helm-tests.sh.tpl +++ b/ceph-osd/templates/bin/_helm-tests.sh.tpl @@ -16,6 +16,8 @@ See the License for the specific language governing permissions and limitations under the License. */}} +set -ex + # Check OSD status function check_osd_status() { echo "--Start: Checking OSD status--"