Bug 1318522 - [online_private_558]Need set up runtime duration of run-once pods in master config on Online
Summary: [online_private_558]Need set up runtime duration of run-once pods in master c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Cesar Wong
QA Contact: DeShuai Ma
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 06:55 UTC by Xingxing Xia
Modified: 2016-05-23 15:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-23 15:09:26 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xingxing Xia 2016-03-17 06:55:25 UTC
Description of problem:
The dev-preview-int Online env did not set up runtime duration of run-once pods in master config. The Online should set it up according to: https://docs.openshift.org/latest/admin_guide/limit_runonce_pod_duration.html#configuring-the-runonceduration-plug-in

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

How reproducible:
Always

Steps to Reproduce:
1. oc login and create a project
2. Create new app
$ oc new-app -f origin/examples/sample-app/application-template-stibuild.json
3. Check .spec.activeDeadlineSeconds of run-once pods.
1> Check deployer pod when deployer pod is not completed yet (If completed, could trigger a new one to check)
$ oc get pod database-1-deploy -o yaml
2> Check build pod
$ oc get pod ruby-sample-build-1-build -o yaml

Actual results:
3. Obviously, the Online env does not do the setup.
1> activeDeadlineSecondsOverride is 21600
2> activeDeadlineSecondsOverride is not found

Expected results:
3. Should see the values of activeDeadlineSecondsOverride are set to a reasonable value - 3600 seconds (as the US card description said):
spec:
  activeDeadlineSeconds: 3600

Additional info:

Comment 1 Cesar Wong 2016-03-17 13:36:54 UTC
Issue: https://github.com/openshift/online/issues/62

Comment 2 Xingxing Xia 2016-03-18 02:39:28 UTC
Verified against dev-preview-int today, the issue is solved. Will move to VERIFIED when changed to ON_QA


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