Bug 2048734 - cephadm-adopt playbook fails managing the existing nodes
Summary: cephadm-adopt playbook fails managing the existing nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.1
Assignee: Teoman ONAY
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks: 1820257 2057528
TreeView+ depends on / blocked
 
Reported: 2022-01-31 18:01 UTC by Francesco Pantano
Modified: 2022-04-04 10:23 UTC (History)
14 users (show)

Fixed In Version: ceph-ansible-6.0.25.4-1.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-04 10:23:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 7080 0 None open adopt: various fixes 2022-03-03 13:03:08 UTC
Red Hat Issue Tracker RHCEPH-3077 0 None None None 2022-01-31 18:08:12 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:23:57 UTC

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


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