Revision aca55e15 qa/qa_node.py
b/qa/qa_node.py | ||
---|---|---|
128 | 128 |
" it to have no secondary instances.") |
129 | 129 |
|
130 | 130 |
# Evacuate all secondary instances |
131 |
cmd = ['gnt-node', 'evacuate', '-f', node2['primary'], node3['primary']] |
|
131 |
cmd = ['gnt-node', 'evacuate', '-f', |
|
132 |
"--new-secondary=%s" % node3['primary'], node2['primary']] |
|
132 | 133 |
AssertEqual(StartSSH(master['primary'], |
133 | 134 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
134 | 135 |
|
135 | 136 |
# ... and back again. |
136 |
cmd = ['gnt-node', 'evacuate', '-f', node3['primary'], node2['primary']] |
|
137 |
cmd = ['gnt-node', 'evacuate', '-f', |
|
138 |
"--new-secondary=%s" % node2['primary'], node3['primary']] |
|
137 | 139 |
AssertEqual(StartSSH(master['primary'], |
138 | 140 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
139 | 141 |
finally: |
Also available in: Unified diff