Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 794937

Summary: init.d script does not know how many thin processes are running
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: InfrastructureAssignee: Lukas Zapletal <lzap>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, dajohnso
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-03 09:18:01 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:

Description Jeff Weiss 2012-02-17 23:47:48 UTC
Description of problem:
editing /etc/katello/thin.yml to change the # of thin servers requires that the service already be stopped, because the stop command will only try to stop the number of servers that it finds in this file

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


How reproducible:


Steps to Reproduce:
1. Start katello
2. edit /etc/katello/thin.yml, set servers to one less than there is now
3. service katello restart
  
Actual results:
[root@katello-ci-rhel62 certs]# service katello restart
Stopping server on 0.0.0.0:5000 ... 
Sending QUIT signal to process 4144 ... 
>> Exiting!
Stopping server on 0.0.0.0:5001 ... 
Sending QUIT signal to process 4148 ... 
>> Exiting!
Stopping server on 0.0.0.0:5002 ... 
Sending QUIT signal to process 4152 ... 
>> Exiting!
Starting katello: katello is already running.              [  OK  ]
[root@katello-ci-rhel62 certs]# killall thin
[root@katello-ci-rhel62 certs]# service katello start
Starting katello: Starting server on 0.0.0.0:5000 ... 
Starting server on 0.0.0.0:5001 ... 
Starting server on 0.0.0.0:5002 ... 
                                                           [  OK  ]


Expected results:
clean shutdown

Additional info:

Comment 1 Lukas Zapletal 2012-08-03 09:18:01 UTC
Since we will be moving to mod_passenger, I have added this comment there:

# stop katello prior changing servers option
servers = X

RHBZ 752863 - katello service will return "OK" on error (7d1da2ed)