Merge "Fix test cases related to lock/unlock of compute and storage nodes"
This commit is contained in:
commit
f1caa57362
|
@ -15,6 +15,8 @@ Suite TearDown Run Keywords
|
||||||
*** Variables ***
|
*** Variables ***
|
||||||
${controller_0} controller-0
|
${controller_0} controller-0
|
||||||
${controller_1} controller-1
|
${controller_1} controller-1
|
||||||
|
${compute_1} compute-1
|
||||||
|
${storage_1} storage-1
|
||||||
${add_error_msg} Host-add Rejected: Adding a host on a simplex system
|
${add_error_msg} Host-add Rejected: Adding a host on a simplex system
|
||||||
... is not allowed.
|
... is not allowed.
|
||||||
${swact_error_msg} Swact action not allowed for a simplex system.
|
${swact_error_msg} Swact action not allowed for a simplex system.
|
||||||
|
@ -62,20 +64,14 @@ Lock Unlock Standby Controller
|
||||||
Lock Node ${standby_controller}
|
Lock Node ${standby_controller}
|
||||||
Unlock Controller ${standby_controller}
|
Unlock Controller ${standby_controller}
|
||||||
|
|
||||||
Lock Unlock Compute Hosts
|
Lock Unlock Compute Host
|
||||||
[Tags] MN-Local MN-External
|
[Tags] MN-Local MN-External
|
||||||
[Documentation] Perform a lock/unlock to the compute nodes
|
[Documentation] Perform a lock/unlock to the compute node
|
||||||
${computes} = Get Compute Nodes
|
Lock Node ${compute_1}
|
||||||
Sort List ${computes}
|
Unlock Compute ${compute_1}
|
||||||
: FOR ${compute} IN @{computes}
|
|
||||||
\ Lock Node ${compute}
|
|
||||||
\ Unlock Compute ${compute}
|
|
||||||
|
|
||||||
Lock Unlock Storage Hosts
|
Lock Unlock Storage Host
|
||||||
[Tags] MN-External
|
[Tags] MN-External
|
||||||
[Documentation] Perform a lock/unlock to the storage nodes
|
[Documentation] Perform a lock/unlock to the storage node
|
||||||
${storages} = Get Storage Nodes
|
Lock Node ${storage_1}
|
||||||
Sort List ${storages}
|
Unlock Storage ${storage_1}
|
||||||
: FOR ${storage} IN @{storages}
|
|
||||||
\ Lock Node ${storage}
|
|
||||||
\ Unlock Storage ${storage}
|
|
||||||
|
|
Loading…
Reference in New Issue