-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.2
-
None
-
insights-core-3.6.10.1-3.el10
-
Yes
-
Critical
-
1
-
insights-adv-framework
-
None
-
False
-
False
-
-
No
-
Framework Sprint Nov10-Nov28
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
The newest RPM build of insights-core for RHEL 10.2 (insights-core-3.6.9.3-1) does not have v2.py file. When insights-client is run, it fails with an error "ModuleNotFoundError: No module named 'insights.client.phase.v2'".
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
# rpm -q insights-client insights-core insights-core-selinux selinux-policy insights-client-3.10.2-2.el10.noarch insights-core-3.6.9.3-1.el10.noarch insights-core-selinux-3.7.0-1.el10.noarch selinux-policy-42.1.11-1.el10.noarch
How reproducible is this bug?:
Always
Steps to reproduce
- Install the newest package of insights-core from AppStream - insights-core-3.6.9.3-1.el10.noarch
- Run insights-client
Expected results
Using the following packages:
# rpm -q insights-client insights-core insights-core-selinux selinux-policy insights-client-3.10.2-2.el10.noarch insights-core-3.6.9.2-1.el10.noarch insights-core-selinux-3.6.9.2-1.el10.noarch selinux-policy-42.1.11-1.el10.noarch
insights-client works fine:
# insights-client Starting to collect Insights data for kvm-02-guest20.lab.eng.rdu2.redhat.com Writing RHSM facts to /etc/rhsm/facts/insights-client.facts ... Uploading Insights data. Successfully uploaded report for kvm-02-guest20.lab.eng.rdu2.redhat.com. # rpm -ql insights-core | grep v2.py /usr/lib/python3.12/site-packages/insights/client/phase/v2.py
Actual results
# insights-client Traceback (most recent call last): File "/usr/bin/insights-client", line 5, in <module> from insights_client import _main File "/usr/lib/python3.12/site-packages/insights_client/__init__.py", line 9, in <module> from insights.client.phase.v2 import get_phases ModuleNotFoundError: No module named 'insights.client.phase.v2' # rpm -ql insights-core | grep v2.py #
- links to
-
RHBA-2025:155891
insights-core update