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:
parent
986fdc4882
commit
6679558795
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue