class documentation
class OpGroupVerifyDisks(OpCode):
Verifies the status of all disks in a node group.
Result: a tuple of three elements:
- dict of node names with issues (values: error msg)
- list of instances with degraded disks (that should be activated)
- dict of instances with missing logical volumes (values: (node, vol) pairs with details about the missing volumes)
In normal operation, all lists should be empty. A non-empty instance list (3rd element of the result) is still ok (errors were fixed) but non-empty node list means some node is down, and probably there are unfixable drbd errors.
Note that only instances that are drbd-based are taken into consideration. This might need to be revisited in the future.
Constant | OP |
Undocumented |
Constant | OP |
Undocumented |
Constant | OP |
Undocumented |
Inherited from OpCode
:
Class Method |
|
Generic load opcode method. |
Method | __getstate__ |
Specialized getstate for opcodes. |
Method |
|
Generates a summary description of this opcode. |
Method |
|
Generates a compact summary description of the opcode. |
Constant | WITH |
Boolean that specifies whether this should be included in mcpu's dispatch table |
Class Variable | OP |
A callable that should format the OP_DSC_FIELD; if not present, then the field will be simply converted to string |
Class Variable | OP |
The ID of this opcode. This should be unique amongst all children of this class. |
Instance Variable | dry |
Whether the LU should be run in dry-run mode, i.e. just the check steps |
Instance Variable | priority |
Opcode priority for queue |
Inherited from BaseOpCode
(via OpCode
):
Class Method |
|
Compute list of all parameters for an opcode. |
Method | __init__ |
Constructor for BaseOpCode. |
Method | __setstate__ |
Generic unserializer. |
Method |
|
Validate opcode parameters, optionally setting default values. |
Inherited from ValidatedSlots
(via OpCode
, BaseOpCode
):
Class Method |
|
Compute the list of all declared slots for a class. |
Class Variable | __slots__ |
Undocumented |
OP_PARAMS =
¶
overrides
ganeti.opcodes.OpCode.OP_PARAMS
Undocumented
Value |
|
OP_RESULT =
¶
overrides
ganeti.opcodes.OpCode.OP_RESULT
Undocumented
Value |
|