Description of problem: See bz: https://bugzilla.redhat.com/show_bug.cgi?id=1187014 Recent nightly installer failed with following error on rhel7. [ERROR 2015-01-29 02:24:41 verbose] Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Postgresql::Server::Service/Service[postgresqld]/enable: change from false to true failed: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/enable: change from false to true failed: Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Puppet::Agent::Service/Service[puppet]/enable: change from false to true failed: Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory [ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/enable: change from false to true failed: Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on Here you can see a bunch of services like foreman-proxy, mongod, puppet, postgresql using chkconfig. It should be replaced by systemd. Version-Release number of selected component (if applicable): nightly rhel7 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Here you can see a bunch of services like foreman-proxy, mongod, puppet, postgresql using chkconfig. It should be replaced by systemd. Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
*** Bug 1187014 has been marked as a duplicate of this bug. ***
Created redmine issue http://projects.theforeman.org/issues/9202 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/9202 has been closed ------------- dustin tsang tested seems to be fixed by #8478. installer: output https://gist.github.com/3dc986eb9ce41dc32dc8 (for katello-installer @ 0c126a368f2e37755aa0d2fada2c54f51ea33f09)
Verified on: Satellite-6.1.0-RHEL-7-20150303.0 Steps to verify: [root@sat6-rhel71 ~]# grep chkconfig /var/log/katello-installer/katello-installer.* | wc -l 0 [root@sat6-rhel71 ~]# grep systemctl /var/log/katello-installer/katello-installer.* | wc -l 102
This bug is slated to be released with Satellite 6.1.
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-2015:1592