Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1415557

Summary: Do not alert if cephx is not set in ceph.conf
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Shinobu KINJO <skinjo>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Parikshith <pbyregow>
Severity: low Docs Contact:
Priority: low    
Version: 2.1CC: ceph-eng-bugs, hnallurv, jdillama
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.1.2-1.el7cp Ubuntu: ceph_12.1.2-2redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:32:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shinobu KINJO 2017-01-23 04:26:59 UTC
# ************************
# *Description of problem:
# ************************
Even auth_cluster/_service/_client_required in ceph.conf is set to *none*, there is an alert when you map images in RBD pool to localhost:

 # rbd map -p rbd test
 2017-01-23 11:47:49.458350 7ff1cd1c1d80 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory

 # grep auth_ /etc/ceph/ceph.conf
 auth_cluster_required = none
 auth_service_required = none
 auth_client_required = none

If RBD should not allow any hosts to map any images inside RBD pool in RADOS cluster, that message does make sense.

But images are able to be mapped to localhost:

 # lsblk | grep rbd
 rbd0                        252:0    0   100M  0 disk

Version-Release number of selected component (if applicable):

 * ceph-common-10.2.3-17.el7cp.x86_64

Comment 8 errata-xmlrpc 2017-12-05 23:32:37 UTC
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, 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/RHBA-2017:3387