Bug 1232907 - "service openshift-gears start" should not be calling unidle
Summary: "service openshift-gears start" should not be calling unidle
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.x
Assignee: Jhon Honce
QA Contact: Meng Bo
URL:
Whiteboard:
Depends On: 966790
Blocks: 1264216
TreeView+ depends on / blocked
 
Reported: 2015-06-17 19:19 UTC by Andy Grimm
Modified: 2016-11-08 03:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1264216 (view as bug list)
Environment:
Last Closed: 2015-07-07 23:49:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andy Grimm 2015-06-17 19:19:23 UTC
Description of problem:

When our nodes boot, it takes a very long time for all of the gears to start.  I just found one contributing factor to this, which is that we do an "unidle" call for every gear, which in turn calls oo-httpd-singular graceful.

In addition to making start-up take longer, this can cause many small outages for the apps that start first.

Version-Release number of selected component (if applicable):
rubygem-openshift-origin-node-1.36.1-1.el6oso.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a node with lots of gears
2. Stop the node 
3. Start the node
4. grep -c oo-httpd-singular /var/log/openshift/node/platform.log

Actual results:

oo-httpd-singular ran once for every gear on the system

Expected results:

All of these gears were simply going from stopped to started at boot time.  There were no apache reloads required.

Comment 2 Yan Du 2015-06-25 02:29:16 UTC
Test on devenv_5556

Create about 50 gears on the node, and there is no apache reloads required after stop and start the node. 

[root@ip-10-156-28-2 openshift]# service ruby193-mcollective stop
Shutting down mcollective:                                 [  OK  ]
[root@ip-10-156-28-2 openshift]# service ruby193-mcollective start
Starting mcollective:                                      [  OK  ]
[root@ip-10-156-28-2 openshift]# grep -c oo-httpd-singular /var/log/openshift/node/platform.log
0

Issue have been fixed. Move bug to verified.


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