Bug 2031173 - [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"
Summary: [cee/sd][ceph-volume]ceph-volume log reports the error "ceph_volume.exception...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 5.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: 5.2
Assignee: Guillaume Abrioux
QA Contact: ngangadh
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-10 16:57 UTC by Geo Jose
Modified: 2022-08-09 17:37 UTC (History)
8 users (show)

Fixed In Version: ceph-16.2.8-2.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 46053 0 None open ceph-volume: only warn when config file isn't found 2022-04-27 12:16:48 UTC
Red Hat Issue Tracker RHCEPH-2681 0 None None None 2021-12-10 17:05:25 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.