-
Bug
-
Resolution: Unresolved
-
Undefined
-
6.18.0
-
None
Description of problem:
Currently the image is pointing to a completely different object.
We need to use the DataSource like here:
spec:
dataVolumeTemplates:
- apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
creationTimestamp: null
name: centos-stream9-amd64-chocolate-halibut-57
spec:
sourceRef:
kind: DataSource
name: centos-stream9-amd64
namespace: openshift-virtualization-os-images
storage:
resources:
requests:
storage: 30Gi
runStrategy: RerunOnFailure
How reproducible:
Always
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Create a host under OCP-V
2. Select an image
3. Click build
Actual behavior:
The host will not be created and will report errors around improper disk definition.
Expected behavior:
A host is created using the image as a template.