Skip to content

Commit 66c0ba3

Browse files
committed
Enhance error message for unavailable primary and secondary nodes in block network task
1 parent edfc04c commit 66c0ba3

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ updates:
66
directory: /
77
schedule:
88
interval: daily
9+
ignore:
10+
- dependency-name: "*"
11+
update-types: ["version-update:semver-minor"]
912

1013
- package-ecosystem: pip
1114
directory: /
1215
schedule:
1316
interval: daily
17+
ignore:
18+
- dependency-name: "*"
19+
update-types: ["version-update:semver-minor"]

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@
7373
- name: "Fail if both nodes are unavailable"
7474
ansible.builtin.fail:
7575
msg: |
76-
"Critical error: Both primary and secondary nodes are fenced.
77-
Please check the cluster status. This typically happens when priority-fencing-delay
78-
parameter is not set in the cluster configuration."
76+
"Error: Both primary and secondary nodes are unreachable.
77+
This may be caused by a fence race condition triggered during the block network
78+
test case execution, where both nodes potentially fenced each other.
79+
Please verify if the priority-fencing-delay cluster property is configured.
80+
If not, refer to the SAP on Azure high availability documentation for
81+
instructions on how to configure it."
7982
when: primary_node_down and secondary_node_down
8083

8184
- name: "Test Execution: Check node status on primary and secondary"

0 commit comments

Comments
 (0)