Enabling Realm proxy on Foreman host requires manual gem installation
I'm running Foreman 2.0 with Katello 1.15. I was attempting to install the Realm proxy on the same Foreman host.
Following the steps at https://theforeman.org/manuals/2.0/index.html#4.3.8Realm will cause the following error:
"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"
I traced this to the following file:
group :realm_freeipa do gem 'xmlrpc', '~> 0.2' if RUBY_VERSION >= '2.4' end
In order to solve this, I had to run the following:
scl enable tfm "gem install xmlrpc -v 0.2.1"
Note that foreman-installer will not do this for you. After a reboot, the Realm proxy works as intended.