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

UI: VirtualMachineSnapshot YAML shows apiVersion v1alpha1 when it's v1beta1

XMLWordPrintable

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

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      Created a VMSnapshot via CLI with v1beta1 apiVersion,
      Created a VMSnapshot via UI.
      
      Booth snapshot's yamls in UI show 
      'apiVersion: snapshot.kubevirt.io/v1alpha1'
      
      While via CLI we see v1beta1:
      
      $ oc get vmsnapshot -n snapshots-test-snapshots snapshot-vm-cnv-5084-1727776667-338208-number-1 -oyaml | grep apiVersion
      apiVersion: snapshot.kubevirt.io/v1beta1
      
      $ oc get vmsnapshot -n snapshots-test-snapshots vm-cnv-5084-1727776667-338208-snapshot-20241001-130757 -oyaml | grep apiVersion
      apiVersion: snapshot.kubevirt.io/v1beta1

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

      4.17

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM
      2. Create a VMSnapshot 
      3. Look at the snapshot yaml in the UI
      

      Actual results:

      apiVersion: snapshot.kubevirt.io/v1alpha1

      Expected results:

      apiVersion: snapshot.kubevirt.io/v1beta1

      Additional info:

       

              upalatuc@redhat.com Ugo Palatucci
              jpeimer@redhat.com Jenia Peimer
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: