[Bug 1767087] [NEW] ceph-volume: block device permissions sometimes not set on initial activate call

James Page james.page at ubuntu.com
Thu Apr 26 09:35:17 UTC 2018


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
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1767087

Title:
  ceph-volume: block device permissions sometimes not set on initial
  activate call

Status in ceph package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1767087/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list