Weird, as this is not what foreman-installer showed me. I checked it out; and, at first, it appeared as though the --verbose -l DEBUG flags only apply to stdout, and not katello.log. That said, upon further inspection, it’s now clear that foreman-installer omits this line from the log by design; which, I think, unintentionally provides a false narrative:
* Foreman is running at https://theforeman.example.com
Initial credentials are admin / 3ekw5xtyXCoXxS29
* Foreman Proxy is running at https://theforeman.example.com:8443
* The full log is at /var/log/foreman-installer/foreman-installer.log
[DEBUG 2020-12-03T20:15:31 main] /File[/opt/puppetlabs/puppet/cache/locales]: Adding autorequire relationship with File[/opt/puppetlabs/puppet/cache]
[DEBUG 2020-12-03T20:15:31 main] Finishing transaction 53036520
[DEBUG 2020-12-03T20:15:31 main] Received report to process from satellite.gtkcentral.net
[ INFO 2020-12-03T20:15:33 main] Puppet has finished, bye!
[ INFO 2020-12-03T20:15:33 main] Executing hooks in group post
[DEBUG 2020-12-03T20:15:33 main] Hook /usr/share/foreman-installer/hooks/post/30-upgrade.rb returned nil
[DEBUG 2020-12-03T20:15:33 main] Hook /usr/share/foreman-installer/hooks/post/99-post_install_message.rb returned nil
[DEBUG 2020-12-03T20:15:33 main] cdn_ssl_version already migrated, skipping
[DEBUG 2020-12-03T20:15:33 main] Hook /usr/share/foreman-installer/katello/hooks/post/31-cdn_setting.rb returned [#<Logging::Logger:0x000000 ... @caller_tracing=false>]
[DEBUG 2020-12-03T20:15:33 main] Hook /usr/share/foreman-installer/katello/hooks/post/99-version_locking.rb returned nil
[ INFO 2020-12-03T20:15:33 main] All hooks in group post finished
[DEBUG 2020-12-03T20:15:33 main] Exit with status code: 6 (signal was 6)
[DEBUG 2020-12-03T20:15:33 main] Cleaning /tmp/kafo_installation20201203-5806-1yc6h7s
[DEBUG 2020-12-03T20:15:33 main] Cleaning /tmp/kafo_installation20201203-5806-1cjg6v0
[DEBUG 2020-12-03T20:15:33 main] Cleaning /tmp/default_values.yaml
[ INFO 2020-12-03T20:15:33 main] Installer finished in 329.333699211 seconds
REALITY
STDOUT (truncated for clarity):
[ INFO 2020-12-03T20:15:33 verbose] Puppet has finished, bye!
[ INFO 2020-12-03T20:15:33 verbose] Executing hooks in group post
[DEBUG 2020-12-03T20:15:33 verbose] Hook /usr/share/foreman-installer/hooks/post/30-upgrade.rb returned nil
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/katello.log
[DEBUG 2020-12-03T20:15:33 verbose] Hook /usr/share/foreman-installer/hooks/post/99-post_install_message.rb returned nil
[DEBUG 2020-12-03T20:15:33 verbose] cdn_ssl_version already migrated, skipping
...
[ INFO 2020-12-03T20:15:33 verbose] Installer finished in 329.333699211 seconds
That’s pretty weird. I’ve never really had to check that stuff, so I was unaware (and a bit befuddled) that the, “something went wrong” message would be omitted from it.
Either way, in my experience, the installer will always say it, finished in ###.##### seconds, whether the install was successful or not. I’ve never been given the impression that it is indicative of success, just completion. It’s like a race, one can finish arace; but a race’s completion is not indicative of one’s success in said race.
I think so. /usr/lib/systemd/system/rh-redis5-redis.service states the conf file as, /etc/opt/rh/rh-redis5/redis.conf. That conf file is installed with the following path properties (numbered for clarity):
I wasn’t sure about this one, to be honest. At one point, My troubles lead me to an issue similar to this one. OP received no further response; so, I made a point to bring it up in case it was accidentally lost in time.
In addition, it is normally assumed that the user in question owns it’s own $HOME folder; so, you could say it just subconsciously raised a red-flag for me, as someone on the outside looking in.
I never have a system ruby installed prior to the fresh install; nor do I use ruby version managers. Though in the distant, past of my Foreman journey (journeyman? ), I dabbled with rvm, and learned early on, to just avoid them all together*). Whatever version of ruby is installed as a result of foreman/katello’s dependencies is what my ruby environment ends up being.
That said, all versions of ruby are detailed in the archive I uploaded; and from the katello.log:
16363 [ WARN 2020-12-04T11:13:29 main] /Stage[main]/Foreman::Database/Foreman_config_entry[db_pending_seed]: Skipping because of failed dependencies
16366 [ WARN 2020-12-04T11:13:29 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Skipping because of failed dependencies
16372 [ WARN 2020-12-04T11:13:29 main] /Service[httpd]: Skipping because of failed dependencies
16377 [ WARN 2020-12-04T11:13:29 main] /Stage[main]/Katello::Application/Foreman_config_entry[pulp_client_cert]: Skipping because of failed dependencies
16379 [ WARN 2020-12-04T11:13:29 main] /Stage[main]/Katello::Application/Foreman_config_entry[pulp_client_key]: Skipping because of failed dependencies
16381 [ WARN 2020-12-04T11:13:29 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]: Skipping because of failed dependencies
16384 [ WARN 2020-12-04T11:13:29 main] /Service[dynflow-sidekiq@worker-hosts-queue]: Skipping because of failed dependencies
16432 [ WARN 2020-12-04T11:13:36 main] /Service[foreman]: Skipping because of failed dependencies
16437 [ WARN 2020-12-04T11:13:36 main] /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/File[/etc/foreman/dynflow/orchestrator.yml]: Skipping because of failed dependencies
16439 [ WARN 2020-12-04T11:13:36 main] /Service[dynflow-sidekiq@orchestrator]: Skipping because of failed dependencies
16442 [ WARN 2020-12-04T11:13:36 main] /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[worker]/File[/etc/foreman/dynflow/worker.yml]: Skipping because of failed dependencies
16444 [ WARN 2020-12-04T11:13:36 main] /Service[dynflow-sidekiq@worker]: Skipping because of failed dependencies
16457 [ WARN 2020-12-04T11:13:37 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.gtkcentral.net]: Skipping because of failed dependencies
16461 [ WARN 2020-12-04T11:13:37 main] /Service[puppet]: Skipping because of failed dependencies
16464 [ WARN 2020-12-04T11:13:37 main] /Service[puppet-run.timer]: Skipping because of failed dependencies
16466 [ WARN 2020-12-04T11:13:37 main] /Stage[main]/Puppet::Agent::Service::Systemd/File[/etc/systemd/system/puppet-run.timer]: Skipping because of failed dependencies
16468 [ WARN 2020-12-04T11:13:37 main] /Stage[main]/Puppet::Agent::Service::Systemd/File[/etc/systemd/system/puppet-run.service]: Skipping because of failed dependencies
16470 [ WARN 2020-12-04T11:13:37 main] /Stage[main]/Puppet::Agent::Service::Systemd/Exec[systemctl-daemon-reload-puppet]: Skipping because of failed dependencies
16473 [ WARN 2020-12-04T11:13:37 main] /Stage[main]/Puppet::Agent::Service::Cron/Cron[puppet]: Skipping because of failed dependencies
I wasn’t sure which of these pertain to ruby dependencies or yum dependencies; though, I would guess the former, given the appropriate yum repos were installed as guided by the Official Docs.
But this is why I’m here; because, I only know what I know. For all I know, this is normal behaviour; and “dependency,” in this case, could mean, “no --enable-****** option was set for this stage,”–I don’t really know. I set the install to --trace to get a clearer picture; but, some portions remain fairly scarce in detail either way.
So yeah, this is a result of my attempts to get to the root of:
Which honestly looked good to me. Looks like this phase of the install has everything in place to successfully run those rakes. So I decided to try it myself:
And it worked! Though not in the context of this post, that is, foreman-installer’s ability to run successfully; hence, it is broken.
Like a rear-view mirror (foreman-rake) whose become detached from it’s vehicle (foreman-installer). Sure, the mirror still works if I hold it in front of myself; but, it’s still broken in the context of providing me vantage while I drive. And, yeah, I know foreman-rake is more than a rear-view mirror; but, for analogy’s sake.