Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2394077

Summary: [9.0][add-host] While adding RHEL 8 host to the RHEL 9 admin node it fails with error "No module named 'dataclasses'"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vinayak Papnoi <vpapnoi>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Vinayak Papnoi <vpapnoi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 9.0CC: cephqe-warriors, jcaratza
Target Milestone: ---Keywords: Automation, Regression
Target Release: 9.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-20.1.0-14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:58:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vinayak Papnoi 2025-09-09 14:14:29 UTC
Description of problem:
=======================
While performing add host for RHEL 8 host to the RHEL 9 admin node it fails with below error:

2025-09-08 05:27:08,995 - cephci - ceph:1645 - INFO - Execution of cephadm shell -- ceph orch host add ceph-regression-np1ccg-sqcl2q-node2 10.0.195.67 crash node-exporter mgr alertmanager osd mon on 10.0.195.2 took 16.63274 seconds
2025-09-08 05:27:08,997 - cephci - test_cephadm:189 - ERROR - cephadm shell -- ceph orch host add ceph-regression-np1ccg-sqcl2q-node2 10.0.195.67 crash node-exporter mgr alertmanager osd mon returned Inferring fsid f37b4a18-8c73-11f0-972a-fa163edee383
Inferring config /var/lib/ceph/f37b4a18-8c73-11f0-972a-fa163edee383/mon.ceph-regression-np1ccg-sqcl2q-node1-installer/config
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/f37b4a18-8c73-11f0-972a-fa163edee383/cephadm.e80c512c9da217c8c6e2da5df6e48d3b5bbc8ae11bb616978efb99e10d10afa4/__main__.py", line 171, in <module>
  File "/var/lib/ceph/f37b4a18-8c73-11f0-972a-fa163edee383/cephadm.e80c512c9da217c8c6e2da5df6e48d3b5bbc8ae11bb616978efb99e10d10afa4/cephadmlib/daemons/__init__.py", line 8, in <module>
  File "/var/lib/ceph/f37b4a18-8c73-11f0-972a-fa163edee383/cephadm.e80c512c9da217c8c6e2da5df6e48d3b5bbc8ae11bb616978efb99e10d10afa4/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):
=======================
20.1.0-6
ceph 9.0


How reproducible:
=================
1/1


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


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


Expected results:
=================
Host addition should be successful

Additional info:

Comment 6 errata-xmlrpc 2026-01-29 06:58:56 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 9.0 Security and Enhancement 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-2026:1536