Bug 1885319 - Remove redundant use of group and kind of DataVolumeTemplate
Summary: Remove redundant use of group and kind of DataVolumeTemplate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Yaacov Zamir
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-05 15:26 UTC by Tomas Jelinek
Modified: 2021-02-24 15:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:23:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6846 0 None closed Bug 1885319: Revise DataVolumeTemplate API field 2021-01-04 01:21:53 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:23:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.