Bug 1311897 - [online_private_558]Builder pod specification has no activeDeadlineSeconds by default
Summary: [online_private_558]Builder pod specification has no activeDeadlineSeconds by...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Build
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Cesar Wong
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-25 09:55 UTC by Xingxing Xia
Modified: 2016-02-26 02:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-26 02:09:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xingxing Xia 2016-02-25 09:55:50 UTC
Description of problem:
Deployer/Builder pods are kind of run-once pod, oc get pod <deployer/builder pod> -o yaml should have activeDeadlineSeconds by default. But builder pod does not have.

Version-Release number of selected component (if applicable):
oc v1.1.3-267-g0842757
kubernetes v1.2.0-alpha.7-703-gbc4550d

How reproducible:
Alwyas

Steps to Reproduce:
1. Start openshift with default configuration:
1> $ openshift start --public-master=https://<master>:8443 --write-config='openshift.local.config'
2> $ openshift start --master-config='openshift.local.config/master/master-config.yaml' --node-config='openshift.local.config/<node dir>/node-config.yaml'
3> Deploy openshift registry
2. In CLI side, oc login and create project
3. Create new app
$ oc new-app -f origin/examples/sample-app/application-template-stibuild.json
4. Before deployer pod completes, check activeDeadlineSeconds of them
$ oc get pod database-1-deploy ruby-sample-build-1-build -o yaml

Actual results:
4. Only deployer pod has but builder pod does no have:
spec:
    activeDeadlineSeconds: 21600

Expected results:
4. Both pods should have activeDeadlineSeconds

Additional info:

Comment 1 Cesar Wong 2016-02-25 14:42:02 UTC
Xingxing Xia I think this is a misunderstanding of our conversation on Trello. The build pods do not have an activeDeadlineSeconds value by default. However, when you enable the plugin and configure a global override value, the build pod should get that value. I tested that case and that works as expected.

Comment 2 Xingxing Xia 2016-02-26 02:09:25 UTC
Cesar Wong, got it. Then this is NOTA.


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