Bug 1814280
Summary: | CSI Snapshot Controller panics in checkandRemoveSnapshotFinalizersAndCheckandDeleteContent | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Christian Huffman <chuffman> | |
Component: | Storage | Assignee: | Christian Huffman <chuffman> | |
Status: | CLOSED ERRATA | QA Contact: | Qin Ping <piqin> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.4 | CC: | aos-bugs, bbennett, piqin, wking | |
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: VolumeSnapshotContents were assumed to be created, resulting in a panic if the content was nil.
Consequence: This could cause the CSI Snapshot Controller to panic and crash.
Fix: Included logic so that the we check to see if the VolumeSnapshotContent is nil before using it.
Result: The CSI Snapshot Controller no longer panics due to a nil VolumeSnapshotContent.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1815563 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-04 18:05:47 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1815563 |
Description
Christian Huffman
2020-03-17 14:41:43 UTC
*** Bug 1814458 has been marked as a duplicate of this bug. *** I submitted https://github.com/kubernetes-csi/external-snapshotter/pull/278 to include this fix upstream. I haven't been able to reproduce the issue once this commit is applied. Cherrypick PR to OpenShift - https://github.com/openshift/csi-external-snapshotter/pull/16 Checked the upstream ci jobs last 4 days, about 100 jobs, did not find this error. 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 (OpenShift Container Platform 4.5 image release 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:2409 |