Bug 1952189

Summary: [cephadm] mgr/cephadm: fix nfs-rgw stray daemon
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Daniel Pivonka <dpivonka>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: urgent Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: dpivonka, kdreyer, sewagner, tserlin, vereddy, vimishra
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-20.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:29:49 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 Vasishta 2021-04-21 17:38:20 UTC
Description of problem:
NFS+RGW daemon reported as stray after upgrading from nautilus to pacific

Version-Release number of selected component (if applicable):
cephadm-16.2.0-10.el8cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. Configure RHCS 4.x cluster with nfs+rgw daemon
2. Upgrade to RHCS 5.x and adopt the cluster


Actual results:
[WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm
    stray daemon 64510 on host vasi-1619020059404-node6-osd-rgw-nfs not managed by cephadm


Expected results:
NFS must get adopted and reported as adopted

Additional info:
Initially BZ was hit and reported here- BZ 1944504
This BZ is blocking Verification of BZ 1944504
New BZ is being filed to track the cephadm fixes to downstream.

Comment 1 Daniel Pivonka 2021-04-22 21:47:40 UTC
upstream tracker: https://tracker.ceph.com/issues/50248
upstream master pr (merged): https://github.com/ceph/ceph/pull/40711

backport to upstream pacific: https://github.com/ceph/ceph/pull/40922

Comment 4 Daniel Pivonka 2021-04-28 17:50:31 UTC
*** Bug 1953200 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2021-08-30 08:29:49 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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-2021:3294