From b9523b2388a091f8743f2c53e02075983e3e5d74 Mon Sep 17 00:00:00 2001 From: Somesh Kumar <53477420+somesh2905@users.noreply.github.com> Date: Fri, 13 Dec 2019 13:07:41 +0530 Subject: [PATCH] modified the chaos experiments to include labels in env for data persistence checks (#993) Signed-off-by: somesh kumar --- .../openebs_pool_container_failure_ansible_logic.yml | 2 ++ .../openebs_pool_pod_failure_ansible_logic.yml | 2 ++ .../openebs_target_pod_failure_ansible_logic.yml | 1 + 3 files changed, 5 insertions(+) diff --git a/experiments/openebs/openebs-pool-container-failure/openebs_pool_container_failure_ansible_logic.yml b/experiments/openebs/openebs-pool-container-failure/openebs_pool_container_failure_ansible_logic.yml index 32ce62c69ea..4e40ef2c980 100644 --- a/experiments/openebs/openebs-pool-container-failure/openebs_pool_container_failure_ansible_logic.yml +++ b/experiments/openebs/openebs-pool-container-failure/openebs_pool_container_failure_ansible_logic.yml @@ -114,6 +114,7 @@ vars: status: 'VERIFY' ns: "{{ a_ns }}" + label: "{{ a_label }}" pod_name: "{{ app_pod_name.stdout }}" when: data_persistence != '' @@ -130,6 +131,7 @@ vars: status: 'DELETE' ns: "{{ a_ns }}" + label: "{{ a_label }}" pod_name: "{{ new_app_pod.stdout }}" when: data_persistence != '' diff --git a/experiments/openebs/openebs-pool-pod-failure/openebs_pool_pod_failure_ansible_logic.yml b/experiments/openebs/openebs-pool-pod-failure/openebs_pool_pod_failure_ansible_logic.yml index 8fe0d926e2a..3d5607baea2 100644 --- a/experiments/openebs/openebs-pool-pod-failure/openebs_pool_pod_failure_ansible_logic.yml +++ b/experiments/openebs/openebs-pool-pod-failure/openebs_pool_pod_failure_ansible_logic.yml @@ -119,6 +119,7 @@ vars: status: 'VERIFY' ns: "{{ a_ns }}" + label: "{{ a_label }}" pod_name: "{{ app_pod_name.stdout }}" when: data_persistence != '' @@ -135,6 +136,7 @@ vars: status: 'DELETE' ns: "{{ a_ns }}" + label: "{{ a_label }}" pod_name: "{{ new_app_pod.stdout }}" when: data_persistence != '' diff --git a/experiments/openebs/openebs-target-pod-failure/openebs_target_pod_failure_ansible_logic.yml b/experiments/openebs/openebs-target-pod-failure/openebs_target_pod_failure_ansible_logic.yml index 0c963c9a23f..cbd072de024 100644 --- a/experiments/openebs/openebs-target-pod-failure/openebs_target_pod_failure_ansible_logic.yml +++ b/experiments/openebs/openebs-target-pod-failure/openebs_target_pod_failure_ansible_logic.yml @@ -132,6 +132,7 @@ vars: status: 'VERIFY' ns: "{{ a_ns }}" + label: "{{ a_label }}" pod_name: "{{ rescheduled_app_pod.stdout }}" when: data_persistence != ''