Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2000237

Summary: Dependency issues when attempting to install Infoblox DNS and DHCP plugins
Product: Red Hat Satellite Reporter: Danny Synk <dsynk>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Danny Synk <dsynk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: aruzicka, lvrtelov, pcreech, zhunting
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:13:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
output of Infoblox plugin installation failure none

Description Danny Synk 2021-09-01 16:11:31 UTC
Created attachment 1819690 [details]
output of Infoblox plugin installation failure

Description of problem:
The Infoblox DNS and DHCP plugins fail to install on Satellite 6.10 due to dependency issues. Specifically, the tfm-rubygem-infoblox, tfm-rubygem-smart_proxy_dhcp_infoblox, and tfm-rubygem-smart_proxy_dns_infoblox packages require packages contained in the rh-ruby25 software collection:

~~~
# yum deplist tfm-rubygem-infoblox.noarch
Loaded plugins: product-id, search-disabled-repos, subscription-manager
package: tfm-rubygem-infoblox.noarch 3.0.0-3.el7sat
  dependency: rh-ruby25-ruby
   provider: rh-ruby25-ruby.x86_64 2.5.9-9.el7
  dependency: rh-ruby25-ruby(release)
   provider: rh-ruby25-ruby-libs.x86_64 2.5.9-9.el7
  dependency: rh-ruby25-ruby(rubygems)
   provider: rh-ruby25-rubygems.noarch 2.7.6.3-9.el7
  dependency: tfm-rubygem(faraday)
   provider: tfm-rubygem-faraday.noarch 0.17.3-2.el7sat
  dependency: tfm-rubygem(faraday_middleware)
   provider: tfm-rubygem-faraday_middleware.noarch 0.13.1-2.el7sat
  dependency: tfm-runtime
   provider: tfm-runtime.x86_64 7.0-1.el7sat
~~~

However, Satellite 6.10 uses the rh-ruby27 software collection:

~~~
# scl -l
rh-postgresql12
rh-redis5
rh-ruby27
tfm
~~~

Version-Release number of selected component (if applicable):
Satellite 6.10, snap 15


How reproducible:
100%

Steps to Reproduce:
1. Attempt to install either the DNS Infoblox plugin or the DHCP Infoblox plugin using the documented procedure:

~~~
# satellite-installer --enable-foreman-proxy-plugin-dns-infoblox \
> --foreman-proxy-dns true \
> --foreman-proxy-dns-managed false \
> --foreman-proxy-dns-provider infoblox \
> --foreman-proxy-plugin-dns-infoblox-dns-server infoblox.example.com \
> --foreman-proxy-plugin-dns-infoblox-username admin \
> --foreman-proxy-plugin-dns-infoblox-password infoblox \
> --foreman-proxy-plugin-dns-infoblox-dns-view default
~~~

Actual results:
The satellite-installer command fails with the attached output.

Expected results:
The plugin is successfully installed and enabled.

Comment 2 Brad Buckingham 2021-09-02 14:17:21 UTC
Is this a regression from 6.9?

Comment 3 Danny Synk 2021-09-02 14:19:54 UTC
Yes, this works as documented in 6.9.

Comment 4 Danny Synk 2021-10-12 18:59:16 UTC
Verified on Satellite 6.10, snap 22 (tfm-rubygem-infoblox-3.0.0-3.1.el7sat.noarch, tfm-rubygem-smart_proxy_dhcp_infoblox-0.0.16-4.1.el7sat.noarch, tfm-rubygem-smart_proxy_dns_infoblox-1.1.0-4.1.el7sat.noarch).

Steps to Test:
Attempt to enable the Infoblox DHCP and DNS plugins using the procedures documented in the Satellite Provisioning Guide:

~~~
# satellite-installer --enable-foreman-proxy-plugin-dhcp-infoblox \
--foreman-proxy-dhcp true \
--foreman-proxy-dhcp-managed false \
--foreman-proxy-dhcp-provider infoblox \
--foreman-proxy-plugin-dhcp-infoblox-record-type fixedaddress \
--foreman-proxy-dhcp-server infoblox.example.com \
--foreman-proxy-plugin-dhcp-infoblox-username admin \
--foreman-proxy-plugin-dhcp-infoblox-password infoblox \
--foreman-proxy-plugin-dhcp-infoblox-network-view default \
--foreman-proxy-plugin-dhcp-infoblox-dns-view default

# satellite-installer --enable-foreman-proxy-plugin-dns-infoblox \
--foreman-proxy-dns true \
--foreman-proxy-dns-managed false \
--foreman-proxy-dns-provider infoblox \
--foreman-proxy-plugin-dns-infoblox-dns-server infoblox.example.com \
--foreman-proxy-plugin-dns-infoblox-username admin \
--foreman-proxy-plugin-dns-infoblox-password infoblox \
--foreman-proxy-plugin-dns-infoblox-dns-view default
~~~

Expected Results:
The plugins are enabled and the associated packages are successfully installed.

Actual Results:
The plugins are enabled and the associated packages are successfully installed.

~~~
# rpm -qa *infoblox*
tfm-rubygem-smart_proxy_dhcp_infoblox-0.0.16-4.1.el7sat.noarch
tfm-rubygem-infoblox-3.0.0-3.1.el7sat.noarch
tfm-rubygem-smart_proxy_dns_infoblox-1.1.0-4.1.el7sat.noarch
~~~

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