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 1994490 - Not possible to enable remote_isc dhcp
Summary: Not possible to enable remote_isc dhcp
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.10.0
Hardware: All
OS: All
high
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-17 11:50 UTC by Jan Jansky
Modified: 2021-11-16 14:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Full latest installer log (2.86 MB, text/plain)
2021-08-17 11:50 UTC, Jan Jansky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:17 UTC

Description Jan Jansky 2021-08-17 11:50:59 UTC
Created attachment 1814761 [details]
Full latest installer log

Description of problem: It is not possible to enable remote_isc type of dhcp proxy due to dependency issues on RH Satellite 6.10 snap 13.


Version-Release number of selected component (if applicable):
RH Satellite 6.10 snap 13

How reproducible: Always


Steps to Reproduce:
1. Have remote dhcp
2. Fresh install of Satellite 6.10 snap 13
3. Enable remote_isc dhcp with command below

# satellite-installer --foreman-proxy-dhcp=true \
--foreman-proxy-dhcp-provider=remote_isc \
--foreman-proxy-plugin-dhcp-remote-isc-dhcp-config /mnt/nfs/etc/dhcp/dhcpd.conf \
--foreman-proxy-plugin-dhcp-remote-isc-dhcp-leases /mnt/nfs/var/lib/dhcpd/dhcpd.leases \
--foreman-proxy-plugin-dhcp-remote-isc-key-name=omapi_key \
--foreman-proxy-plugin-dhcp-remote-isc-key-secret=QtINKMNxhm1iC6R80N1qPHQ9vzPv09LzNlT7bIfoyNse8J1WQfiiBi1lsqJwJwUf/qXvIs0pMhCnfj/LAV+Yeg== \
--foreman-proxy-plugin-dhcp-remote-isc-omapi-port=7911 \
--enable-foreman-proxy-plugin-dhcp-remote-isc \
--foreman-proxy-dhcp-server=jjansky-services.sat610.jjansky.lan

Actual results:
2021-08-17 13:19:55 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-smart_proxy_dhcp_remote_isc' returned 1: Package rh-ruby25-rubygems-2.7.6.3-9.el7.noarch is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package rh-ruby25-ruby-libs-2.5.9-9.el7.x86_64 is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package rh-ruby25-ruby-2.5.9-9.el7.x86_64 is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby(release)
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.0
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.3
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.5
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.5
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.9-9.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.9
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.0-5.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.3-6.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.5-7.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.5-8.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.9-9.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.9-9.el7
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby(rubygems)
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.3-5.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.3-5.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6-6.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6-6.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.2-7.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.2-7.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.2-8.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.2-8.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.3-9.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.3-9.el7
2021-08-17 13:19:55 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-08-17 13:19:55 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-08-17 13:19:55 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Plugin::Dhcp::Remote_isc/Foreman_proxy::Plugin::Provider[dhcp_remote_isc]/Foreman_proxy::Plugin[dhcp_remote_isc]/Package[tfm-rubygem-smart_proxy_dhcp_remote_isc]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-smart_proxy_dhcp_remote_isc' returned 1: Package rh-ruby25-rubygems-2.7.6.3-9.el7.noarch is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package rh-ruby25-ruby-libs-2.5.9-9.el7.x86_64 is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package rh-ruby25-ruby-2.5.9-9.el7.x86_64 is obsoleted by satellite-common-6.10.0-0.6.beta.el7sat.noarch which is already installed
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby(release)
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.0
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.3
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.5
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.5
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-libs-2.5.9-9.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(release) = 2.5.9
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.0-5.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.3-6.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.5-7.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.5-8.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-ruby-2.5.9-9.el7.x86_64 (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby = 2.5.9-9.el7
2021-08-17 13:19:55 [ERROR ] [configure] Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
2021-08-17 13:19:55 [ERROR ] [configure] Requires: rh-ruby25-ruby(rubygems)
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.3-5.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.3-5.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6-6.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6-6.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.2-7.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.2-7.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.2-8.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.2-8.el7
2021-08-17 13:19:55 [ERROR ] [configure] Available: rh-ruby25-rubygems-2.7.6.3-9.el7.noarch (rhel-server-rhscl-7-rpms)
2021-08-17 13:19:55 [ERROR ] [configure] rh-ruby25-ruby(rubygems) = 2.7.6.3-9.el7
2021-08-17 13:19:55 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-08-17 13:19:55 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest

Expected results:
Enabled remote_isc dhcp.

Additional info:
I have reproducer if needed and external DHCP server which is also working with Sat 6.6, 6.7, 6.8 and 6.9.

Comment 2 Jan Jansky 2021-08-20 08:55:35 UTC
Just tested to upgrade my 6.9 to 6.10, 6.9 has enabled and working remote_isc dhcp, upgrade failed on package-update step with same error

Error: Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: rh-ruby25-ruby
           Removing: rh-ruby25-ruby-2.5.9-9.el7.x86_64 (@rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby = 2.5.9-9.el7
           Obsoleted By: satellite-common-6.10.0-0.7.beta.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
               Not found
           Available: rh-ruby25-ruby-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby = 2.5.0-5.el7
           Available: rh-ruby25-ruby-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby = 2.5.3-6.el7
           Available: rh-ruby25-ruby-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby = 2.5.5-7.el7
           Available: rh-ruby25-ruby-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby = 2.5.5-8.el7
Error: Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: rh-ruby25-ruby(rubygems)
           Removing: rh-ruby25-rubygems-2.7.6.3-9.el7.noarch (@rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(rubygems) = 2.7.6.3-9.el7
           Obsoleted By: satellite-common-6.10.0-0.7.beta.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
               Not found
           Available: rh-ruby25-rubygems-2.7.3-5.el7.noarch (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(rubygems) = 2.7.3-5.el7
           Available: rh-ruby25-rubygems-2.7.6-6.el7.noarch (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(rubygems) = 2.7.6-6.el7
           Available: rh-ruby25-rubygems-2.7.6.2-7.el7.noarch (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(rubygems) = 2.7.6.2-7.el7
           Available: rh-ruby25-rubygems-2.7.6.2-8.el7.noarch (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(rubygems) = 2.7.6.2-8.el7
Error: Package: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.el7sat.noarch (@rhel-7-server-satellite-6.9-rpms)
           Requires: rh-ruby25-ruby(release)
           Removing: rh-ruby25-ruby-libs-2.5.9-9.el7.x86_64 (@rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(release) = 2.5.9
           Obsoleted By: satellite-common-6.10.0-0.7.beta.el7sat.noarch (Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7)
               Not found
           Available: rh-ruby25-ruby-libs-2.5.0-5.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(release) = 2.5.0
           Available: rh-ruby25-ruby-libs-2.5.3-6.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(release) = 2.5.3
           Available: rh-ruby25-ruby-libs-2.5.5-7.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(release) = 2.5.5
           Available: rh-ruby25-ruby-libs-2.5.5-8.el7.x86_64 (rhel-server-rhscl-7-rpms)
               rh-ruby25-ruby(release) = 2.5.5

Comment 4 Lukas Pramuk 2021-10-16 19:39:24 UTC
VERIFIED.

@Satellite 6.10.0 Snap23
tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.1.el7sat.noarch

by the following manual steps:

# yum --disableplugin=foreman-protector install tfm-rubygem-smart_proxy_dhcp_remote_isc
...

Resolving Dependencies
--> Running transaction check
---> Package tfm-rubygem-smart_proxy_dhcp_remote_isc.noarch 0:0.0.5-3.1.el7sat will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                             Arch   Version          Repository                                            Size
========================================================================================================================
Installing:
 tfm-rubygem-smart_proxy_dhcp_remote_isc
                                     noarch 0.0.5-3.1.el7sat Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7  19 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total download size: 19 k
Installed size: 40 k
Is this ok [y/d/N]: y
Downloading packages:
tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.1.el7sat.noarch.rpm                              |  19 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.1.el7sat.noarch                                      1/1 
Loaded plugins: product-id, subscription-manager
  Verifying  : tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-3.1.el7sat.noarch                                      1/1 

Installed:
  tfm-rubygem-smart_proxy_dhcp_remote_isc.noarch 0:0.0.5-3.1.el7sat                                                     

Complete!

>>> tfm-rubygem-smart_proxy_dhcp_remote_isc gets successfully installed

# rpm -qR tfm-rubygem-smart_proxy_dhcp_remote_isc | grep ruby2
rh-ruby27-ruby
rh-ruby27-ruby(release)
rh-ruby27-ruby(rubygems)

>>> as the rpm requires correct ruby version

Comment 7 errata-xmlrpc 2021-11-16 14:13:10 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.10 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-2021:4702


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