grenade/projects/60_nova/from-kilo/upgrade-nova
Ian Wienand d7e0a24bcc Namespace XTRACE calls
As a follow-on to Iba7739eada5711d9c269cb4127fa712e9f961695 in
devstack, where we rename the XTRACE storage calls to not conflict, do
the same in grenade

Also some minor turning-down of tracing when importing stackrc; it
floods the logs with irrelevant stuff.  And now we're tracing
properly, cleanup "echo_summary" output in the logs.

Change-Id: Ibb67a6454e4465a8d0493461e32dbae96c6a03e7
2015-10-28 11:04:25 +11:00

16 lines
335 B
Bash

#!/usr/bin/env bash
# ``upgrade-nova``
function configure_nova_upgrade {
local xtrace
xtrace=$(set +o | grep xtrace)
set -o xtrace
# Apply new rootwrap compute.filters
sudo cp -f $TARGET_RELEASE_DIR/nova/etc/nova/rootwrap.d/compute.filters $NOVA_CONF_DIR/rootwrap.d/
# reset to previous state
$xtrace
}