Public bug reported: When using bluestore or filestore with a separate journal device, we often see that the ceph-osd daemon crashes on activation with a 'permission denied' error on the link to the block device supporting the particular component of the OSD (bluestore block/wal/db or journal device for filestore).
chown -R ceph:ceph /dev/dm-X fixes the issue and the osd can then be started; I've also not seen this issue occur during a normal reboot (as the permissions are re-asserted by ceph-volume as OSD's are started up). Hunch is something udev-y is racing with ceph-volume on the initial activiate call but not tracked it down yet. ** Affects: ceph (Ubuntu) Importance: Undecided Status: New ** Summary changed: - ceph-volume block device permissions not set on initial activate call + ceph-volume: block device permissions sometimes not set on initial activate call -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767087 Title: ceph-volume: block device permissions sometimes not set on initial activate call To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1767087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs