Note: https://github.com/kubevirt/containerized-data-importer/pull/1560
The DV created with annotation `cdi.kubevirt.io/storage.bind.immediate.requested: "true"` is still in phase: WaitForFirstConsumer. $ oc get dv -n openshift-virtualization-os-images rhel8 -o yaml apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata: annotations: cdi.kubevirt.io/storage.bind.immediate.requested: "true" creationTimestamp: "2021-01-15T02:10:08Z" generation: 2 managedFields: - apiVersion: cdi.kubevirt.io/v1beta1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:cdi.kubevirt.io/storage.bind.immediate.requested: {} f:spec: .: {} f:pvc: .: {} f:accessModes: {} f:resources: .: {} f:requests: .: {} f:storage: {} f:storageClassName: {} f:volumeMode: {} f:source: .: {} f:upload: {} manager: Mozilla operation: Update time: "2021-01-15T02:10:08Z" - apiVersion: cdi.kubevirt.io/v1beta1 fieldsType: FieldsV1 fieldsV1: f:status: .: {} f:conditions: {} f:phase: {} f:progress: {} manager: virt-cdi-controller operation: Update time: "2021-01-15T02:10:08Z" name: rhel8 namespace: openshift-virtualization-os-images resourceVersion: "1842735" selfLink: /apis/cdi.kubevirt.io/v1beta1/namespaces/openshift-virtualization-os-images/datavolumes/rhel8 uid: 75cd6e11-548d-4ef5-aef0-060c69ffcd48 spec: pvc: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi storageClassName: hostpath-provisioner volumeMode: Filesystem source: upload: {} status: conditions: - lastHeartbeatTime: "2021-01-15T02:10:08Z" lastTransitionTime: "2021-01-15T02:10:08Z" message: PVC rhel8 Pending reason: Pending status: "False" type: Bound - lastHeartbeatTime: "2021-01-15T02:10:08Z" lastTransitionTime: "2021-01-15T02:10:08Z" status: "False" type: Ready - lastHeartbeatTime: "2021-01-15T02:10:08Z" lastTransitionTime: "2021-01-15T02:10:08Z" status: "False" type: Running phase: WaitForFirstConsumer progress: N/A
moving to modified, this bug depended on: https://bugzilla.redhat.com/show_bug.cgi?id=1914947 and can only be verified/fail ferification after 1914947 is fixed
@Tomas hi, Can we change the verification of this bug to check: annotations: cdi.kubevirt.io/storage.bind.immediate.requested: "true" instead of: not - phase: WaitForFirstConsumer This way we un-couple this bug from https://bugzilla.redhat.com/show_bug.cgi?id=1914947 ?
yeah, makes sense to me
submitted upstream: https://github.com/openshift/console/pull/8165
The CNV 2.6.0 release note: Bug 1929177 - Add to release: golden images - DV should not be created with WaitForFirstConsumer BZ: 1915694
merged upstream https://github.com/openshift/console/pull/8245
verified on ocp 4.7.0, dv is created successfully with HPP.
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 Container Platform 4.7.1 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/RHBA-2021:0678