Created attachment 1913428 [details] error while creating DS from yaml Description of problem: Cannot create DataSource from default YAML. Default YAML content: apiVersion: cdi.kubevirt.io/v1beta1 kind: DataSource metadata: name: example namespace: default spec: {} Error on UI: Error "Required value" for field "spec.source". Version-Release number of selected component (if applicable): v4.12 How reproducible: Steps to Reproduce: 1. Create DataSource from YAML 2. 3. Actual results: Error "Required value" for field "spec.source" Expected results: provide an usable example YAML for dataSource Additional info:
Tried to verify on v4.12.0-127 - nothing changed, the default YAML is the same, and DS still can't be created.
The default YAML is not sufficient, should be like: ``` apiVersion: cdi.kubevirt.io/v1beta1 kind: DataSource metadata: name: ds-example namespace: default spec: source: pvc: name: ds-example namespace: default ```
Verified on v4.12.0-131
The name should probably be "ds-example", as in other YAML-generated entities.
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 (Important: OpenShift Virtualization 4.12.0 Images security 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-2023:0408
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days