Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1499126 - Not possible to change ValidNumOfMonitors as wrong data type set
Not possible to change ValidNumOfMonitors as wrong data type set
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
4.1.9
Unspecified Unspecified
medium Severity medium
: ovirt-4.2.0
: ---
Assigned To: Tomas Jelinek
Israel Pinto
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-06 03:08 EDT by Jaroslav Spanko
Modified: 2018-05-15 13:46 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In the current release, ValidNumOfMonitors can be configured with engine-config.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-15 13:45:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 82772 master MERGED core: fix ValidNumOfMonitors 2017-11-24 09:11 EST
Red Hat Product Errata RHEA-2018:1488 None None None 2018-05-15 13:46 EDT

  None (edit)
Description Jaroslav Spanko 2017-10-06 03:08:39 EDT
Description of problem:
It is not possible to set string value for ValidNumOfMonitors

Default value
engine-config -g ValidNumOfMonitors
ValidNumOfMonitors: 1,2,4 version: general

Custom value
engine-config -s ValidNumOfMonitors=1,2
Cannot set value 1,2 to key ValidNumOfMonitors. 

As from the /etc/ovirt-engine/engine-config/engine-config.properties
ValidNumOfMonitors.description="Valid Numbers of Monitors"
ValidNumOfMonitors.type=Integer

Once is set to String the engine-config works

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

How reproducible:
100%

Steps to Reproduce:
1. Change the default value of ValidNumOfMonitors
2. Cannot set value


Actual results:
Cannot set value

Expected results:
As the default value is 1,2,4 possibility to change it to similar
Comment 2 Israel Pinto 2017-12-07 09:10:38 EST
Verify with: Software Version:4.2.0-0.6.el7

Cases:
1.
Checked: engine-config -s ValidNumOfMonitors="1,2"
Results: engine-config -g ValidNumOfMonitors
ValidNumOfMonitors: 1,2 version: general
2.
engine-config -s ValidNumOfMonitors="1,2,4"
engine-config -g ValidNumOfMonitors
ValidNumOfMonitors: 1,2,4 version: general


PASS
Comment 6 errata-xmlrpc 2018-05-15 13:45:15 EDT
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/RHEA-2018:1488

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