Bug 2180801
| Summary: | [4.12]cdi.kubevirt.io/storage.bind.immediate.requested is not propagated down to the DataVolume if set on an existing DataImportCronTemplate | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Yan Du <yadu> |
| Component: | Storage | Assignee: | Arnon Gilboa <agilboa> |
| Status: | CLOSED ERRATA | QA Contact: | Yan Du <yadu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.12.0 | CC: | agilboa, awels, mhenriks, stirabos, yadu |
| Target Milestone: | --- | ||
| Target Release: | 4.12.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | v4.12.3-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2166394 | Environment: | |
| Last Closed: | 2023-05-23 22:31:22 UTC | Type: | --- |
| 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: | 2166394 | ||
| Bug Blocks: | |||
|
Description
Yan Du
2023-03-22 11:06:01 UTC
Test on CNV-v4.12.3-27
The PVC can be Bound after adding custom dataImportCronTemplate on HCO cr without setting storage.bind.immediate.requested
$ oc get hco -n openshift-cnv
------------8<----------------
dataImportCronTemplates:
- metadata:
name: custom-data-import-cron2
spec:
managedDataSource: custom-data-source2
retentionPolicy: None
schedule: '* * * * *'
template:
spec:
source:
registry:
pullMethod: node
url: docker://quay.io/containerdisks/fedora:latest
storage:
resources:
requests:
storage: 10Gi
------------8<-----------------
$ oc get sc hostpath-csi-basic
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
hostpath-csi-basic (default) kubevirt.io.hostpath-provisioner Delete WaitForFirstConsumer false 13h
$ oc get pvc custom-data-source2-56ccabc01cbe -n openshift-virtualization-os-images
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
custom-data-source2-56ccabc01cbe Bound pvc-ba201ab4-9a72-4fc5-b953-cdeaf1d658c1 149Gi RWO hostpath-csi-basic 3m16s
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 Virtualization 4.12.3 Images), 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/RHEA-2023:3283 |