Commit b73302c4 authored by Guido Trotter's avatar Guido Trotter

qa: fix gnt-instance modify -t drbd

We need to pass the secondary node name, not a dict, which is an invalid
value.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent f9f0ce7f
......@@ -215,7 +215,8 @@ def TestInstanceConvertDisk(instance, snode):
cmd = ['gnt-instance', 'modify', '-t', 'plain', instance['name']]
AssertEqual(StartSSH(master['primary'],
utils.ShellQuoteArgs(cmd)).wait(), 0)
cmd = ['gnt-instance', 'modify', '-t', 'drbd', '-n', snode, instance['name']]
cmd = ['gnt-instance', 'modify', '-t', 'drbd', '-n', snode['primary'],
instance['name']]
AssertEqual(StartSSH(master['primary'],
utils.ShellQuoteArgs(cmd)).wait(), 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment