Bug 1737418 - [Kubevirt-Foreman] Compute profile edit form has no validation for Storage size
Summary: [Kubevirt-Foreman] Compute profile edit form has no validation for Storage size
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - CNV
Version: 6.6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.7.0
Assignee: Shira Maximov
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
: 1755376 (view as bug list)
Depends On:
Blocks: 1755376
TreeView+ depends on / blocked
 
Reported: 2019-08-05 10:42 UTC by Vladimír Sedmík
Modified: 2020-04-14 13:25 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-foreman_kubevirt-0.1.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1755376 (view as bug list)
Environment:
Last Closed: 2020-04-14 13:25:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27703 0 Normal Closed [Kubevirt-Foreman] Compute profile edit form has no validation for Storage size 2020-08-03 10:24:23 UTC
Red Hat Product Errata RHSA-2020:1454 0 None None None 2020-04-14 13:25:27 UTC

Description Vladimír Sedmík 2019-08-05 10:42:29 UTC
Description of problem:
The Compute profile edit form allows a user to enter invalid value, there is no validation performed.

Version-Release number of selected component (if applicable):
Satellite 6.6.0 snap 14:
satellite-6.6.0-5.beta.el7sat.noarch
tfm-rubygem-foreman_kubevirt-0.1.4-1.el7sat.noarch
tfm-rubygem-fog-kubevirt-1.3.1-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Go to Infrastructure > Compute resources > select kubevirt CR > Compute profiles
2. Click some profile or create a new one.
3. Click '+Add volume' and input requried size.

Actual results:
Any input string (text) is accepted with no error message.

Expected results:
Only numbers and valid units (MGTPE) should be accepted.

Additional info:
Similar to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1700769

Comment 3 Shira Maximov 2019-08-26 07:51:57 UTC
Created redmine issue https://projects.theforeman.org/issues/27703 from this bug

Comment 4 Bryan Kearney 2019-08-26 12:01:35 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27703 has been resolved.

Comment 7 Shira Maximov 2019-09-25 14:15:51 UTC
*** Bug 1755376 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2020-04-14 13:25:13 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, 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:1454


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