Bug 2139257 - Cannot add disk via "Using an existing PVC"
Summary: Cannot add disk via "Using an existing PVC"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.12.0
Assignee: Matan Schatzman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
: 2158064 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 02:23 UTC by Guohua Ouyang
Modified: 2023-01-24 13:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-24 13:41:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error while using an existing PVC (185.12 KB, image/png)
2022-11-02 02:23 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 948 0 None open Bug 2139257: cant edit root disk to use existing PVC 2022-11-03 14:38:30 UTC
Red Hat Issue Tracker CNV-22164 0 None None None 2022-11-02 03:10:18 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:42:00 UTC

Description Guohua Ouyang 2022-11-02 02:23:10 UTC
Created attachment 1921596 [details]
error while using an existing PVC

Description of problem:
create a vm from catalog and try to use "Using an existing PVC" as VM disk, it failed with error:
Error "spec.template.spec.volumes[0] must have exactly one source type set" for field "spec.template.spec.volumes[0]".

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

How reproducible:


Steps to Reproduce:
1. prepare a pvc
2. create a vm from catalog and try to use "Using an existing PVC" as VM disk
3.

Actual results:


Expected results:


Additional info:

Comment 1 Guohua Ouyang 2022-11-07 10:41:50 UTC
verified on v4.12.0-1652

Comment 5 Germano Veit Michel 2023-01-04 21:42:02 UTC
*** Bug 2158064 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2023-01-24 13:41:50 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.12.0 Images security 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-2023:0408


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