No block devices detected- permission denied when using ceph encryption on luminous+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
There appears to be a race with udev setting ownership on things when using ceph Luminous+ with encryption
2018-11-15 14:23:46.480 7fbce106d240 0 set uid:gid to 64045:64045 (ceph:ceph)
2018-11-15 14:23:46.480 7fbce106d240 0 ceph version 13.2.1 (5533ecdc0fda92
2018-11-15 14:23:46.480 7fbce106d240 0 pidfile_write: ignore empty --pid-file
2018-11-15 14:23:46.480 7fbce106d240 -1 bluestore(
2018-11-15 14:23:46.480 7fbce106d240 -1 bluestore(
2018-11-15 14:23:46.480 7fbce106d240 -1 bluestore(
2018-11-15 14:23:46.480 7fbce106d240 -1 bluestore(
2018-11-15 14:23:46.488 7fbce106d240 0 load: jerasure load: lrc load: isa
2018-11-15 14:23:46.488 7fbce106d240 1 bdev create path /var/lib/
2018-11-15 14:23:46.488 7fbce106d240 1 bdev(0x55a3f5294700 /var/lib/
2018-11-15 14:23:46.488 7fbce106d240 -1 bdev(0x55a3f5294700 /var/lib/
2018-11-15 14:23:46.492 7fbce106d240 1 bluestore(
2018-11-15 14:23:46.492 7fbce106d240 -1 bluestore(
2018-11-15 14:23:46.492 7fbce106d240 1 bdev create path /var/lib/
2018-11-15 14:23:46.492 7fbce106d240 1 bdev(0x55a3f5294700 /var/lib/
2018-11-15 14:23:46.492 7fbce106d240 -1 bdev(0x55a3f5294700 /var/lib/
2018-11-15 14:23:46.492 7fbce106d240 -1 osd.0 0 OSD:init: unable to mount object store
2018-11-15 14:23:46.492 7fbce106d240 -1 ESC[0;31m ** ERROR: osd init failed: (13) Permission deniedESC[0m
This is reliably seen on the ceph-encrypt mojo specs for bionic-queens(L) and bionic-rocky(M)