Bug 1195940
| Summary: | katello-service do not handle PostgreSQL service | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> | 
| Component: | Content Management | Assignee: | Brad Buckingham <bbuckingham> | 
| Status: | CLOSED ERRATA | QA Contact: | jcallaha | 
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, jcallaha, lpramuk | 
| Target Milestone: | Unspecified | Keywords: | Triaged | 
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/11648 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 09:13:48 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Jan Hutař
        
        
        
        
        
          2015-02-24 21:22:35 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. Created redmine issue http://projects.theforeman.org/issues/11648 from this bug katello-packing PR: https://github.com/Katello/katello-packaging/pull/76 Upstream bug component is Content Management Moving to POST since upstream bug http://projects.theforeman.org/issues/11648 has been closed Verified in upstream. katello-service now includes postgres.
[root@qe-blade-12 ~]# katello-service stop
Redirecting to /bin/systemctl stop  mongod.service
Redirecting to /bin/systemctl stop  postgresql.service
Redirecting to /bin/systemctl stop  qpidd.service
Redirecting to /bin/systemctl stop  qdrouterd.service
Redirecting to /bin/systemctl stop  tomcat.service
Redirecting to /bin/systemctl stop  foreman-proxy.service
Redirecting to /bin/systemctl stop  pulp_workers.service
Redirecting to /bin/systemctl stop  pulp_celerybeat.service
Redirecting to /bin/systemctl stop  pulp_resource_manager.service
Stopping elasticsearch (via systemctl):  [  OK  ]
Redirecting to /bin/systemctl stop  httpd.service
Redirecting to /bin/systemctl stop  foreman-tasks.service
Success!
[root@qe-blade-12 ~]# service postgresql status
Redirecting to /bin/systemctl status  postgresql.service
postgresql.service - PostgreSQL database server
   Loaded: loaded (/etc/systemd/system/postgresql.service; enabled)
   Active: inactive (dead) since Tue 2015-11-10 16:30:27 EST; 57s ago
  Process: 7974 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast (code=exited, status=0/SUCCESS)
  Process: 25059 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=0/SUCCESS)
  Process: 25051 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)
 Main PID: 25066 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/postgresql.service
Nov 09 10:55:10 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Started PostgreSQL database server.
Nov 10 16:30:26 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Stopping PostgreSQL database server...
Nov 10 16:30:27 qe-blade-12.idmqe.lab.eng.bos.redhat.com systemd[1]: Stopped PostgreSQL database server.
    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/RHBA-2016:1501  |