Bug 725495 - katello service should return a valid result/be more accurate on service start
Summary: katello service should return a valid result/be more accurate on service start
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-07-25 16:26 UTC by Corey Welton
Modified: 2019-09-26 13:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
katello-0.1.50-1.git.0.ba17467.fc14.noarch
Last Closed: 2012-08-22 17:50:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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