-
Story
-
Resolution: Duplicate
-
Undefined
-
None
-
CNV v4.11.0
-
False
-
-
False
-
-
None
We have added an annotation cdi.kubevirt.io/storage.bind.immediate.requested: "true" to tell CDI we don't care about WaitForFirstConsumer storage and to just put the data where it ends up.
This works well for most cases, including import/upload and host assisted clone. However if we have WFFC storage that supports snapshot clone it doesn't work at all (CSI clone might also be affected). It works for host assisted clone because that form of cloning will create an upload server pod and a source pod and those pods will trigger the binding of the volume when they start. So all we have to do is check for the annotation and proceed normally if found.
However in the snapshot case, we don't check for the annotation at all, and basically ignore it. This causes confusion when people add the annotation and they are expecting it to just bind somewhere.
In order to honor the annotation we will have to create a separate trigger pod that just uses the volume that acts as the first consumer.