From 9c5199bc65acc23b996ea9bdadbca7dad5fe962a Mon Sep 17 00:00:00 2001 From: Eli Qiao Date: Thu, 21 Apr 2016 07:44:00 +0800 Subject: [PATCH] Grab heat-params for debugging Change-Id: I5a87a275a47e2ca25d5dd558c66ad9ae8788a10f --- magnum/tests/contrib/copy_instance_logs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/magnum/tests/contrib/copy_instance_logs.sh b/magnum/tests/contrib/copy_instance_logs.sh index e03972f462..41a2f288b7 100755 --- a/magnum/tests/contrib/copy_instance_logs.sh +++ b/magnum/tests/contrib/copy_instance_logs.sh @@ -73,6 +73,7 @@ if [[ "$COE" == "kubernetes" ]]; then remote_exec $SSH_USER "sudo netstat -an" netstat.log remote_exec $SSH_USER "sudo df -h" dfh.log remote_exec $SSH_USER "sudo journalctl -u wc-notify --no-pager" wc-notify.log + remote_exec $SSH_USER "cat /etc/sysconfig/heat-params" heat-params elif [[ "$COE" == "swarm" ]]; then SSH_USER=fedora remote_exec $SSH_USER "sudo systemctl --full list-units --no-pager" systemctl_list_units.log @@ -99,6 +100,7 @@ elif [[ "$COE" == "swarm" ]]; then remote_exec $SSH_USER "sudo ip a" ipa.log remote_exec $SSH_USER "sudo netstat -an" netstat.log remote_exec $SSH_USER "sudo df -h" dfh.log + remote_exec $SSH_USER "cat /etc/sysconfig/heat-params" heat-params else echo "ERROR: Unknown COE '${COE}'" EXIT_CODE=1