Bug 1914947
Summary: | HPP golden images - DV shoudld not be created with WaitForFirstConsumer | |||
---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Ruth Netser <rnetser> | |
Component: | Storage | Assignee: | Bartosz Rybacki <brybacki> | |
Status: | CLOSED ERRATA | QA Contact: | dalia <dafrank> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.6.0 | CC: | alitke, cnv-qe-bugs, cwilkers, mrashish, ngavrilo, pelauter, tjelinek | |
Target Milestone: | --- | |||
Target Release: | 2.6.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | virt-cdi-operator v2.6.0-19 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1915694 (view as bug list) | Environment: | ||
Last Closed: | 2021-03-10 11:22:46 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
Ruth Netser
2021-01-11 14:47:12 UTC
Unlocks the critical autoclone flow for local storage. Tomas, We would like to add support for an annotation to DVs which would allow them to populate immediately. Would you be able to get a fix into the UI where you add this annotation to certain DVs that you create? well, the code freeze is this friday. After that only to the 4.7.1. When do you expect the annotation be ready on backend? Bartosz has settled on the annotation name in the PR that is linked to this bug. It is "cdi.kubevirt.io/storage.bind.immediate.requested". If you apply this annotation to any DVs that are created that are not going to be associated with a VM then this should resolve the issue. It is safe for you to commit this change now because unrecognized annotations are simply ignored. Please do not use this annotation for DVs which are to be attached to a VM right away as that would bypass the WFFC logic which we do want to have in those cases. Thomas, does this make sense? Should we open a blocker 2.6.0 bug on the UI to state the requirements? OK, makes sense, will clone this BZ to the UI and add the annotation *** Bug 1916829 has been marked as a duplicate of this bug. *** verified on CNV 2.6, Containerized Data Importer v2.6.0 ******************************************* $ oc create -f golden_dv.yaml apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: name: golden-dv namespace: openshift-virtualization-os-images annotations: cdi.kubevirt.io/storage.bind.immediate.requested: "true" spec: source: http: url: https://github.com/cirros-dev/cirros/releases/download/0.5.1/cirros-0.5.1-x86_64-lxc.tar.xz pvc: accessModes: - ReadWriteOnce resources: requests: storage: 12Gi storageClassName: hostpath-provisioner volumeMode: Filesystem contentType: kubevirt $ oc get dv -n openshift-virtualization-os-images NAME PHASE PROGRESS RESTARTS AGE golden-dv Succeeded 100.0% 9m16s 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 2.6.0 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-2021:0799 |