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

[2078728] Common template rootDisk is not named correctly

XMLWordPrintable

    • No

      Description of problem:
      Common template rootDisk is not named correctly, when creating a VM from common template the rootDisk is named by the VM name instead of rootDisk
      this is a problem because:
      a. the convention in common templates is to call the disk by it's use, e.g. "cloudinitdisk", "default" and not by the vm name
      b. it is not matching the anotation "defaults.template.kubevirt.io/disk"
      c. it is making harder on automation utilities to finding the rootdisk

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

      How reproducible:

      Steps to Reproduce:
      1. create a virtual machine from a common template
      2. look for a disk matching the name in defaults.template.kubevirt.io/disk anotation
      3. look for a "rootDisk" disk

      Actual results:
      no disk matching the annotation found (for use cases looking by annotation)
      no "rootDisk" disk found (for use cases looking by disk usage)

      Expected results:
      a "rootDisk" is found the the "defaults.template.kubevirt.io/disk" annotation is pointing at it

      Additional info:

              yzamir@redhat.com Yaacov Zamir
              yzamir@redhat.com Yaacov Zamir
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: