Description of problem: there is a error traceback during installation # satellite-installer --scenario satellite [ERROR 2018-06-18T09:08:50 main] Facter: error while resolving custom fact "mongodb_is_master": No such file or directory @ rb_sysopen - /etc/mongodb.conf [ERROR 2018-06-18T09:08:50 main] backtrace: [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/psych.rb:472:in `initialize' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/psych.rb:472:in `open' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/psych.rb:472:in `load_file' [ERROR 2018-06-18T09:08:50 main] /usr/share/katello-installer-base/modules/mongodb/lib/facter/is_master.rb:17:in `block (2 levels) in <top (required)>' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/facts/facter.rb:35:in `to_hash' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/facts/facter.rb:35:in `find' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node.rb:135:in `fact_merge' [ERROR 2018-06-18T09:08:50 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/node/plain.rb:18:in `find' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:215:in `main' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:661:in `exit_on_fail' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute' [ERROR 2018-06-18T09:08:51 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>' [DEBUG 2018-06-18T09:08:51 main] Facter: fact "mongodb_is_master" resolved to null and will not be added. mongo config file in in /etc/opt since upgrade to mongo 3.4 Version-Release number of selected component (if applicable): satellite-installer-6.4.0.5-1.beta.el7sat.noarch sat 6.4 snap 8 How reproducible: always
Connecting redmine issue https://projects.theforeman.org/issues/23978 from this bug
There was a regression in puppet-mongodb 2.2.0. 2.2.1 fixes this and https://github.com/Katello/katello-installer/commit/db5906c45d75eea72221712cea13923717c552a8 ensures the installer has this version.
VERIFIED version tested: Satellite 6.4 snap 11 No error found while running satellite-installer.
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, 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-2018:2927