Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1187206 - katello-installer should use systemd instead of chkconfig for all services on rhel7
Summary: katello-installer should use systemd instead of chkconfig for all services on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Elyézer Rezende
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-29 14:42 UTC by Sachin Ghai
Modified: 2017-02-23 20:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:22:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Sachin Ghai 2015-01-29 14:42:03 UTC
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 Program Management 2015-01-29 14:54:50 UTC
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 16:32:36 UTC
*** Bug 1187014 has been marked as a duplicate of this bug. ***

Comment 4 Dustin Tsang 2015-02-03 17:23:52 UTC
Created redmine issue http://projects.theforeman.org/issues/9202 from this bug

Comment 5 Bryan Kearney 2015-02-03 19:05:04 UTC
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 18:56:29 UTC
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 13:24:12 UTC
This bug is slated to be released with Satellite 6.1.

Comment 12 errata-xmlrpc 2015-08-12 05:22:36 UTC
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.