Wait for pods for openstack-support scenario

The wait for pods is not consistently used in the
openstack-support scenario.

This is a problem, as some helm charts deploys are
basically masking issues that can arise.

This should fix it.

Change-Id: Ib3e8f16bea701bf20375d4deec7c7869e7bf85c2
This commit is contained in:
Jean-Philippe Evrard 2019-05-15 14:33:31 +02:00 committed by Tin Lam
parent fd2eb31920
commit ed200cb3b0
2 changed files with 9 additions and 1 deletions

View File

@ -23,5 +23,13 @@ helm upgrade --install libvirt ./libvirt \
--namespace=openstack \
--set network.backend="null"
#NOTE: Please be aware that a network backend might affect
#The loadability of this, as some need to be asynchronously
#loaded. See also:
#https://github.com/openstack/openstack-helm-infra/blob/b69584bd658ae5cb6744e499975f9c5a505774e5/libvirt/values.yaml#L151-L172
if [[ "${WAIT_FOR_PODS:=True}" == "True" ]]; then
./tools/deployment/common/wait-for-pods.sh openstack
fi
#NOTE: Validate Deployment info
helm status libvirt

View File

@ -22,7 +22,7 @@ helm upgrade --install openvswitch ./openvswitch \
${OSH_EXTRA_HELM_ARGS_OPENVSWITCH}
#NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh osh-infra
./tools/deployment/common/wait-for-pods.sh openstack
#NOTE: Validate Deployment info
helm status openvswitch