From a788fd72b49f6ff435e6aa9e230b47e8404b8a47 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Wed, 14 Sep 2016 17:19:36 -0700 Subject: [PATCH] Increase verbosity of devstack/lib/ironic Increase the verbosity of devstack/lib/ironic by enabling xtrace for when sourcing devstack/lib/ironic. This information is useful to be able to see what variables are set to along with other information. This will increase the devstack log size by about 1%. Also print which stage the ironic devstack plugin is being called for. Change-Id: Ibd2530720f21c0b0c03af5c7ed2a6d7aa68eda65 --- devstack/lib/ironic | 4 ++-- devstack/plugin.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 5c4187c41e..f189eb2351 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -20,10 +20,10 @@ # - stop_ironic # - cleanup_ironic -# Save trace and pipefail settings +# Save xtrace and pipefail settings _XTRACE_IRONIC=$(set +o | grep xtrace) _PIPEFAIL_IRONIC=$(set +o | grep pipefail) -set +o xtrace +set -o xtrace set +o pipefail # Defaults diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 30b5d9daae..1213720b6c 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -4,7 +4,7 @@ # devstack plugin contract defined at: # http://docs.openstack.org/developer/devstack/plugins.html -echo_summary "ironic's plugin.sh was called..." +echo_summary "ironic devstack plugin.sh called: $1/$2" source $DEST/ironic/devstack/lib/ironic if is_service_enabled ir-api ir-cond; then