Bug 725551

Summary: 'service katello stop' fails
Product: [Retired] Katello Reporter: Jeff Weiss <jweiss>
Component: InfrastructureAssignee: Lukas Zapletal <lzap>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0CC: dajohnso, lzap
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-03 13:24:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Weiss 2011-07-25 20:17:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):
katello-0.1.51-1.git.7.67cd65f.fc14.noarch

How reproducible:
Intermittent

Steps to Reproduce:
1. service katello start
2. service katello stop
3. 
  
Actual results:
[ FAILED ]

Expected results:
[ OK ]

Additional info:
Katello does actually stop even though the service script fails.  Running stop again always seems to work, it detects that the service is not running.

Comment 1 Lukas Zapletal 2011-08-03 12:23:14 UTC
Taking

Comment 2 Lukas Zapletal 2011-08-03 12:39:43 UTC
[root@dhcp77-194 ~]# service katello status
katello is not running.
[root@dhcp77-194 ~]# service katello start
Starting katello (via systemctl):                          [  OK  ]
[root@dhcp77-194 ~]# service katello status
katello is running.
[root@dhcp77-194 ~]# 
[root@dhcp77-194 ~]# service katello stop
Stopping katello (via systemctl):                          [  OK  ]
[root@dhcp77-194 ~]# service katello status
katello is not running.

Works for me.

# rpm -q katello
katello-0.1.54-1.git.83.24aaa54.fc15.noarch

The bug is most likely gone. Start/stop has been modified to use nohup as a workaround. We will use some 3rd party web server eventually.

Comment 3 Jeff Weiss 2011-08-03 13:24:55 UTC
MODIFIED means there was a fix.