From 4a66dd3723554d7056bf7bae10f66bdbb099b4e3 Mon Sep 17 00:00:00 2001 From: Shuicheng Lin Date: Fri, 12 Jul 2019 13:03:49 +0800 Subject: [PATCH] fix armada stuck at processing osh-openstack-ceph-rgw chart The issue occur when do swact && lock/unlock standby controller. After swact && lock/unlock standby controller, the pod created for job doesn't exist any more. So there is no pod for ceph_rgw. While armada assumes there is at least 1 pod exist in default, and will wait for the pod to be up and ready. For chart without pod, we need explicitly declare the resources that need to be waited for in armada schema. This declare will override the default wait list in armada. Change the timeout value to 300s, which should be enough for the 3 job to be ready. Closes-Bug: 1833609 Change-Id: I5339406cf914cd54f45b3de5df7ff213e8845bfc Signed-off-by: Shuicheng Lin --- .../stx-openstack-helm/manifests/manifest.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index da21198b1a..25f21134bd 100644 --- a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -504,7 +504,9 @@ data: release: openstack-ceph-rgw namespace: openstack wait: - timeout: 1800 + timeout: 300 + resources: + - type: job labels: release_group: osh-openstack-ceph-rgw test: