Bug 2187971 - "Add disk -> Upload" not work for template
Summary: "Add disk -> Upload" not work for template
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.14.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-19 09:59 UTC by Guohua Ouyang
Modified: 2023-11-08 14:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add disk -> upload failed for template (172.82 KB, image/png)
2023-04-19 09:59 UTC, Guohua Ouyang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1270 0 None open Bug 2187971: guard for template parameter on disk moda 2023-04-21 14:30:48 UTC
Red Hat Issue Tracker CNV-28231 0 None None None 2023-04-19 10:00:55 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:42 UTC

Description Guohua Ouyang 2023-04-19 09:59:15 UTC
Created attachment 1958265 [details]
Add disk -> upload failed for template

Description of problem:
Add disk to a template and try upload, it failed with below error:

Error "Invalid value: "${NAME}-disk-frantic-chimpanzee": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')" for field "metadata.name".

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


How reproducible:
4.13

Steps to Reproduce:
1. create or clone a template
2. go to disks tab and add disk
3. select source "Upload"

Actual results:
it failed to upload disk to the template

Expected results:
"Add disk -> Upload" works

Additional info:

Comment 1 Guohua Ouyang 2023-04-28 03:41:33 UTC
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-1047

Comment 3 errata-xmlrpc 2023-11-08 14:05:28 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.14.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-2023:6817


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