Bug 964243 - Knobs in oo-admin-ctl-gears should be admin-configurable
Summary: Knobs in oo-admin-ctl-gears should be admin-configurable
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 1.2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-17 15:54 UTC by Jeremy Eder
Modified: 2013-07-11 14:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-11 14:48:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeremy Eder 2013-05-17 15:54:37 UTC
Description of problem:

Particularly these 2:

    @@DEFAULT_SLOTS = 5
    @@DEFAULT_GEAR_TIMEOUT = 200

Having these hard-coded means that starting up large amounts of apps takes longer than necessary.  It could be increased in that case.  Or maybe it should be lowered, because the gear size has been customized to be very large, and perhaps CPU-intensive.

GEAR_TIMEOUT should be customizable for similar reasons, perhaps very large JBoss apps that take a long time to get started.

Comment 2 Brenton Leanhardt 2013-07-11 14:42:25 UTC
/etc/init.d/openshift-gears calls this too.  The plan is to allow the services to be configurable.  Upstream will need to take systemd into account.  First we'll add options to oo-admin-ctl-gears to facilitate this.

We're going to track this the Origin trello board then close this as DEFERRED.

Comment 3 Luke Meyer 2013-07-11 14:48:56 UTC
Trello card is at https://trello.com/c/sHv9Ecf6


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