Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1885319

Summary: Remove redundant use of group and kind of DataVolumeTemplate
Product: OpenShift Container Platform Reporter: Tomas Jelinek <tjelinek>
Component: Console Kubevirt PluginAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, eparis, gouyang, ycui, yzamir
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:23:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Jelinek 2020-10-05 15:26:25 UTC
Description of problem:
It turned out (https://github.com/kubevirt/kubevirt/pull/4261) that in vm.Spec.DataVolumeTemplate the group and kind are redundant. For backward compatibility, dummy values of them have been added back (https://bugzilla.redhat.com/show_bug.cgi?id=1885196). But we should not use them long term, hence, we need to remove the use of them from the UI code.

Comment 4 Guohua Ouyang 2021-01-04 01:23:35 UTC
Now looks like:

spec:
  dataVolumeTemplates:
    - metadata:
        creationTimestamp: null
        name: url-rootdisk-19oev
      spec:
        pvc:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 15Gi
          storageClassName: standard
          volumeMode: Filesystem
        source:
          http:
            url: >-
              https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img

Comment 8 errata-xmlrpc 2021-02-24 15:23:10 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633