Description of problem: After upgrade from RHCS 3.x to RHCS 4.1, syslog/journalctl filled with loads of SELinux access denials (selinux in permissive mode). Confirmed that the OSDs were not mounted with the given 'context=' parameter as specified by ceph.conf 'osd_mount_options_xfs' like they were in RHCS 3.x. Version-Release number of selected component (if applicable): 4.1 How reproducible: 100% Steps to Reproduce: 1. Set osd_mount_options_xfs to include anything non-default 2. Reboot OSD node 3. Observe 'mount' of filestore OSDs not honoring the new mount options. Actual results: Mounted OSDs not honoring the osd_mount_options_xfs parameter. Expected results: Mounted OSDs to honor the osd_mount_options_xfs parameter. Additional info: Upstream tracker: https://tracker.ceph.com/issues/22785 -- PR attached as resolution does not appear to have code that actually fixes the issue.
[1][2] only adds the feature to the ceph-volume lvm activate/prepare subcommands whereas the issue here is specific to the ceph-volume simple activate subcommand (which doesn't implement it). This only impacts OSD deployed in RHCS 3 with ceph-disk and using Filestore. [1] https://tracker.ceph.com/issues/22785 [2] https://github.com/ceph/ceph/pull/20408
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 4.3 Security and Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1716