Bug 1600052
Summary: | [3.7] Deleted objects from webconsole marked with "foregroundDeletion" are never Garbage Collected | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Alejandro Coma <acomabon> |
Component: | Master | Assignee: | Michal Fojtik <mfojtik> |
Status: | CLOSED NOTABUG | QA Contact: | Xingxing Xia <xxia> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.7.1 | CC: | acomabon, ajuricic, aos-bugs, aship, bfurtado, deads, erich, jcrumple, jokerman, maszulik, mfojtik, mmccomas, openshift-bugs-escalate, rbost, rpuccini, vhernand |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 3.7.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-18 18:48:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alejandro Coma
2018-07-11 10:14:53 UTC
The garbage collector maintains a graph of all objects and their ownerReferences Before processing any deletions that involve inter-object relationships, it must have a complete graph of all resources. Deletion with foregroundDeletion means "delete objects whose ownerReferences point to this object, then delete this object". The worker responsible for doing that is not run until caches are filled for all object types and the graph is complete. Persistent failure to list/watch HPA objects prevented that graph from ever being ready. Closing, issue was due to incorrect upgrade procedure. https://github.com/openshift/openshift-docs/issues/10015 is open to improve the documentation for manual upgrade. Need update on the progress of this Bug Yes. As @liggitt pointed out above in the chain, foreground GC requires building a complete graph of all objects before removing the target object. Because an owner reference can come from any object to any object, all resources must be list/watchable and must be successfully list/watched before any foreground deletion is processed. Otherwise a reference could be missed and foreground deletion would fail. Closing based on previous comment. To summarize the problem was that customer did not run migration during upgrades which resulted in old objects (in version not any more recognized by the server) to linger in etcd and blocking proper GC cycles. Solution is to downgrade server to previous version and run migration. |