Bug 2351292 - [8.1] [Add-host] [Mix OS] While adding RHEL 8 host to the RHEL 9 admin node it fails with error "No module named 'dataclasses'"
Summary: [8.1] [Add-host] [Mix OS] While adding RHEL 8 host to the RHEL 9 admin node i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 8.1
Assignee: Adam King
QA Contact: Vinayak Papnoi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-11 07:47 UTC by Vinayak Papnoi
Modified: 2025-06-26 12:28 UTC (History)
2 users (show)

Fixed In Version: ceph-19.2.1-148.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-06-26 12:28:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-10816 0 None None None 2025-03-11 07:48:04 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:28:08 UTC

Description Vinayak Papnoi 2025-03-11 07:47:48 UTC
Description of problem:
=======================
While performing add host for RHEL 8 host to the RHEL 9 admin node it fails with below error:

[ceph: root@ceph-vpap-81-bmunv8-node1-installer /]# ceph orch host add ceph-vpap-81-bmunv8-node2 10.0.67.137 crash mgr mon osd alertmanager node-exporter
Error EINVAL: check-host failed:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/var/lib/ceph/6a3afba0-fe47-11ef-a55c-fa163ee59147/cephadm.60ed76ae9fff5863897f3db3904e7408a6cbb3e7059b72fbb40aa12e28166a5f/__main__.py", line 171, in <module>
  File "/var/lib/ceph/6a3afba0-fe47-11ef-a55c-fa163ee59147/cephadm.60ed76ae9fff5863897f3db3904e7408a6cbb3e7059b72fbb40aa12e28166a5f/cephadmlib/daemons/__init__.py", line 8, in <module>
  File "/var/lib/ceph/6a3afba0-fe47-11ef-a55c-fa163ee59147/cephadm.60ed76ae9fff5863897f3db3904e7408a6cbb3e7059b72fbb40aa12e28166a5f/cephadmlib/daemons/smb.py", line 1, in <module>
ModuleNotFoundError: No module named 'dataclasses'


Scenario:
Admin node - RHEL 9
Other node - RHEL 8



Version-Release number of selected component (if applicable):
=============================================================
ceph 19.2.1-26

How reproducible:
=================
Always

Steps to Reproduce:
===================
1. Bootstrap CEPH 8.1 cluster with RHEL 9 as the admin node
2. Add RHEL 8.x host to the cluster using "ceph orch host add" command
3.

Actual results:
===============
As seen in description

Expected results:
=================
Add host should succeed

Additional info:
================
This failure is observed for build version "19.2.1-26" and up. The test was passing for previous versions.

Comment 19 errata-xmlrpc 2025-06-26 12:28:05 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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-2025:9775


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