Bug 1802467
Summary: | Could not delete volumesnapshotcontent if volumesnapshotclass policy is Retain | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | aos-bugs, chuffman, jsafrane, piqin |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.5.0 | ||
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: | 2020-07-13 17:14:44 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
Chao Yang
2020-02-13 08:41:23 UTC
This is expected behaviour I'd say: https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes/ "If the deletionPolicy is Retain, then both the underlying snapshot and VolumeSnapshotContent remain." Reopening. Sorry for the noise... The object itself should be deletable. Passed on 4.5.0-0.nightly-2020-03-22-211241 oc get volumesnapshotcontent NAME READYTOUSE RESTORESIZE DELETIONPOLICY DRIVER VOLUMESNAPSHOTCLASS VOLUMESNAPSHOT AGE snapcontent-7cd4d9f6-d289-4cb2-837a-5b8edfcf25cf true 2147483648 Delete ebs.csi.aws.com ebs-snap new-snapshot-test 128m snapcontent-e7d1938c-e7b2-4199-87d1-4859b4d8636b true 2147483648 Retain ebs.csi.aws.com ebs-snap new-snapshot-test 88s # oc delete volumesnapshotcontent snapcontent-e7d1938c-e7b2-4199-87d1-4859b4d8636b volumesnapshotcontent.snapshot.storage.k8s.io "snapcontent-e7d1938c-e7b2-4199-87d1-4859b4d8636b" deleted # oc get volumesnapshotcontent NAME READYTOUSE RESTORESIZE DELETIONPOLICY DRIVER VOLUMESNAPSHOTCLASS VOLUMESNAPSHOT AGE snapcontent-7cd4d9f6-d289-4cb2-837a-5b8edfcf25cf true 2147483648 Delete ebs.csi.aws.com ebs-snap new-snapshot-test 128m 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:2409 |