Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1187206 - katello-installer should use systemd instead of chkconfig for all services on rhel7
katello-installer should use systemd instead of chkconfig for all services on...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Installer (Show other bugs)
Unspecified
Unspecified Unspecified
unspecified Severity high (vote)
: Unspecified
: Unused
Assigned To: Mike McCune
Elyézer Rezende
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-29 09:42 EST by Sachin Ghai
Modified: 2017-02-23 15:37 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:22:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Sachin Ghai 2015-01-29 09:42:03 EST
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:
Comment 1 RHEL Product and Program Management 2015-01-29 09:54:50 EST
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.
Comment 3 Brad Buckingham 2015-01-30 11:32:36 EST
*** Bug 1187014 has been marked as a duplicate of this bug. ***
Comment 4 Dustin Tsang 2015-02-03 12:23:52 EST
Created redmine issue http://projects.theforeman.org/issues/9202 from this bug
Comment 5 Bryan Kearney 2015-02-03 14:05:04 EST
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)
Comment 9 Elyézer Rezende 2015-03-06 13:56:29 EST
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
Comment 11 Bryan Kearney 2015-08-11 09:24:12 EDT
This bug is slated to be released with Satellite 6.1.
Comment 12 errata-xmlrpc 2015-08-12 01:22:36 EDT
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

Note You need to log in before you can comment on or make changes to this bug.