Bug 1472143 - Wrong error message when setting one character, in linux boot parameters in Edit VM dialog
Summary: Wrong error message when setting one character, in linux boot parameters in E...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.2.0
: ---
Assignee: Tomas Jelinek
QA Contact: Liran Rotenberg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-18 07:25 UTC by Shira Maximov
Modified: 2017-12-20 11:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:21:42 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 79588 0 master MERGED webadmin: fix NoTrimmingWhitespacesValidation 2017-08-07 13:40:23 UTC
oVirt gerrit 81917 0 master MERGED core: fixed regex checking for whitespaces 2017-09-25 11:57:58 UTC

Description Shira Maximov 2017-07-18 07:25:34 UTC
Description of problem:
When setting only one character in the linux boot parameters (in Edit VM dialog) , The following error appears:

Cannot edit VM. Linux boot parameters contain trimming whitespace characters.
Attribute: vmStatic.initrdUrl

Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.2.0-0.0.master.20170712143425.gitcb02bb5.el7.centos


How reproducible:
100%

Steps to Reproduce:
1. Try to set 'a' character in Linux Boot Options: kernel path / initrd path/ kernel parameters
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Shira Maximov 2017-09-03 12:02:52 UTC
Tried to verify on:
Software version:4.2.0-0.0.master.20170901193740.git7900511.el7.centos


verification failed :
Tried to set 'a' character in Linux Boot Options: kernel path / initrd path/ kernel parameters

error while executing action: 

golden_env_mixed_virtio_0:
Cannot edit VM. Linux boot parameters contain trimming whitespace characters.
Attribute: vmStatic.kernelParams
Attribute: vmStatic.initrdUrl
Attribute: vmStatic.kernelUrl

Comment 2 Red Hat Bugzilla Rules Engine 2017-09-03 12:02:56 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Yaniv Kaul 2017-10-15 10:18:48 UTC
Tomas - can this be moved to MODIFIED, or do we have additional patches needed?

Comment 4 Tomas Jelinek 2017-10-19 07:52:07 UTC
nothing else

Comment 5 Liran Rotenberg 2017-10-31 07:46:40 UTC
Verified on:
4.2.0-0.0.master.20171025204923.git6f4cbc5.el7.centos


Verification steps:
1. Edit a VM.
2. Set the operation system to linux.
3. Set combinations of one char in the Linux Boot Options: kernel path / initrd path/ kernel parameters. (Only one option set with one char, all the options, tried different kinds of chars etc.)


Result:
The new settings were set without any error.

Comment 6 Sandro Bonazzola 2017-12-20 11:21:42 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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