Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-19113

Enablement of foreman-plugin-kubevirt fails because of missing rubygem-jsonpath package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.14.0
    • 6.14.0
    • None
    • Important
    • Yes

      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:

      1. 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.

      1. 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)

            pcreech@redhat.com Patrick Creech
            jira-bugzilla-migration RH Bugzilla Integration
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: