Bug 2088379 - Create VM from catalog does not respect the storageclass of the template's boot source
Summary: Create VM from catalog does not respect the storageclass of the template's bo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Tal Nisan
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-19 10:30 UTC by Guohua Ouyang
Modified: 2023-11-13 08:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:34:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
storageclass (2.47 MB, application/octet-stream)
2022-05-19 10:30 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 482 0 None open Bug 2088379: Create VM from catalog does not respect the storageclass 2022-05-25 12:39:19 UTC
Red Hat Issue Tracker CNV-18478 0 None None None 2023-11-13 08:11:37 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:34:35 UTC

Description Guohua Ouyang 2022-05-19 10:30:30 UTC
Created attachment 1881281 [details]
storageclass

Description of problem:
Make a template's boot source has a different storageclass of the default storageclass, create vm from this template, the storageclass of the VM disk is the default storageclass, not the one come from the template's boot source.

Version-Release number of selected component (if applicable):
v4.11.0-369

How reproducible:
100%

Steps to Reproduce:
1. the cluster default storageclass is HPP
2. upload a disk to a template with OCS
3. create vm from this template

Actual results:
the VM disk is using sc HPP.

Expected results:
the VM disk uses the storageclass OCS.

Additional info:

Comment 1 Guohua Ouyang 2022-05-31 08:38:43 UTC
verified on CNV-v4.11.0-423/OCP-v4.11.0-36

Comment 5 errata-xmlrpc 2022-09-14 19:34:26 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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix 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-2022:6526


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