Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S snf-ganeti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • itmineduitminedu
  • snf-ganeti
  • Repository
  • snf-ganeti
  • lib
  • constants.py
Find file BlameHistoryPermalink
  • Michael Hanselmann's avatar
    query2: Add new field status “offline” · a6070ef7
    Michael Hanselmann authored Dec 29, 2010
    
    
    This allows “gnt-node list” to show the difference between modes marked
    offline and nodes with e.g. RPC errors (“(nodata)”). node1 is the
    master, node2's node daemon crashed and node3 is marked offline:
    
    $ gnt-node list -o name,offline,dtotal,dfree
    Node              Offline    DTotal     DFree
    node1.example.com N            1.3T      1.3T
    node2.example.com N        (nodata)  (nodata)
    node3.example.com Y       (offline) (offline)
    
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    a6070ef7