From 7d49eb8284b7529aea2fd37acb0e38f9b5f151ef Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Sat, 11 May 2024 09:56:17 +1000 Subject: [PATCH] Add namespace to osdpns lookup This change adds the namespace variable to the initial osdpns lookup in the hugepages_and_reboot validation. Signed-off-by: Brendan Shephard --- roles/validations/tasks/edpm/hugepages_and_reboot.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/validations/tasks/edpm/hugepages_and_reboot.yml b/roles/validations/tasks/edpm/hugepages_and_reboot.yml index da2c35e0f6..4d726850fc 100644 --- a/roles/validations/tasks/edpm/hugepages_and_reboot.yml +++ b/roles/validations/tasks/edpm/hugepages_and_reboot.yml @@ -22,7 +22,7 @@ cifmw.general.ci_script: output_dir: "{{ cifmw_validations_basedir }}/artifacts" script: >- - oc get osdpns --no-headers -o custom-columns=":metadata.name" + oc get -n {{ cifmw_validations_namespace }} osdpns --no-headers -o custom-columns=":metadata.name" register: deployed_nodeset_name # collect initial confighash from the nodeset @@ -58,6 +58,7 @@ kind: OpenStackDataPlaneService metadata: name: reboot-adhoc + namespace: {{ cifmw_validations_namespace }} spec: play: | - hosts: all