.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.
DescriptionLijo 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.
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
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.