Package ganeti :: Module opcodes :: Class OpVerifyDisks
[hide private]
[frames] | no frames]

Class OpVerifyDisks

source code


Verify the cluster disks.

Parameters: none

Result: a tuple of four elements:

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.

Instance Methods [hide private]

Inherited from OpCode: Summary, __getstate__

Inherited from BaseOpCode: __init__, __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from OpCode: LoadOpCode

Inherited from BaseOpCode (private): _all_slots

Class Variables [hide private]
  OP_ID = "OP_CLUSTER_VERIFY_DISKS"
The ID of this opcode.
Instance Variables [hide private]

Inherited from OpCode: dry_run, priority

Properties [hide private]

Inherited from object: __class__