Bug 1915674

Summary: Golden image PVC creation - storage size should be taken from the template
Product: OpenShift Container Platform Reporter: Ruth Netser <rnetser>
Component: Console Kubevirt PluginAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, gouyang, yzamir
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:52:40 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:

Description Ruth Netser 2021-01-13 08:16:23 UTC
Description of problem:
When a user creates a golden image PVC, they attach it to an OS.
Currently the storage size is empty and should be filled by the user.

Along with the PVC's name and namespace, the relevant template also contains the recommended storage size. 
This value should be be used as the default PVC size (editable).

Version-Release number of selected component (if applicable):
OCP 4.7, CMV 2.6

How reproducible:

Steps to Reproduce:
1. Create a PVC from the UI, select to attach it to an OS

Actual results:
Storage size is empty and should be filled by the user

Expected results:
Storage size should be taken from the relevant template.

Additional info:
Template relevant section:

    - apiVersion: cdi.kubevirt.io/v1beta1
      kind: DataVolume
        name: ${NAME}
          - ReadWriteMany
              storage: 30Gi

Comment 4 errata-xmlrpc 2021-02-24 15:52:40 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.