Bug 1840635

Summary: Proxy has failed to load one or more features (Realm)
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: PackagingAssignee: Ewoud Kohl van Wijngaarden <ekohlvan>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: pcreech, zhunting
Target Milestone: 6.8.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:02:46 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:

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