Bug 1835913

Summary: Build pods falling under NotTerminating quota scope
Product: OpenShift Container Platform Reporter: Gabe Montero <gmontero>
Component: BuildAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, gmontero, mfojtik, scuppett, sgarciam, wewang, wzheng
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: with the RunOnceDuration admission plugin disabled in 4.x, there is no longer automatic applying of activeDeadlineSeconds to build pods Consequence: Incorrect behavior with quotas can occur, namely quota shouldn't be required as build pods have the RestartPolicy to Never and that makes them fall outside the NotTerminating scope. Fix: the build controller is updated to provide an acceptable default for activeDeadlineSeconds given its design of being a run once pod that always terminates. Result: NotTerminating scope with quotas are handled properly for builds, namely the quota shouldn't be required as build pods have the RestartPolicy to Never and that makes them fall outside the NotTerminating scope.
Story Points: ---
Clone Of: 1829447 Environment:
Last Closed: 2020-06-02 11:18:33 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:
Bug Depends On: 1829447    
Bug Blocks:    

Comment 4 wewang 2020-05-25 02:58:11 UTC
Verified in version:
4.4.0-0.nightly-2020-05-24-193742

Comment 6 errata-xmlrpc 2020-06-02 11:18:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2310