[Bug 1948986] Re: ceph-osd doesn't fix /var/lib/ceph/osd ownership in postinst
Simon Déziel
1948986 at bugs.launchpad.net
Thu Oct 28 13:19:19 UTC 2021
That is correct, the installation order needs to be ceph-base first then
ceph-osd.
When Juju puts both a ceph-fs and a ceph-osd unit on the same machine,
it sometimes bring in the ceph-base first causing problems further down
the road.
--
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