Bug 1674214 - Kernel command line does not allow spaces
Summary: Kernel command line does not allow spaces
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.3.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.3.1
: ---
Assignee: Ryan Barry
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-09 22:26 UTC by Ryan
Modified: 2019-03-13 16:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-13 16:39:30 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 97719 0 master MERGED webadmin: don't allow trimming whitespace for the kernel cmdline 2019-02-16 17:10:46 UTC

Description Ryan 2019-02-09 22:26:52 UTC
Description of problem:
After updating the engine to 4.3 if you edit or add a host and attempt to set multiple kernel command line options it fails with 'This field can't contain spaces'.

Version-Release number of selected component (if applicable):
4.3
Worked on 4.2

How reproducible:
Easy

Steps to Reproduce:
1. Add or Edit a host
2. Select 'Kernel' 
3. Attempt set multiple kernel command line options e.g 'hugepagesz=1G hugepages=230'

Actual results:
Won't let you proceed. Field is red, mouse-over shows 'This field can't contain spaces'.

Expected results:
Can proceed. Command line options set for kernel.

Additional info:
This can also hinder if you already have multiple command line options set and have to edit the host for other reasons (cluster change, etc). It won't let you proceed unless you remove the additional options, but then you have no way to re-apply them through the gui.

Setting a single option without any spaces works fine.

I couldn't find any notes about a delimiter change for this field.

Comment 1 Ryan Barry 2019-02-10 00:10:46 UTC
This is likely to be an effect of https://bugzilla.redhat.com/show_bug.cgi?id=1478854

The regular expression used is whitespace only, and shouldn't block "normal" whitespaces

Comment 2 Michael Burman 2019-03-07 10:10:13 UTC
Verified on - rhvm-4.3.2-0.1.el7.noarch

Comment 3 Sandro Bonazzola 2019-03-13 16:39:30 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 release, 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.