
the included upgrade scripts were turning off xtrace, not restoring it like we should have been doing. This makes debugging many of the upgrade issues very difficult. fix this with the standard xtrace restore. Change-Id: I922d139b83644a2584c46fecb51b346b05feeec8
14 lines
232 B
Bash
Executable File
14 lines
232 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# ``upgrade-nova``
|
|
|
|
function configure_nova_upgrade(){
|
|
XTRACE=$(set +o | grep xtrace)
|
|
set -o xtrace
|
|
# upgrade rootwrap configs
|
|
configure_nova_rootwrap
|
|
|
|
# reset to previous state
|
|
$XTRACE
|
|
}
|