Bug 2031173

Summary: [cee/sd][ceph-volume]ceph-volume log reports the error "ceph_volume.exceptions.ConfigurationError: Unable to load expected Ceph config at: /etc/ceph/ceph.conf"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: Ceph-VolumeAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: ngangadh
Severity: low Docs Contact: Akash Raj <akraj>
Priority: low    
Version: 5.0CC: akraj, ceph-eng-bugs, gabrioux, jeremy.coulombe, kdreyer, mmuench, ngangadh, vereddy
Target Milestone: ---Keywords: Rebase
Target Release: 5.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.8-2.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 17:36:46 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 Geo Jose 2021-12-10 16:57:49 UTC
Description of problem:
 - ceph-volume log reports the error below error even though ceph.conf is present on the machine:
~~~
[2021-12-08 15:15:47,840][ceph_volume.main][INFO  ] Running command: ceph-volume  inventory --format=json --filter-for-batch
[2021-12-08 15:15:47,840][ceph_volume.main][ERROR ] ignoring inability to load ceph.conf
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 144, in main
    conf.ceph = configuration.load(conf.path)
  File "/usr/lib/python3.6/site-packages/ceph_volume/configuration.py", line 51, in load
    raise exceptions.ConfigurationError(abspath=abspath)
ceph_volume.exceptions.ConfigurationError: Unable to load expected Ceph config at: /etc/ceph/ceph.conf
~~~

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

Comment 13 ngangadh 2022-05-27 06:41:40 UTC
thank you. The error is not logged in ceph-volume.log, closing the BZ as verified.

Comment 17 errata-xmlrpc 2022-08-09 17:36:46 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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement 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:5997