Bug 2232347
Summary: | DataImportCron DVs do not respond to default storage class being set | |||
---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Alex Kalenyuk <akalenyu> | |
Component: | Storage | Assignee: | Arnon Gilboa <agilboa> | |
Status: | CLOSED ERRATA | QA Contact: | Harel Meir <hmeir> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 4.13.3 | CC: | agilboa, alitke, dafrank, jpeimer | |
Target Milestone: | --- | |||
Target Release: | 4.13.4 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | v4.13.4.rhel9-101 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2235151 (view as bug list) | Environment: | ||
Last Closed: | 2023-09-19 11:41:59 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: | 2235151 |
Description
Alex Kalenyuk
2023-08-16 12:41:22 UTC
Verified on 4.13: 1. remove the default storageclass with: oc patch storageclass hostpath-csi-basic -p '{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "false"}}}' 2. deleted a pvc from NS=openshift-openshift-virtualization-os-images, with: oc delete pvc centos-stream8-ad852c1cc2d2 $NS result: persistentvolumeclaim "centos-stream8-ad852c1cc2d2" deleted, and the DV is in phase pending: NAME PHASE PROGRESS RESTARTS AGE centos-stream8-ad852c1cc2d2 Pending 76s 3. set the default SC back to hostpath-csi-basic And the import triggered: [cloud-user@ocp-psi-executor-xl ~]$ oc get dv $NS NAME PHASE PROGRESS RESTARTS AGE centos-stream8-ad852c1cc2d2 ImportInProgress 57.42% 2m30s and eventually succeeded: [cloud-user@ocp-psi-executor-xl ~]$ oc get pvc $NS NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE centos-stream8-ad852c1cc2d2 Bound pvc-ad0d912b-ecc9-4719-9382-93ee61f6dcdf 149Gi RWO hostpath-csi-basic 5m16s 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 (Moderate: OpenShift Virtualization 4.13.4 security and bug fix update), 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/RHSA-2023:5233 |