From d7a05b5da197f1b1e9fc1039c2e230f16aca2655 Mon Sep 17 00:00:00 2001 From: jgilaber Date: Fri, 27 Oct 2023 09:18:51 +0200 Subject: [PATCH] Use service selector for openstackclient pod Recently the openstackclient pod moved to using app to service as a selector, this change updates the check in the tests to use the right label. --- tests/roles/keystone_adoption/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/roles/keystone_adoption/tasks/main.yaml b/tests/roles/keystone_adoption/tasks/main.yaml index 94f47eeba..3e96ac632 100644 --- a/tests/roles/keystone_adoption/tasks/main.yaml +++ b/tests/roles/keystone_adoption/tasks/main.yaml @@ -37,7 +37,7 @@ ansible.builtin.shell: | {{ shell_header }} {{ oc_header }} - oc get pod --selector=app=openstackclient -o jsonpath='{.items[0].status.phase}{"\n"}' | grep Running + oc get pod --selector=service=openstackclient -o jsonpath='{.items[0].status.phase}{"\n"}' | grep Running register: osc_running_result until: osc_running_result is success retries: 60