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

mon: Do not display any pools, pgs and objects if there is no osd. #19108

Closed
wants to merge 1 commit into from

Conversation

shinobu-x
Copy link
Contributor

In ceph -s, there are still pool(s), pgs and object(s) even there is no osd in the cluster, and these osds are no longer in CRUSH Map.

osd: 0 osds: 0 up, 0 in

data:
print_summary
    pools:   2 pools, 16 pgs
    objects: 21 objects, 2.19K
    usage:   0 used, 0 / 0 avail
    pgs:     42/63 objects degraded (66.667%)
             16 stale+active+undersized+degraded

This is not a bug however makes users confused.

http://tracker.ceph.com/issues/22206

Signed-off-by: Shinobu Kinjo shinobu@redhat.com

@shinobu-x shinobu-x changed the title mon: Do not display any pools, pgs and objects if there is no osd. [DNM] mon: Do not display any pools, pgs and objects if there is no osd. Nov 23, 2017
@shinobu-x shinobu-x changed the title [DNM] mon: Do not display any pools, pgs and objects if there is no osd. mon: Do not display any pools, pgs and objects if there is no osd. Nov 23, 2017
In `ceph -s`, there are still pool(s), pgs and object(s) even there is
no osd in the cluster, and these osds are no longer in CRUSH Map.

osd: 0 osds: 0 up, 0 in

data:
print_summary
    pools:   2 pools, 16 pgs
    objects: 21 objects, 2.19K
    usage:   0 used, 0 / 0 avail
    pgs:     42/63 objects degraded (66.667%)
             16 stale+active+undersized+degraded

This is not a bug however makes users confused.

http://tracker.ceph.com/issues/22206

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
@stale
Copy link

stale bot commented Oct 18, 2018

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you are a maintainer or core committer, please follow-up on this issue to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale bot added the stale label Oct 18, 2018
@liewegas
Copy link
Member

The problem the user saw was due to the ceph-mgr daemon not running.

@liewegas liewegas closed this Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants