Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-51198

The example of DataSource does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • CNV v4.18.0
    • CNV v4.17.1, CNV v4.18.0
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.99.0.rhel9-2247, CNV v4.17.5.rhel9-1, CNV v4.18.0.rhel9-838
    • None

      Description of problem:

      While creating dataSource from the yaml, it failed.
      
      The YAML content on 4.17.1 and 4.18 is:
      
      apiVersion: cdi.kubevirt.io/v1beta1
      kind: DataSource
      metadata:
        name: example
        namespace: default
      spec: {}
      
      The YAML on 4.16 is:
      
      apiVersion: cdi.kubevirt.io/v1beta1
      kind: DataVolume
      metadata:
        name: example
        labels:
          instancetype.kubevirt.io/default-instancetype: u1.medium
          instancetype.kubevirt.io/default-preference: fedora
        annotations:
          cdi.kubevirt.io/storage.bind.immediate.requested: 'true'
        namespace: default
      spec:
        source:
          registry:
            url: 'docker://quay.io/containerdisks/fedora:latest'
        storage:
          resources:
            requests:
              storage: 30Gi
      
      

      Version-Release number of selected component (if applicable):

      
      

      How reproducible:

      
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      
      

              phbailey@redhat.com Phillip Rhodes
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: