Enable trace on kuryr-kubernetes plugin.

In this change, we enable xtrace on devstack plugin script for
kuryr-kubernetes. It helps with diagnose possible issues during devstack
deployment.

Change-Id: Ib141dc6b625470d31c1527322fa22ac6629c9f07
This commit is contained in:
Roman Dobosz 2020-02-24 08:42:57 +01:00
parent 986fdc4882
commit 6679558795
1 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,10 @@
# License for the specific language governing permissions and limitations
# under the License.
# Save trace setting
XTRACE=$(set +o | grep xtrace)
set -o xtrace
function container_runtime {
if [[ ${CONTAINER_ENGINE} == 'crio' ]]; then
sudo podman "$@"
@ -1165,3 +1169,6 @@ if [[ "$1" == "unstack" ]]; then
cleanup_kuryr_devstack_iptables
fi
# Restore xtrace
$XTRACE