Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2225141 - Enablement of foreman-plugin-kubevirt fails because of missing rubygem-jsonpath package
Summary: Enablement of foreman-plugin-kubevirt fails because of missing rubygem-jsonpa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.14.0
Assignee: Patrick Creech
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-24 11:41 UTC by Jameer Pathan
Modified: 2023-11-08 14:20 UTC (History)
5 users (show)

Fixed In Version: rubygem-jsonpath-1.1.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:20:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19113 0 None None None 2023-07-24 12:01:21 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:20:21 UTC

Description Jameer Pathan 2023-07-24 11:41:05 UTC
Description of problem:
Enablement of foreman-plugin-kubevirt fails because of missing rubygem-jsonpath package.

Version-Release number of selected component (if applicable):
- Satellite 6.14.0 snap 8
- rubygem-kubeclient-4.10.1-1.el8sat.noarch

How reproducible:
- Always

Steps to Reproduce:
1. Enable appstream, baseos, and Satellite repos.
2a. Run "satellite-installer --scenario satellite --enable-foreman-plugin-kubevirt"
OR
2b. yum install rubygem-kubeclient

Actual results:
- satellite-installer fails with "nothing provides (rubygem(jsonpath) >= 1.0 with rubygem(jsonpath) < 2) needed by rubygem-kubeclient-4.10.1-1.el8sat.noarch"

Expected results:
- No error and foreman-plugin-kubevirt is enabled successfully.

Additional info:

# satellite-installer --scenario satellite --enable-foreman-plugin-kubevirt
2023-07-24 05:53:22 [NOTICE] [root] Loading installer configuration. This will take some time.
2023-07-24 05:53:25 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2023-07-24 05:53:25 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
Package versions are locked. Continuing with unlock.
2023-07-24 05:53:30 [NOTICE] [configure] Starting system configuration.
2023-07-24 05:53:41 [NOTICE] [configure] 250 configuration steps out of 1654 steps complete.
2023-07-24 05:53:44 [NOTICE] [configure] 500 configuration steps out of 2505 steps complete.
2023-07-24 05:53:44 [NOTICE] [configure] 750 configuration steps out of 2505 steps complete.
2023-07-24 05:53:44 [NOTICE] [configure] 1000 configuration steps out of 2505 steps complete.
2023-07-24 05:53:45 [NOTICE] [configure] 1250 configuration steps out of 2505 steps complete.
2023-07-24 05:53:46 [NOTICE] [configure] 1500 configuration steps out of 2507 steps complete.
2023-07-24 05:53:49 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-foreman_kubevirt' returned 1: Error:
2023-07-24 05:53:49 [ERROR ] [configure] Problem: package rubygem-foreman_kubevirt-0.1.9-4.el8sat.noarch requires rubygem(fog-kubevirt) < 1.4, but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - package rubygem-foreman_kubevirt-0.1.9-4.el8sat.noarch requires rubygem(fog-kubevirt) >= 1.3.3, but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - package rubygem-fog-kubevirt-1.3.7-1.el8sat.noarch requires (rubygem(kubeclient) >= 4.9.3 with rubygem(kubeclient) < 5.0.0), but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - conflicting requests
2023-07-24 05:53:49 [ERROR ] [configure] - nothing provides (rubygem(jsonpath) >= 1.0 with rubygem(jsonpath) < 2) needed by rubygem-kubeclient-4.10.1-1.el8sat.noarch
2023-07-24 05:53:49 [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Kubevirt/Foreman::Plugin[kubevirt]/Package[rubygem-foreman_kubevirt]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install rubygem-foreman_kubevirt' returned 1: Error:
2023-07-24 05:53:49 [ERROR ] [configure] Problem: package rubygem-foreman_kubevirt-0.1.9-4.el8sat.noarch requires rubygem(fog-kubevirt) < 1.4, but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - package rubygem-foreman_kubevirt-0.1.9-4.el8sat.noarch requires rubygem(fog-kubevirt) >= 1.3.3, but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - package rubygem-fog-kubevirt-1.3.7-1.el8sat.noarch requires (rubygem(kubeclient) >= 4.9.3 with rubygem(kubeclient) < 5.0.0), but none of the providers can be installed
2023-07-24 05:53:49 [ERROR ] [configure] - conflicting requests
2023-07-24 05:53:49 [ERROR ] [configure] - nothing provides (rubygem(jsonpath) >= 1.0 with rubygem(jsonpath) < 2) needed by rubygem-kubeclient-4.10.1-1.el8sat.noarch
2023-07-24 05:53:49 [NOTICE] [configure] 1750 configuration steps out of 2510 steps complete.
2023-07-24 05:53:50 [NOTICE] [configure] 2000 configuration steps out of 2516 steps complete.
2023-07-24 05:53:50 [NOTICE] [configure] 2250 configuration steps out of 2516 steps complete.
2023-07-24 05:54:14 [NOTICE] [configure] 2500 configuration steps out of 2516 steps complete.
2023-07-24 05:54:18 [NOTICE] [configure] System configuration has finished.

  There were errors detected during install.
  Please address the errors and re-run the installer to ensure the system is properly configured.
  Failing to do so is likely to result in broken functionality.

  The full log is at /var/log/foreman-installer/satellite.log
Package versions are being locked.


# yum install rubygem-kubeclient
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Satellite 6.14 RHEL8                                                                                                                                                                                   290 kB/s | 3.0 kB     00:00    
Satellite Maintenance 6.14 RHEL8                                                                                                                                                                       439 kB/s | 2.6 kB     00:00    
Error: 
 Problem: conflicting requests
  - nothing provides (rubygem(jsonpath) >= 1.0 with rubygem(jsonpath) < 2) needed by rubygem-kubeclient-4.10.1-1.el8sat.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 2 Evgeni Golov 2023-07-26 08:36:57 UTC
This was broken by https://gitlab.cee.redhat.com/satellite/satellite-packaging/-/commit/40d57973e8f0f509cc2c66a48f88ed18a14a1100 as it did not pull in the other changes from https://github.com/theforeman/foreman-packaging/pull/8843

@pcreech FYI ;-)

Comment 3 Jameer Pathan 2023-08-04 11:08:57 UTC
Verified that foreman-plugin-kubevirt gets enabled successfully on Satellite 6.10.0 snap 4.

Comment 6 errata-xmlrpc 2023-11-08 14:20:07 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: Satellite 6.14 security 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-2023:6818


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