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.
The host name relates to https://bugzilla.redhat.com/show_bug.cgi?id=1997083
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