Limit deploy health checks to paunch managed ones
If an operator has non-paunch managed containers (ceph/openshift), we may not want to fail the deployment if those are unhealthy. Change-Id: Ifd3e67a66b3224d0ed5f7ef12ba27b06f78c8556
This commit is contained in:
parent
915c1ebdd7
commit
7fbaee67d0
@ -227,7 +227,7 @@
|
|||||||
- name: "Check for unhealthy containers after step {{step}}"
|
- name: "Check for unhealthy containers after step {{step}}"
|
||||||
shell: |
|
shell: |
|
||||||
counter=0
|
counter=0
|
||||||
while [ $(docker ps -f health=starting -q | wc -l) -gt 0 ] && [ $count -lt 10 ]; do
|
while [ $(docker ps -f health=starting -f label="managed_by=paunch" -q | wc -l) -gt 0 ] && [ $count -lt 10 ]; do
|
||||||
sleep 6
|
sleep 6
|
||||||
count=$[count+1]
|
count=$[count+1]
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user