ceph-ansible creates /etc/ceph/iscsi-gateway.conf with insecure ownership. This file contains sensitive information that can be read by any user on the system.
*** Bug 1892106 has been marked as a duplicate of this bug. ***
Upstream fix: https://github.com/ceph/ceph-ansible/pull/5964
RHOSP13(queens): 'deploy gateway settings' was still in tasks/prerequisites.yml (moved later to tasks/common.yml), but has the same error (600 mode isn't specified for the iscsi-gateway.cfg file).
Red Hat OpenStack Platform 13 ships the flawed code, however RHOSP does not deploy ceph-iscsi-gw role in any supported scenario. For this reason, a ceph-ansible update will not be provided at this time.
Red Hat Ceph Storage 3 and 4 create /etc/ceph/iscsi-gateway.conf with the insecure permissions.
This issue has been addressed in the following products:
Red Hat Ceph Storage 4.2
Via RHSA-2021:0081 https://access.redhat.com/errata/RHSA-2021:0081
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):