Bug 2086101 - rhel8 repos are missing python2-qpid, making qpid-tools and thus the katello-agent support unavailable
Summary: rhel8 repos are missing python2-qpid, making qpid-tools and thus the katello-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.11.0
Assignee: Eric Helms
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-13 20:37 UTC by Gaurav Talreja
Modified: 2022-07-05 14:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:35:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:35:49 UTC

Description Gaurav Talreja 2022-05-13 20:37:01 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.11.0 Snap 20

How reproducible:
Always

Steps to Reproduce:
1. Start with Satellite 6.9.9(where katello-agent is enabled), then upgrade until Satellite 6.11.0 EL8

2. # satellite-installer --help | grep agent
    --foreman-proxy-content-enable-katello-agent  Enable katello-agent for remote yum actions (current: true)

3. # satellite-installer
2022-05-13 16:18:59 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-05-13 16:19:06 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-05-13 16:19:06 [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.
2022-05-13 16:19:29 [NOTICE] [configure] Starting system configuration.
2022-05-13 16:19:49 [NOTICE] [configure] 250 configuration steps out of 2160 steps complete.
2022-05-13 16:19:53 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install qpid-tools' returned 1: Error:
2022-05-13 16:19:53 [ERROR ] [configure] Problem: cannot install the best candidate for the job
2022-05-13 16:19:53 [ERROR ] [configure] - nothing provides python2-qpid needed by qpid-tools-1.39.0-7.el8amq.noarch
2022-05-13 16:19:53 [ERROR ] [configure] /Stage[main]/Qpid::Tools/Package[qpid-tools]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install qpid-tools' returned 1: Error:
2022-05-13 16:19:53 [ERROR ] [configure] Problem: cannot install the best candidate for the job
2022-05-13 16:19:53 [ERROR ] [configure] - nothing provides python2-qpid needed by qpid-tools-1.39.0-7.el8amq.noarch
2022-05-13 16:19:57 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install qpid-dispatch-router' returned 1: Error:
2022-05-13 16:19:57 [ERROR ] [configure] Problem: cannot install the best candidate for the job
2022-05-13 16:19:57 [ERROR ] [configure] - nothing provides python needed by qpid-dispatch-router-1.14.0-1.el7_9.x86_64
2022-05-13 16:19:57 [ERROR ] [configure] /Stage[main]/Qpid::Router::Install/Package[qpid-dispatch-router]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install qpid-dispatch-router' returned 1: Error:
2022-05-13 16:19:57 [ERROR ] [configure] Problem: cannot install the best candidate for the job
2022-05-13 16:19:57 [ERROR ] [configure] - nothing provides python needed by qpid-dispatch-router-1.14.0-1.el7_9.x86_64
2022-05-13 16:20:12 [NOTICE] [configure] 500 configuration steps out of 2167 steps complete.
2022-05-13 16:20:20 [NOTICE] [configure] 750 configuration steps out of 2169 steps complete.
2022-05-13 16:20:28 [NOTICE] [configure] 1000 configuration steps out of 2174 steps complete.
2022-05-13 16:20:28 [NOTICE] [configure] 1250 configuration steps out of 2178 steps complete.
2022-05-13 16:20:30 [ERROR ] [configure] /Stage[main]/Katello::Qpid/Qpid::Config::Queue[katello.agent]/Qpid::Config_cmd[ensure queue katello.agent]/Exec[qpid-config ensure queue katello.agent]: Could not evaluate: Could not find command 'qpid-config'
2022-05-13 16:21:29 [NOTICE] [configure] 1500 configuration steps out of 2179 steps complete.
2022-05-13 16:21:33 [NOTICE] [configure] 1750 configuration steps out of 3037 steps complete.
2022-05-13 16:21:34 [NOTICE] [configure] 2000 configuration steps out of 3037 steps complete.
2022-05-13 16:21:34 [NOTICE] [configure] 2250 configuration steps out of 3037 steps complete.
2022-05-13 16:21:35 [NOTICE] [configure] 2500 configuration steps out of 3037 steps complete.
2022-05-13 16:21:35 [NOTICE] [configure] 2750 configuration steps out of 3037 steps complete.
2022-05-13 16:21:45 [NOTICE] [configure] 3000 configuration steps out of 3037 steps complete.
2022-05-13 16:21:57 [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.

Actual results:
satellite-installer fails to install katello-agent dependencies

Expected results:
satellite-installer should pass

Additional info:

Comment 5 Lukas Pramuk 2022-05-20 09:18:10 UTC
VERIFIED.

@Satellite 6.11.0 Snap21

by the following manual reproducer:

1) Have a Satellite 6.11.0 EL8

2) Enable katello-agent optional feature

# satellite-installer --foreman-proxy-content-enable-katello-agent true
2022-05-20 05:05:18 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-05-20 05:05:24 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-05-20 05:05:24 [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.
2022-05-20 05:05:42 [NOTICE] [configure] Starting system configuration.
2022-05-20 05:06:00 [NOTICE] [configure] 250 configuration steps out of 1712 steps complete.
2022-05-20 05:06:49 [NOTICE] [configure] 500 configuration steps out of 1716 steps complete.
2022-05-20 05:06:53 [NOTICE] [configure] 750 configuration steps out of 1718 steps complete.
2022-05-20 05:06:57 [NOTICE] [configure] 1000 configuration steps out of 1722 steps complete.
2022-05-20 05:07:01 [NOTICE] [configure] 1250 configuration steps out of 1726 steps complete.
2022-05-20 05:08:43 [NOTICE] [configure] 1500 configuration steps out of 1727 steps complete.
2022-05-20 05:10:28 [NOTICE] [configure] System configuration has finished.
  Success!
  * Satellite is running at https://sat-el8.example.com

  * To install an additional Capsule on separate machine continue by running:

      capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" --certs-tar "/root/$CAPSULE-certs.tar"
  * Capsule is running at https://sat-el8.example.com:9090

  The full log is at /var/log/foreman-installer/satellite.log

>>> katello-agent gets successfully enabled on RHEL8

# rpm -qa *qpid*
qpid-cpp-client-1.39.0-7.el8amq.x86_64
qpid-cpp-server-linearstore-1.39.0-7.el8amq.x86_64
qpid-tools-1.39.0-7.el8amq.noarch
qpid-dispatch-router-1.14.0-6.el8.x86_64
qpid-proton-c-0.33.0-4.el8.x86_64
python2-qpid-1.37.0-1.el8.noarch
python2-qpid-qmf-1.39.0-7.el8amq.x86_64
rubygem-qpid_proton-0.33.0-5.el8sat.x86_64
qpid-qmf-1.39.0-7.el8amq.x86_64
python3-qpid-proton-0.33.0-4.el8.x86_64
qpid-cpp-server-1.39.0-7.el8amq.x86_64

# hammer ping
...

katello_agent:    
    Status:          ok
    message:         0 Processed, 0 Failed
    Server Response: Duration: 0ms

>>> katello-agent runs successfully on RHEL8

Comment 8 errata-xmlrpc 2022-07-05 14:35:42 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: Satellite 6.11 Release), 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-2022:5498


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