Revision 58ea8d17 qa/qa_cluster.py
b/qa/qa_cluster.py | ||
---|---|---|
183 | 183 |
|
184 | 184 |
# Assert that OOB is unavailable for all nodes |
185 | 185 |
result_output = GetCommandOutput(master["primary"], |
186 |
"gnt-node list --verbose --no-header -o" |
|
186 |
"gnt-node list --verbose --no-headers -o"
|
|
187 | 187 |
" powered") |
188 | 188 |
AssertEqual(compat.all(powered == "(unavail)" |
189 | 189 |
for powered in result_output.splitlines()), True) |
... | ... | |
201 | 201 |
|
202 | 202 |
# All instances should have been stopped now |
203 | 203 |
result_output = GetCommandOutput(master["primary"], |
204 |
"gnt-instance list --no-header -o status") |
|
204 |
"gnt-instance list --no-headers -o status")
|
|
205 | 205 |
AssertEqual(compat.all(status == "ADMIN_down" |
206 | 206 |
for status in result_output.splitlines()), True) |
207 | 207 |
|
... | ... | |
210 | 210 |
|
211 | 211 |
# All instances should have been started now |
212 | 212 |
result_output = GetCommandOutput(master["primary"], |
213 |
"gnt-instance list --no-header -o status") |
|
213 |
"gnt-instance list --no-headers -o status")
|
|
214 | 214 |
AssertEqual(compat.all(status == "running" |
215 | 215 |
for status in result_output.splitlines()), True) |
216 | 216 |
|
Also available in: Unified diff