Commit 1dff8e07 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix RPC result handling in _AssembleInstanceDisks

For (status, data)-style RPC calls, the result data is in the ‘payload’
attribute. This was missed in the conversion patch, with the only side
effect that gnt-instance activate-disks didn't show a nice output

Reviewed-by: ultrotter
parent 320d986d
......@@ -2526,7 +2526,8 @@ def _AssembleInstanceDisks(lu, instance, ignore_secondaries=False):
" (is_primary=True, pass=2): %s",
inst_disk.iv_name, node, msg)
disks_ok = False
device_info.append((instance.primary_node, inst_disk.iv_name,
device_info.append((instance.primary_node, inst_disk.iv_name,
# leave the disks configured for the primary node
# this is a workaround that would be fixed better by
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