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 1840635 - Proxy has failed to load one or more features (Realm)
Summary: Proxy has failed to load one or more features (Realm)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Ewoud Kohl van Wijngaarden
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 11:21 UTC by Lukas Pramuk
Modified: 2020-10-27 13:02 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30040 0 Normal Closed Foreman proxy realm plugin missing xmlrpc -- needs to install rh-ruby25-rubygem-xmlrpc 2020-11-25 15:37:37 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:02:57 UTC

Description Lukas Pramuk 2020-05-27 11:21:16 UTC
Description of problem:
When trying to enable Realm feature the installer fails the error:

Proxy satellite.example.com has failed to load one or more features


Version-Release number of selected component (if applicable):
Satellite 6.8.0 Snap 0.3


How reproducible:
deterministic


Steps to Reproduce:
1. # satellite-installer --foreman-proxy-realm true 


Actual results:
installer fails as proxy has failed to load Realm feature


Expected results:
installer succeeds as proxy loads Realm feature successfully 

Additional info:
/var/log/foreman-proxy/proxy.log:
---------------------------------
[E] Disabling all modules in the group ['realm_freeipa', 'realm'] due to a failure in one of them: Gem loading error: cannot load such file -- xmlrpc

Comment 1 Bryan Kearney 2020-06-25 16:01:54 UTC
Upstream bug assigned to ekohlvan

Comment 2 Bryan Kearney 2020-06-25 16:01:56 UTC
Upstream bug assigned to ekohlvan

Comment 3 Bryan Kearney 2020-06-29 16:01:57 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30040 has been resolved.

Comment 4 Lukas Pramuk 2020-07-14 12:45:22 UTC
VERIFIED.

@Satellite 6.8.0 Snap8
foreman-proxy-2.1.0-1.el7sat.noarch
tfm-rubygem-xmlrpc-0.3.0-2.el7sat.noarch

by the following manual reproducer:

1) Populate /etc/foreman-proxy/freeipa.keytab and install IPA client

# yum -y install ipa-client ipa-admintools

2) Setup IPA client

# ipa-client-install --password=<pass> --principal=admin --unattended --no-ntp --domain=example.com --server=ipa.example.com

3) Enable Realm feature

# satellite-installer -v --foreman-proxy-realm true
...
  Success!
  * Satellite is running at https://sat.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"

  * To upgrade an existing 6.7 Capsule to 6.8:
      Please see official documentation for steps and parameters to use when upgrading a 6.7 Capsule to 6.8.

  * Capsule is running at https://sat.example.com:9090
  The full log is at /var/log/foreman-installer/satellite.log
Package versions are being locked.
[ INFO 2020-07-13T18:24:58 verbose] Package versions are being locked.
[ INFO 2020-07-13T18:25:00 verbose] All hooks in group post finished
[ INFO 2020-07-13T18:25:00 verbose] Installer finished in 130.459927723 seconds

>>> Realm feature being enabled successfully (as foreman-proxy rpm now requires tfm-rubygem-xmlrpc)

Comment 7 errata-xmlrpc 2020-10-27 13:02:46 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.