Bug 1607621 - Project quota not released after deleting pods
Summary: Project quota not released after deleting pods
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-apiserver
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.9.z
Assignee: Stefan Schimanski
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-23 20:26 UTC by Steven Walter
Modified: 2019-11-20 18:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-20 18:57:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steven Walter 2018-07-23 20:26:02 UTC
Description of problem:
When deleting pods from a project, the project's quota's "Used" field does not change

Version-Release number of selected component (if applicable):
3.9

How reproducible:
Unconfirmed

Steps to Reproduce:
1) create new OpenShift project and apply quota to it (file quota1.yaml)
2) build new app with: `oc new-app http://git/repo' - quota reports 1 pod used (file quota2.yaml)
3) once the app build completes and deploys on a single pod, quota reports 5 pods running (file quota3.yaml)
4) pod export is attached (pod3.yml)

Expected results:
Quota's "Used" section should drop when pods are gone

Comment 2 Steven Walter 2018-07-23 20:30:39 UTC
Given that completed builds do not show up in "oc get pod" should they be counting against the quota usage?

Comment 3 Stephen Cuppett 2019-11-20 18:57:45 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed.

[1]: https://access.redhat.com/support/policy/updates/openshift


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