Revision b352ab5b
b/lib/cmdlib.py | ||
---|---|---|
1836 | 1836 |
device_info.append((instance.primary_node, inst_disk.iv_name, |
1837 | 1837 |
master_result)) |
1838 | 1838 |
|
1839 |
# leave the disks configured for the primary node |
|
1840 |
# this is a workaround that would be fixed better by |
|
1841 |
# improving the logical/physical id handling |
|
1842 |
for disk in instance.disks: |
|
1843 |
cfg.SetDiskID(disk, instance.primary_node) |
|
1844 |
|
|
1839 | 1845 |
return disks_ok, device_info |
1840 | 1846 |
|
1841 | 1847 |
|
Also available in: Unified diff