Revision fb62843c lib/cmdlib/cluster.py
b/lib/cmdlib/cluster.py | ||
---|---|---|
1828 | 1828 |
node_versions = {} |
1829 | 1829 |
for node_uuid, ndata in node_verify_infos.items(): |
1830 | 1830 |
nresult = ndata.payload |
1831 |
version = nresult.get(constants.NV_DRBDVERSION, "Missing DRBD version") |
|
1832 |
node_versions[node_uuid] = version |
|
1831 |
if nresult: |
|
1832 |
version = nresult.get(constants.NV_DRBDVERSION, "Missing DRBD version") |
|
1833 |
node_versions[node_uuid] = version |
|
1833 | 1834 |
|
1834 | 1835 |
if len(set(node_versions.values())) > 1: |
1835 | 1836 |
for node_uuid, version in sorted(node_versions.items()): |
Also available in: Unified diff