Bug 2048734

Summary: cephadm-adopt playbook fails managing the existing nodes
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Teoman ONAY <tonay>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.1CC: amsyedha, aschoen, ceph-eng-bugs, ceph-qe-bugs, gabrioux, gmeno, gsitlani, kdreyer, mgowri, nthomas, tonay, tserlin, vereddy, ykaul
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.25.4-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:23:35 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, 2057528    

Description Francesco Pantano 2022-01-31 18:01:18 UTC
Description of problem:

During the upgrade from RHCS4 to RHCS5 via ceph-ansible, the cephadm-adopt.yaml playbook is executed as part of the upgrade process with the purpose of enabling cephadm (which is required, at this point, for most of day2 operations).
The current cephadm-adopt implementation tries to build new ssh keys for the root user, which is not something that can be allowed in a director deployed Ceph cluster, and fails connecting to the remote nodes.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 16 Veera Raghava Reddy 2022-03-18 11:25:30 UTC
Thanks Francesco.
The PR linked to Both the bugs is same - https://github.com/ceph/ceph-ansible/pull/7080.
Based on the verification of Bug https://bugzilla.redhat.com/show_bug.cgi?id=2057528 moving this Bug to Verified.

Comment 17 Ameena Suhani S H 2022-03-18 12:44:51 UTC
Re-opening the bz and moving it to ASSIGNED as @toeman is still working on fixing this.

Comment 19 Teoman ONAY 2022-03-18 14:32:46 UTC
Fix pushed upstream and should still target 5.1

Comment 24 errata-xmlrpc 2022-04-04 10:23:35 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 5.1 Security, Enhancement, and Bug Fix 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:1174