Bug 2006415 - [cee/sd][ceph-ansible] cepadm-adopt.yml playbook fails at: TASK [manage nodes with cephadm]
Summary: [cee/sd][ceph-ansible] cepadm-adopt.yml playbook fails at: TASK [manage nodes...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 5.1
Assignee: Guillaume Abrioux
QA Contact: Manasa
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 2031073
TreeView+ depends on / blocked
 
Reported: 2021-09-21 17:15 UTC by Lijo Stephen Thomas
Modified: 2024-12-20 21:08 UTC (History)
15 users (show)

Fixed In Version: ceph-ansible-6.0.19-1.el8cp
Doc Type: Bug Fix
Doc Text:
.The `cephadm-adopt` playbook uses the IP address in the public network Previously, the `cephadm-adopt` playbook would fail to manage nodes where the IP address was not in the subnet in the default route. With this release, the playbook uses the IP address from the public network instead of the subnet and manages the nodes as expected.
Clone Of:
Environment:
Last Closed: 2022-04-04 10:21:43 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6975 0 None Merged [skip ci] cephadm: use public_network when adding hosts 2022-01-27 15:22:23 UTC
Red Hat Bugzilla 1997083 1 high CLOSED [ceph-ansible] [Testathon] cephadm-adopt.yml fails on "TASK [manage nodes with cephadm]" 2024-12-20 20:48:50 UTC
Red Hat Issue Tracker RHCEPH-1842 0 None None None 2021-09-21 17:15:50 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:22:07 UTC

Description Lijo Stephen Thomas 2021-09-21 17:15:29 UTC
Description of problem:
=======================
cepadm-adopt.yml playbook fails at: TASK [manage nodes with cephadm] with below error:

Error on mon node:
  stderr: 'Error EINVAL: Host mon1 (10.x.x.x) failed check(s): [''hostname "mon1.example.com" does not match expected hostname "mon1"'']'

Error on osd node: The task tries to connect to 
  stderr: |-
    Error EINVAL: Failed to connect to bashful (192.x.x.x).
    Please make sure that the host is reachable and accepts connections using the cephadm SSH key





Version-Release number of selected component (if applicable):
=============================================================
Upgrade from RHCS 4.2z2 async to RHCS 5.0


How reproducible:


Steps to Reproduce:
===================
1. Configure RHCS 4.2z2 async with public n/w and cluster n/w
2. Have default route set to cluster n/w
2. Execute rolling_update to RHCS 5.0
3. Run cephadm-adopt.yml for takeover.


Actual results:
===============
Playbook fails to takeover


Expected results:
=================
Playbook should complete without any errors.

Comment 2 Sebastian Wagner 2021-09-22 06:12:11 UTC
The host name relates to https://bugzilla.redhat.com/show_bug.cgi?id=1997083

Comment 17 errata-xmlrpc 2022-04-04 10:21:43 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.