Skip to content

Commit 59ca6f3

Browse files
committed
Rename get_cluster_status to get_cluster_status_db for clarity in HANA DB validation tasks
1 parent f331cfc commit 59ca6f3

13 files changed

+29
-29
lines changed

src/roles/ha_db_hana/tasks/block-network.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
- ansible_hostname == cluster_status_pre.primary_node
9393
block:
9494
- name: "Test Execution: Validate HANA DB cluster status (Primary Node)"
95-
get_cluster_status:
95+
get_cluster_status_db:
9696
operation_step: "test_execution"
9797
database_sid: "{{ db_sid | lower }}"
9898
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -117,7 +117,7 @@
117117
timeout: 60
118118

119119
- name: "Test Execution: Validate HANA DB cluster status"
120-
get_cluster_status:
120+
get_cluster_status_db:
121121
operation_step: "test_execution"
122122
database_sid: "{{ db_sid | lower }}"
123123
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -135,7 +135,7 @@
135135
- ansible_hostname == cluster_status_pre.secondary_node
136136
block:
137137
- name: "Test Execution: Validate HANA DB cluster status (Secondary Node)"
138-
get_cluster_status:
138+
get_cluster_status_db:
139139
operation_step: "test_execution"
140140
database_sid: "{{ db_sid | lower }}"
141141
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -151,7 +151,7 @@
151151
timeout: 60
152152

153153
- name: "Test Execution: Validate HANA DB cluster status"
154-
get_cluster_status:
154+
get_cluster_status_db:
155155
operation_step: "test_execution"
156156
database_sid: "{{ db_sid | lower }}"
157157
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/fs-freeze.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
- name: "Test Execution: Validate HANA DB cluster status"
5555
when: cluster_status_pre.AUTOMATED_REGISTER | lower == "true"
56-
get_cluster_status:
56+
get_cluster_status_db:
5757
operation_step: "test_execution"
5858
database_sid: "{{ db_sid | lower }}"
5959
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -68,7 +68,7 @@
6868
when: ansible_hostname == cluster_status_pre.primary_node
6969
block:
7070
- name: "Test Execution: Validate HANA DB cluster status"
71-
get_cluster_status:
71+
get_cluster_status_db:
7272
operation_step: "post_failover"
7373
database_sid: "{{ db_sid | lower }}"
7474
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/primary-crash-index.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
block:
5454
- name: "Test Execution: Validate HANA DB cluster status"
5555
when: cluster_status_pre.AUTOMATED_REGISTER == "true"
56-
get_cluster_status:
56+
get_cluster_status_db:
5757
operation_step: "test_execution"
5858
database_sid: "{{ db_sid | lower }}"
5959
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -66,7 +66,7 @@
6666
6767
- name: "Test Execution: Validate HANA DB cluster status"
6868
when: cluster_status_pre.AUTOMATED_REGISTER == "false"
69-
get_cluster_status:
69+
get_cluster_status_db:
7070
operation_step: "test_execution"
7171
database_sid: "{{ db_sid | lower }}"
7272
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -114,7 +114,7 @@
114114
ignore_errors: true
115115

116116
- name: "Test Execution: Validate HANA DB cluster status"
117-
get_cluster_status:
117+
get_cluster_status_db:
118118
operation_step: "post_failover"
119119
database_sid: "{{ db_sid | lower }}"
120120
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/primary-echo-b.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
block:
4545
- name: "Test Execution: Validate HANA DB cluster status"
4646
when: cluster_status_pre.AUTOMATED_REGISTER == "true"
47-
get_cluster_status:
47+
get_cluster_status_db:
4848
operation_step: "test_execution"
4949
database_sid: "{{ db_sid | lower }}"
5050
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -57,7 +57,7 @@
5757
5858
- name: "Test Execution: Validate HANA DB cluster status"
5959
when: cluster_status_pre.AUTOMATED_REGISTER == "false"
60-
get_cluster_status:
60+
get_cluster_status_db:
6161
operation_step: "test_execution"
6262
database_sid: "{{ db_sid | lower }}"
6363
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -101,7 +101,7 @@
101101
ignore_errors: true
102102

103103
- name: "Test Execution: Validate HANA DB cluster status"
104-
get_cluster_status:
104+
get_cluster_status_db:
105105
operation_step: "post_failover"
106106
database_sid: "{{ db_sid | lower }}"
107107
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/primary-node-crash.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
failed_when: hana_db_stop_results.rc != 0
4141

4242
- name: "Test Execution: Validate HANA DB cluster status"
43-
get_cluster_status:
43+
get_cluster_status_db:
4444
operation_step: "test_execution"
4545
database_sid: "{{ db_sid | lower }}"
4646
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -82,7 +82,7 @@
8282
ignore_errors: true
8383

8484
- name: "Test execution: Validate HANA DB cluster status"
85-
get_cluster_status:
85+
get_cluster_status_db:
8686
operation_step: "post_failover"
8787
database_sid: "{{ db_sid | lower }}"
8888
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/primary-node-kill.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
- name: "Test Execution: Validate HANA DB cluster status"
4343
when: cluster_status_pre.AUTOMATED_REGISTER == "true"
44-
get_cluster_status:
44+
get_cluster_status_db:
4545
operation_step: "test_execution"
4646
database_sid: "{{ db_sid | lower }}"
4747
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -56,7 +56,7 @@
5656
when: cluster_status_pre.AUTOMATED_REGISTER == "false"
5757
block:
5858
- name: "Test Execution: Validate HANA DB cluster status"
59-
get_cluster_status:
59+
get_cluster_status_db:
6060
operation_step: "test_execution"
6161
database_sid: "{{ db_sid | lower }}"
6262
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -99,7 +99,7 @@
9999
ignore_errors: true
100100

101101
- name: "Test execution: Validate HANA DB cluster status"
102-
get_cluster_status:
102+
get_cluster_status_db:
103103
operation_step: "post_failover"
104104
database_sid: "{{ db_sid | lower }}"
105105
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/resource-migration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
changed_when: hana_db_resource_migration.rc == 0
4141

4242
- name: "Test Execution: Validate HANA DB cluster status"
43-
get_cluster_status:
43+
get_cluster_status_db:
4444
operation_step: "test_execution"
4545
database_sid: "{{ db_sid | lower }}"
4646
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -95,7 +95,7 @@
9595
timeout: 100
9696

9797
- name: "Test Execution: Validate HANA DB cluster status"
98-
get_cluster_status:
98+
get_cluster_status_db:
9999
operation_step: "test_execution"
100100
database_sid: "{{ db_sid | lower }}"
101101
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/sbd-fencing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
block:
5656
- name: "Test Execution: Validate HANA DB cluster status during stop operation."
5757
when: cluster_status_pre.AUTOMATED_REGISTER == "true"
58-
get_cluster_status:
58+
get_cluster_status_db:
5959
operation_step: "test_execution"
6060
database_sid: "{{ db_sid | lower }}"
6161
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -70,7 +70,7 @@
7070
when: ansible_hostname == cluster_status_pre.primary_node
7171
block:
7272
- name: "Test Execution: Validate HANA DB cluster status"
73-
get_cluster_status:
73+
get_cluster_status_db:
7474
operation_step: "test_execution"
7575
database_sid: "{{ db_sid | lower }}"
7676
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/secondary-crash-index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
when: ansible_hostname == cluster_status_pre.primary_node
5454
block:
5555
- name: "Test Execution: Validate HANA DB cluster status"
56-
get_cluster_status:
56+
get_cluster_status_db:
5757
operation_step: "test_execution"
5858
ansible_os_family: "{{ ansible_os_family | upper }}"
5959
database_sid: "{{ db_sid | lower }}"
@@ -65,7 +65,7 @@
6565
cluster_status_test_execution.secondary_node == ""
6666
6767
- name: "Test Execution: Validate HANA DB cluster status"
68-
get_cluster_status:
68+
get_cluster_status_db:
6969
operation_step: "post_failover"
7070
database_sid: "{{ db_sid | lower }}"
7171
ansible_os_family: "{{ ansible_os_family | upper }}"

src/roles/ha_db_hana/tasks/secondary-echo-b.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
when: ansible_hostname == cluster_status_pre.primary_node
4949
block:
5050
- name: "Test Execution: Validate HANA DB cluster status"
51-
get_cluster_status:
51+
get_cluster_status_db:
5252
operation_step: "test_execution"
5353
database_sid: "{{ db_sid | lower }}"
5454
ansible_os_family: "{{ ansible_os_family | upper }}"
@@ -60,7 +60,7 @@
6060
cluster_status_test_execution.secondary_node == ""
6161
6262
- name: "Test Execution: Validate HANA DB cluster status"
63-
get_cluster_status:
63+
get_cluster_status_db:
6464
operation_step: "post_failover"
6565
database_sid: "{{ db_sid | lower }}"
6666
ansible_os_family: "{{ ansible_os_family | upper }}"

0 commit comments

Comments
 (0)