Bug 1370137
Summary: | panic errors for unidling found in the master log | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> |
Component: | Node | Assignee: | Solly Ross <sross> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | DeShuai Ma <dma> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | aos-bugs, bbennett, eparis, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
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: | 2016-09-19 15:18:45 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
Meng Bo
2016-08-25 12:01:14 UTC
Solly, I think you need to do something like this: https://github.com/openshift/origin/blob/3e83a4ca2b0a10179e6cdc2ae832176532d3626c/pkg/quota/controller/clusterquotamapping/clusterquotamapping.go#L314-L330 Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/bc3a9afbf2af4c6a62c52520f14b4e6e08a6584d Unidling Controller: Deal with tombstones in cache The delete handler in the unidling code assumed that the object passed to the delete EventHandlerFunc would be a `*kapi.Event`. However, it can also be a `cache.DeletedFinalStateUnknown`, which previously caused a panic in the controller. Fixes bug 1370137 Tested with v3.3.0.27 build, and no panic errors found. Verify the bug. |