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 1827583 - Installing dhcp_isc and dhcp_remote_isc fails with "You cannot specify the same gem twice with different version requirements.....You specified: rsec (< 1) and rsec (>= 0)"
Summary: Installing dhcp_isc and dhcp_remote_isc fails with "You cannot specify the sa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.7.0
Hardware: All
OS: All
medium
medium
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-24 09:18 UTC by Nithin Thomas
Modified: 2023-10-06 19:45 UTC (History)
4 users (show)

Fixed In Version: tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:02:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28726 0 Normal Resolved Installing dhcp_isc and dhcp_remote_isc fails with "You cannot specify the same gem twice with different version require... 2020-10-28 17:38:22 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:02:29 UTC

Description Nithin Thomas 2020-04-24 09:18:08 UTC
Description of problem:

 ==> https://projects.theforeman.org/issues/28726

Version:

- satellite 6.7

Workaround:

 a) Edit  /usr/share/foreman-proxy/bundler.d/dhcp_remote_isc.rb

 b) change line no 2:

     from: gem 'rsec'
     to:   gem 'rsec', '< 1'

refer: https://github.com/theforeman/smart_proxy_dhcp_remote_isc/pull/3/files

Comment 2 Bryan Kearney 2020-05-04 16:51:37 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28726 has been resolved.

Comment 3 Lukas Pramuk 2020-10-15 02:25:58 UTC
VERIFIED.

@Satellite 6.8.0 Snap18
tfm-rubygem-smart_proxy_dhcp_remote_isc-0.0.5-2.el7sat.noarch

by the following manual reproducer:

1) Install satellite and enable DHCP feature

# satellite-installer --foreman-proxy-dhcp true

2) Install remote isc provider

# satellite-installer --enable-foreman-proxy-plugin-dhcp-remote-isc --foreman-proxy-dhcp-provider=remote_isc
...
  Success!
  * Satellite is running at https://sat.example.com
...

3) Check foreman-proxy service status

# service foreman-proxy status
Redirecting to /bin/systemctl status foreman-proxy.service
● foreman-proxy.service - Foreman Proxy
   Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-10-14 21:59:29 EDT; 2min ago
...

4) Check for rsec gem required versions

 # grep -r rsec /usr/share/foreman-proxy/bundler.d/
/usr/share/foreman-proxy/bundler.d/dhcp_isc.rb:  gem 'rsec', '< 1'
/usr/share/foreman-proxy/bundler.d/dhcp_isc.rb:  gem 'rsec', '< 1'
/usr/share/foreman-proxy/bundler.d/dhcp_remote_isc.rb:  gem 'rsec', '< 1'

>>> both dhcp_isc.rb and dhcp_remote_isc.rb require the same version of rsec

Comment 6 errata-xmlrpc 2020-10-27 13:02:09 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.8 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-2020:4366


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