1. 17 Sep, 2009 1 commit
    • Iustin Pop's avatar
      Introduce parseable error codes in LUVerifyCluster · 7c874ee1
      Iustin Pop authored
      
      
      Currently the output of cluster verify can be parsed for 'ERROR'
      messages, but that is the only indication we get (error or no error). In
      order to allow monitoring tools to separate different error conditions,
      this patch introduces a new output format (“gnt-cluster verify
      --error-codes”) that changes the output from human-friendly to
      machine-friendly. In this mode, an error line changes from:
        ERROR: node node1: drbd minor 1 of instance inst1.is not active
      
      to:
        ERROR:ENODEDRBD:node:node1:drbd minor 1 of instance inst1 is not active
      
      i.e. the error message is a ‘:’-separated field, with ERROR in the first
      place, the error code in the second, the object type (cluster, node,
      instance) in the third, the name of the object (for nodes/instances) in
      the fourth, and then the text message.
      
      The patch also removes some of the verbosity of the operation
      (“Verifying instance X”, “Verifying node X”) since on big clusters these
      informational messages can quickly fill up an entire screen. The
      original behaviour can be restored via the ‘--verbose’ option.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      7c874ee1
  2. 16 Sep, 2009 1 commit
  3. 14 Sep, 2009 2 commits
  4. 11 Sep, 2009 2 commits
  5. 08 Sep, 2009 1 commit
  6. 03 Sep, 2009 1 commit
  7. 31 Aug, 2009 1 commit
  8. 26 Aug, 2009 2 commits
  9. 25 Aug, 2009 4 commits
  10. 24 Aug, 2009 4 commits
  11. 17 Aug, 2009 5 commits
  12. 14 Aug, 2009 2 commits
  13. 13 Aug, 2009 3 commits
  14. 12 Aug, 2009 1 commit
  15. 10 Aug, 2009 2 commits
  16. 06 Aug, 2009 3 commits
  17. 05 Aug, 2009 3 commits
  18. 04 Aug, 2009 2 commits