Bug 2080242

Summary: [GSS][cephadm][`cephadm ls` is listing non-existing legacy services after a migration from ceph-ansible to cephadm]
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: nravinas
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manasa <mgowri>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.0CC: adking, akraj, fpantano, gjose, jansingh, kdreyer, lithomas, mgowri, mhackett, mmuench, pdhiran, tserlin, vereddy
Target Milestone: ---Keywords: Rebase
Target Release: 5.2   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.8-2.el8cp Doc Type: Bug Fix
Doc Text:
.`Cephadm` no longer infers configuration files from legacy daemons Previously, `Cephadm` would infer config files from legacy daemons, regardless of whether the daemons were still present, based on the existence of a `/var/lib/ceph/{mon|osd|mgr}` directory. This caused certain tasks, such as refreshing the disks, to fail on nodes where these directories existed, as `Cephadm` would throw an error when it attempts to infer the non-existent configuration file. With the current fix, `Cephadm` no longer infers configuration files from legacy daemons; instead it checks for existing configuration files before inferring. `Cephadm` no longer encounters issues when refreshing daemons or devices on a host, due to the existence of a legacy daemon directory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 17:38:20 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:
Bug Depends On:    
Bug Blocks: 1820257, 2102272    

Comment 12 Mike Hackett 2022-05-10 20:17:21 UTC
*** Bug 2059059 has been marked as a duplicate of this bug. ***

Comment 26 errata-xmlrpc 2022-08-09 17:38:20 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

Comment 27 Guillaume Abrioux 2022-09-20 12:25:06 UTC
*** Bug 2090396 has been marked as a duplicate of this bug. ***