Revision b63ed789 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
93 | 93 |
|
94 | 94 |
Result: two lists: |
95 | 95 |
- list of node names with bad data returned (unreachable, etc.) |
96 |
- dist of node names with broken volume groups (values: error msg) |
|
96 | 97 |
- list of instances with degraded disks (that should be activated) |
98 |
- dict of instances with missing logical volumes (values: (node, vol) |
|
99 |
pairs with details about the missing volumes) |
|
97 | 100 |
|
98 |
In normal operation, both lists should be empty. A non-empty
|
|
99 |
instance list is still ok (errors were fixed) but non-empty node
|
|
100 |
list means some node is down, and probably there are unfixable drbd
|
|
101 |
errors. |
|
101 |
In normal operation, all lists should be empty. A non-empty instance
|
|
102 |
list (3rd element of the result) is still ok (errors were fixed) but
|
|
103 |
non-empty node list means some node is down, and probably there are
|
|
104 |
unfixable drbd errors.
|
|
102 | 105 |
|
103 | 106 |
Note that only instances that are drbd-based are taken into |
104 | 107 |
consideration. This might need to be revisited in the future. |
Also available in: Unified diff