Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify specifics for ceph health status check #5

Open
blsaws opened this issue Oct 28, 2017 · 1 comment
Open

Clarify specifics for ceph health status check #5

blsaws opened this issue Oct 28, 2017 · 1 comment

Comments

@blsaws
Copy link

blsaws commented Oct 28, 2017

In the guidance below from: netarbiter/sds/ceph-docker/examples/helm/README.md

To check ceph health status [3]

kubectl -n ceph exec -it ceph-mon-0 -- ceph -s

What the expected ceph health status is needs to be clarified, e.g. the result of the following command should be HEALTH_OK: kubectl -n ceph exec -it ceph-mon-0 -- ceph -s | awk "/health:/{print $2}"

@knowpd
Copy link
Collaborator

knowpd commented Oct 28, 2017

The output should be similar to the following:

$ kubectl -n ceph exec -it ceph-mon-0 -- ceph -s
  cluster:
    id:     b007e867-c1ce-4076-b898-8a9af337a346
    health: HEALTH_WARN
            crush map has straw_calc_version=0
            Degraded data redundancy: 49/177 objects degraded (27.684%), 89 pgs unclean, 89 pgs degraded, 89 pgs un
dersized
            application not enabled on 1 pool(s)
            mon rc-ceph-6 is low on available space
 
  services:
    mon: 1 daemons, quorum rc-ceph-6
    mgr: rc-ceph-7(active)
    osd: 4 osds: 4 up, 4 in; 11 remapped pgs
 
  data:
    pools:   1 pools, 100 pgs
    objects: 59 objects, 136 MB
    usage:   976 MB used, 798 GB / 799 GB avail
    pgs:     49/177 objects degraded (27.684%)
             89 active+undersized+degraded
             11 active+clean+remapped
  • HEALTH_OK or HEALTH_WARN is fine.
  • You can find that mon has a quorum.
  • You can find that mgr is active.
  • You can find that 4 osds are up.

Hee Won Lee knowpd@research.att.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants