Bug 1472143

Summary: Wrong error message when setting one character, in linux boot parameters in Edit VM dialog
Product: [oVirt] ovirt-engine Reporter: Shira Maximov <mshira>
Component: Frontend.WebAdminAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Liran Rotenberg <lrotenbe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, mavital, tjelinek
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:21:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.