Bug 725495

Summary: katello service should return a valid result/be more accurate on service start
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: katello-agentAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: lzap
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
katello-0.1.50-1.git.0.ba17467.fc14.noarch
Last Closed: 2012-08-22 17:50:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Corey Welton 2011-07-25 16:26:10 UTC
Description of problem:
I'm not sure what the problem is, but I currently run into issues starting the katello service via RPM install. That said, it appears to start, but a status shows me that it's really not running.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

[root@dhcp231-182 ~]# service katello start
Starting katello:                                          [  OK  ]
[root@dhcp231-182 ~]# service katello status
katello is not running.
  
Actual results:
it says it starts [OK] but a status indicates that's really not running

Expected results:
do some sort of sanity test upon startup to assure the service is actually running and stable before giving the green light.


Additional info:

Comment 1 Lukas Zapletal 2011-08-15 10:01:58 UTC
Yeah we currently run the katello in nohup temporary. The plan is to switch to 

[root@nec-em15 katello-utils]# service katello start
Starting katello: [  OK  ]
[root@nec-em15 katello-utils]# service katello status
katello is not running.
[root@nec-em15 katello-utils]# service katello status
katello is not running.

...wait few more seconds...

[root@nec-em15 katello-utils]# service katello status
katello is running.

Temporary solution was to add sleep 5s to the init script. We are changing the way of starting katello in few weeks.

0dfb601 725495 - katello service should return a valid result

Comment 2 Lukas Zapletal 2011-08-15 10:09:59 UTC
@Corey - it this workaround does not work for you, ping me and we could accelerate our production setup discussion. Or I could provide better fix for that.

Comment 3 Corey Welton 2011-09-22 15:13:05 UTC
Works for me. QA Verified.

Comment 6 Mike McCune 2013-08-16 17:55:02 UTC
getting rid of 6.0.0 version since that doesn't exist