Why does the 'ceph osd map' command continue to show removed objects from the cluster?
Issue
- When removing an rbd image from a pool the
ceph osd maptool continues to show the test-image object as existing in the cluster. Why is this?
# rbd create test-image --size 1024 --pool testpool
# rbd -p testpool ls
# ceph osd map testpool test-image
osdmap e141 pool 'testpool' (1) object 'test-image' -> pg 1.fb49053a (1.13a) -> up ([3,4,1], p3) acting ([3,4,1], p3)
# rbd rm -p testpool test-image
Removing image: 100% complete...done.
# ceph osd map testpool test-image
osdmap e141 pool 'testpool' (1) object 'test-image' -> pg 1.fb49053a (1.13a) -> up ([3,4,1], p3) acting ([3,4,1], p3)
- What does the
ceph osd mapcommand actually do?
Environment
- Red Hat Ceph Storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
