[Bug 1948986] Re: ceph-osd doesn't fix /var/lib/ceph/osd ownership in postinst

James Page 1948986 at bugs.launchpad.net
Thu Oct 28 08:38:41 UTC 2021


This issue won't just impact /var/lib/ceph/osd which makes me wonder if
we should just move all directory creation to ceph-base and not worry
about it in ceph-{osd,mon,mds,mgr} and radosgw.

** Changed in: ceph (Ubuntu)
       Status: New => Triaged

** Changed in: ceph (Ubuntu)
   Importance: Undecided => Low

-- 
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/1948986

Title:
  ceph-osd doesn't fix /var/lib/ceph/osd ownership in postinst

Status in ceph package in Ubuntu:
  Triaged

Bug description:
  Steps to reproduce:

  1) Setup and enter a LXD VM
  $ lxc launch images:ubuntu/focal foo --vm
  $ lxc shell foo
  2) Install ceph-base in the VM
  # apt-get update -qq
  # apt-get --assume-yes --option=Dpkg::Options::=--force-confold install ceph-base
  3) Install ceph-osd
  # apt-get --assume-yes --option=Dpkg::Options::=--force-confold install ceph-osd
  4) check the ownership of /var/lib/ceph/osd
  # ll /var/lib/ceph/
  total 48
  drwxr-x--- 12 ceph ceph 4096 Oct 27 19:20 ./
  drwxr-xr-x 23 root root 4096 Oct 27 19:20 ../
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-mds/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-mgr/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-osd/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-rbd/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-rbd-mirror/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 bootstrap-rgw/
  drwxr-xr-x  3 ceph ceph 4096 Oct 27 19:19 crash/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 mds/
  drwxr-xr-x  2 root root 4096 Sep  6 08:41 osd/
  drwxr-xr-x  2 ceph ceph 4096 Sep  6 08:41 tmp/

  The osd/ should be owned by "ceph:ceph" like the other directories.

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




More information about the Ubuntu-openstack-bugs mailing list