Bug #20488
closedceph-disk dmcrypt does not unlock blockdevice for bluestore
0%
Description
The ceph-disk utility does not unlock the blockdevice when called with --dmcrypt for bluestore.
It will unlock the osd data directory alright using the lockbox but then neglect to unlock the blockdevice itself. Causing the OSD to fail without access to the block device.
The fix should be simple enough by adding in a detection whether the block_dmcrypt link exists in the OSD directory and then proceed to unlock that. Alternatively check whether it is a bluestore OSD and then unlock the second partition using the same key.
I can prepare a pull request to solve that problem if wanted.
Updated by Sage Weil almost 7 years ago
- Status changed from New to 12
- Priority changed from Normal to Urgent
A pull request fixing this would be most appreciated, thanks!
Updated by Kefu Chai almost 7 years ago
- Status changed from 12 to Fix Under Review
- Assignee set to Felix Winterhalter
Updated by Kefu Chai over 6 years ago
- Status changed from Fix Under Review to Resolved
- Target version deleted (
v12.1.0)
Updated by Nathan Cutler over 6 years ago
- Status changed from Resolved to Pending Backport
- Backport set to luminous
This just missed the v12.2.0 cutoff. Kefu opened luminous backport PR: https://github.com/ceph/ceph/pull/18625
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21974: luminous: ceph-disk dmcrypt does not unlock blockdevice for bluestore added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved