Bug 2228606 - DataSource becomes not-ready if default StorageClass modified without deleting PVCs
Summary: DataSource becomes not-ready if default StorageClass modified without deletin...
Keywords:
Status: ASSIGNED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.14.0
Assignee: Alex Kalenyuk
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-02 20:22 UTC by Sarah Bennert
Modified: 2023-08-04 19:01 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-31675 0 None None None 2023-08-02 20:25:49 UTC

Description Sarah Bennert 2023-08-02 20:22:57 UTC
Description of problem:
Changing the default StorageClass to one that supports snapshots, without deleting initial PVCs, eventually causes DataSources to become non-ready.

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

How reproducible:
100%

Steps to Reproduce:
1. Deploy w/ hostpath-csi-basic default StorageClass
2. Alter default StorageClass to snapshot supported SC (ocs-storagecluster-ceph-rbd)
3. Wait for reconciliation to update DataSource to snapshot

Actual results:
DataSource source changed to snapshot, but shows not-ready because original PVC source still exists.


Expected results:
DataSource does not change from PVC source to Snapshot source until original PVC source deleted.
- or -
Original PVC converted to snapshot


Additional info:
W/A: Delete PVC source to recreate for snapshot
- or -
Revert default StorageClass and update DataSource(s) manually to use original PVC


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