summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-15 21:37:25 +0000
committerGerrit Code Review <review@openstack.org>2016-11-15 21:37:25 +0000
commitfcf32419cd3d548b71b0bcbff0de590fbc036565 (patch)
tree92160f316ee52105d5a19487ff32c8c4a8ca5001
parentece53fef0bf7bcd18efe7ceb5124a4c78f29e7ce (diff)
parentdf54e034fb2765fe727b497042d4d00d0e6b11e4 (diff)
downloadironic-fcf32419cd3d548b71b0bcbff0de590fbc036565.tar.gz
Merge "Add PS4 for better logfile information of devstack runs" into stable/newton6.2.2
-rwxr-xr-xdevstack/tools/ironic/scripts/cleanup-node.sh3
-rwxr-xr-xdevstack/tools/ironic/scripts/create-node.sh3
-rwxr-xr-xdevstack/tools/ironic/scripts/setup-network.sh3
3 files changed, 9 insertions, 0 deletions
diff --git a/devstack/tools/ironic/scripts/cleanup-node.sh b/devstack/tools/ironic/scripts/cleanup-node.sh
index 0fa9e25bb..ac837a2b4 100755
--- a/devstack/tools/ironic/scripts/cleanup-node.sh
+++ b/devstack/tools/ironic/scripts/cleanup-node.sh
@@ -7,6 +7,9 @@
set -exu
+# Make tracing more educational
+export PS4='+ ${BASH_SOURCE:-}:${FUNCNAME[0]:-}:L${LINENO:-}: '
+
LIBVIRT_STORAGE_POOL=${LIBVIRT_STORAGE_POOL:-"default"}
LIBVIRT_CONNECT_URI=${LIBVIRT_CONNECT_URI:-"qemu:///system"}
diff --git a/devstack/tools/ironic/scripts/create-node.sh b/devstack/tools/ironic/scripts/create-node.sh
index 20793db91..05fa16b27 100755
--- a/devstack/tools/ironic/scripts/create-node.sh
+++ b/devstack/tools/ironic/scripts/create-node.sh
@@ -6,6 +6,9 @@
set -ex
+# Make tracing more educational
+export PS4='+ ${BASH_SOURCE:-}:${FUNCNAME[0]:-}:L${LINENO:-}: '
+
# Keep track of the DevStack directory
TOP_DIR=$(cd $(dirname "$0")/.. && pwd)
diff --git a/devstack/tools/ironic/scripts/setup-network.sh b/devstack/tools/ironic/scripts/setup-network.sh
index 8ed3f321d..d48b67d67 100755
--- a/devstack/tools/ironic/scripts/setup-network.sh
+++ b/devstack/tools/ironic/scripts/setup-network.sh
@@ -7,6 +7,9 @@
set -exu
+# Make tracing more educational
+export PS4='+ ${BASH_SOURCE:-}:${FUNCNAME[0]:-}:L${LINENO:-}: '
+
LIBVIRT_CONNECT_URI=${LIBVIRT_CONNECT_URI:-"qemu:///system"}
# Keep track of the DevStack directory