Bug #18884
closedsystemctl stop rbdmap unmaps all rbds and not just the ones in /etc/ceph/rbdmap
0%
Description
Copy of downstream bug report:
When stopping the service rbdmap it unmaps ALL mapped RBDs instead just unmapping the ones configured in /etc/ceph/rbdmap.
Expectation is that starting the service maps and mounts only the ones listed in /etc/ceph/rbdmap and stopping the service unmounts and unmaps the ones configured.
Unfortunately it unmounts and unmaps also all other RBDs that were manually mapped and mounted and due to that can cause service interruption.
Updated by David Disseldorp about 7 years ago
I have a fix which uses an RBDMAP_UNMAP_ALL parameter in /etc/sysconfig/ceph to control whether all RBD images (if "yes, the default), or only images listed in /etc/ceph/rbdmap should be unmapped.
I'm unsure whether this makes sense, or whether I should just drop the unmap-all behaviour completely, and always consult the /etc/ceph/rbdmap list during unmap. Will ask for feedback in the upstream PR.
Updated by Nathan Cutler about 7 years ago
- Status changed from Resolved to Pending Backport
- Backport set to jewel
Updated by Nathan Cutler about 7 years ago
- Copied to Backport #19357: jewel: systemctl stop rbdmap unmaps all rbds and not just the ones in /etc/ceph/rbdmap added
Updated by Nathan Cutler about 7 years ago
master PR: https://github.com/ceph/ceph/pull/13361
Updated by Nathan Cutler about 7 years ago
- Status changed from Pending Backport to Resolved