@@ -154,33 +154,35 @@ Feature: crmsh bootstrap process - init, join and remove
154
154
155
155
Scenario : Check hacluster's passwordless configuration on 2 nodes
156
156
Then Check user shell for hacluster between "hanode1 hanode2"
157
- Then Check passwordless for hacluster between "hanode1 hanode2"
157
+ Then Check passwordless for hacluster between "hanode1 hanode2" "successfully"
158
158
159
159
Scenario : Check hacluster's passwordless configuration in old cluster, 2 nodes
160
160
When Run "crm cluster stop --all" on "hanode1"
161
161
Then Cluster service is "stopped" on "hanode1"
162
162
And Cluster service is "stopped" on "hanode2"
163
163
When Run "crm cluster init -y" on "hanode1"
164
164
Then Cluster service is "started" on "hanode1"
165
- When Run "rm -rf /var/lib/heartbeat/cores/hacluster/.ssh" on "hanode1"
165
+ When Run "rm -rf /var/lib/pacemaker/.ssh" on "hanode1"
166
+ Then Check passwordless for hacluster between "hanode1 hanode2" "failed"
166
167
When Run "crm cluster join -c hanode1 -y" on "hanode2"
167
168
Then Cluster service is "started" on "hanode2"
168
169
And Online nodes are "hanode1 hanode2"
169
- And Check passwordless for hacluster between "hanode1 hanode2"
170
+ And Check passwordless for hacluster between "hanode1 hanode2" "successfully"
170
171
171
172
Scenario : Check hacluster's passwordless configuration on 3 nodes
172
173
Given Cluster service is "stopped" on "hanode3"
173
174
When Run "crm cluster join -c hanode1 -y" on "hanode3"
174
175
Then Cluster service is "started" on "hanode3"
175
176
And Online nodes are "hanode1 hanode2 hanode3"
176
177
And Check user shell for hacluster between "hanode1 hanode2 hanode3"
177
- And Check passwordless for hacluster between "hanode1 hanode2 hanode3"
178
+ And Check passwordless for hacluster between "hanode1 hanode2 hanode3" "successfully"
178
179
179
180
Scenario : Check hacluster's passwordless configuration in old cluster, 3 nodes
180
181
Given Cluster service is "stopped" on "hanode3"
181
- When Run "rm -rf /var/lib/heartbeat/cores/hacluster/.ssh" on "hanode1"
182
- And Run "rm -rf /var/lib/heartbeat/cores/hacluster/.ssh" on "hanode2"
182
+ When Run "rm -rf /var/lib/pacemaker/.ssh" on "hanode1"
183
+ And Run "rm -rf /var/lib/pacemaker/.ssh" on "hanode2"
184
+ Then Check passwordless for hacluster between "hanode1 hanode2 hanode3" "failed"
183
185
When Run "crm cluster join -c hanode1 -y" on "hanode3"
184
186
Then Cluster service is "started" on "hanode3"
185
187
And Online nodes are "hanode1 hanode2 hanode3"
186
- And Check passwordless for hacluster between "hanode1 hanode2 hanode3"
188
+ And Check passwordless for hacluster between "hanode1 hanode2 hanode3" "successfully"
0 commit comments