Description of problem:
In Installation Guide for Red Hat Enterprise Linux - Red Hat Ceph Storage (https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/paged/installation-guide-for-red-hat-enterprise-linux/chapter-5-upgrading-ceph-storage-cluster), there is instruction for changing ownership of several directories, like for example:
Chapter 5.1.1 Upgrading a Ceph Monitor Node
5. As root, update the owner and group permissions:
# chown -R <owner>:<group> <path_to_directory>
# chown -R ceph:ceph /var/lib/ceph/mon
# chown -R ceph:ceph /var/log/ceph
# chown -R ceph:ceph /var/run/ceph
# chown -R ceph:ceph /etc/ceph
Similar examples are in different places throughout the document.
The last command can potentially break function of OpenStack commands, when monitoring node is running on OSP controller nodes.
We have seen this for glance/cinder not being able to upload image to storage, because ownership for following keyring files was incorrectly set to ceph:ceph, instead of correct glance:glance, and cinder:cinder, respectively.
$ ls -al /etc/ceph
-rw-------. 1 ceph ceph 64 <date> ceph.client.cinder.keyring
-rw-------. 1 ceph ceph 64 <date> ceph.client.glance.keyring
Version-Release number of selected component (if applicable):
Ceph storage monitoring running on OSP controller nodes.
Steps to Reproduce:
The best way would be to specify exat files which need to have changed ownership.
Second best way is to make a note that in such a situation files which are used by OSP need to have appropriate ownership/access rights set up.