Revision 830fc5da

b/man/gnt-cluster.rst
619 619
VERIFY
620 620
~~~~~~
621 621

  
622
**verify** [--no-nplus1-mem] [--node-group *nodegroup*]
622
| **verify** [--no-nplus1-mem] [--node-group *nodegroup*]
623
| [--error-codes] [{-I|--ignore-errors} *errorcode*]
624
| [{-I|--ignore-errors} *errorcode*...]
623 625

  
624 626
Verify correctness of cluster configuration. This is safe with
625 627
respect to running instances, and incurs no downtime of the
......
634 636
settings, but will allow to perform verification of a group while other
635 637
operations are ongoing in other groups.
636 638

  
639
The ``--error-codes`` option outputs each error in the following
640
parseable format: *ftype*:*ecode*:*edomain*:*name*:*msg*.
641
These fields have the following meaning:
642

  
643
ftype
644
    Failure type. Can be *WARNING* or *ERROR*.
645

  
646
ecode
647
    Error code of the failure. See below for a list of error codes.
648

  
649
edomain
650
    Can be *cluster*, *node* or *instance*.
651

  
652
name
653
    Contains the name of the item that is affected from the failure.
654

  
655
msg
656
    Contains a descriptive error message about the error
657

  
658
``gnt-cluster verify`` will have a non-zero exit code if at least one of
659
the failures that are found are of type *ERROR*.
660

  
661
The ``--ignore-errors`` option can be used to change this behaviour,
662
because it demotes the error represented by the error code received as a
663
parameter to a warning. The option must be repeated for each error that
664
should be ignored (e.g.: ``-I ENODEVERSION -I ENODEORPHANLV``). The
665
``--error-codes`` option can be used to determine the error code of a
666
given error.
667

  
668
List of error codes:
669

  
670
@CONSTANTS_ECODES@
671

  
637 672
VERIFY-DISKS
638 673
~~~~~~~~~~~~
639 674

  

Also available in: Unified diff