Actions
Bug #20488
closedceph-disk dmcrypt does not unlock blockdevice for bluestore
% Done:
0%
Source:
Community (user)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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.
Actions