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
This commit is contained in:
John L. Villalovos 2016-09-14 17:19:36 -07:00
parent ad53bfbc21
commit a788fd72b4
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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