Revision 7f69aabb qa/qa_instance.py
b/qa/qa_instance.py | ||
---|---|---|
209 | 209 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
210 | 210 |
|
211 | 211 |
|
212 |
def TestInstanceConvertDisk(instance, snode): |
|
213 |
"""gnt-instance modify -t""" |
|
214 |
master = qa_config.GetMasterNode() |
|
215 |
cmd = ['gnt-instance', 'modify', '-t', 'plain', instance['name']] |
|
216 |
AssertEqual(StartSSH(master['primary'], |
|
217 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
218 |
cmd = ['gnt-instance', 'modify', '-t', 'drbd', '-n', snode, instance['name']] |
|
219 |
AssertEqual(StartSSH(master['primary'], |
|
220 |
utils.ShellQuoteArgs(cmd)).wait(), 0) |
|
221 |
|
|
222 |
|
|
212 | 223 |
def TestInstanceList(): |
213 | 224 |
"""gnt-instance list""" |
214 | 225 |
master = qa_config.GetMasterNode() |
Also available in: Unified diff