diff --git a/playbooks/tutorial/admin.yaml b/playbooks/tutorial/admin.yaml index 7a5eec166c..1fdb22023a 100644 --- a/playbooks/tutorial/admin.yaml +++ b/playbooks/tutorial/admin.yaml @@ -55,6 +55,12 @@ until: result.status == 200 and result.json["zuul_version"] is defined changed_when: false +# In case ZK is shutdown first, allow the locks to expire. +- name: Delay for ZK lock expiration + wait_for: + timeout: 30 + delegate_to: localhost + - name: Verify Keycloak authentication is available uri: url: http://localhost:9000/api/tenant/example-tenant/info diff --git a/playbooks/tutorial/tracing.yaml b/playbooks/tutorial/tracing.yaml index f3b95d19c3..5c0bca4ad7 100644 --- a/playbooks/tutorial/tracing.yaml +++ b/playbooks/tutorial/tracing.yaml @@ -55,6 +55,12 @@ until: result.status == 200 and result.json["zuul_version"] is defined changed_when: false +# In case ZK is shutdown first, allow the locks to expire. +- name: Delay for ZK lock expiration + wait_for: + timeout: 30 + delegate_to: localhost + - name: Verify that old builds are available uri: url: "http://localhost:9000/api/tenant/example-tenant/builds"