Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1220110

Summary: [TEXT] Error/warning message for out of the range values doesn't provides expected value range for CPU QoS
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Tomer Saban <tsaban>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: dfediuck, ecohen, eedri, gklein, istein, lpeer, lsurette, mavital, rbalakri, rgolan, Rhev-m-bugs, sherold, tnisan, yeylon
Target Milestone: ovirt-3.5.6Keywords: Triaged, ZStream
Target Release: 3.5.6   
Hardware: Unspecified   
OS: Linux   
Whiteboard: sla
Fixed In Version: ovirt-engine-3.5.5-1 Doc Type: Bug Fix
Doc Text:
Cause: Range wasn't added to the error message. Consequence: User couldn't know the valid range for the CPU QoS when illegal value was given. Fix: Added range values to the error message. Result: Now, the user can see the range values every time he/she enters illegal value for the CPU QoS.
Story Points: ---
Clone Of: 1142333 Environment:
Last Closed: 2015-12-01 19:05:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1142333    
Bug Blocks:    
Attachments:
Description Flags
engine log
none
engine log none

Comment 1 Eyal Edri 2015-05-13 07:57:53 UTC
not backported in time for 3.5.3 build and not blocker.
moving to 3.5.4

Comment 2 Nikolai Sednev 2015-09-20 13:52:02 UTC
Didn't worked as expected:	
	
Operation Canceled
Error while executing action: Cannot add QoS. Values are out of range
(Legal range is: ${range}).

less /var/log/ovirt-engine/engine.log
2015-09-20 16:47:07,404 WARN  [org.ovirt.engine.core.bll.qos.AddCpuQosCommand] (ajp-/127.0.0.1:8702-8) [3f7b8d51] CanDoAction of action AddCpuQos failed for user admin@internal. Reasons: VAR__TYPE__QOS,VAR__ACTION__ADD,ACTION_TYPE_FAILED_QOS_OUT_OF_RANGE_VALUES

Used these components:
rhevm-3.5.5-0.1.el6ev.noarch
Linux version 2.6.32-573.2.1.el6.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Wed Jul 22 15:21:03 EDT 2015

Comment 3 Nikolai Sednev 2015-09-20 13:54:26 UTC
Created attachment 1075310 [details]
engine log

Comment 4 Nikolai Sednev 2015-09-20 14:40:39 UTC
Created attachment 1075312 [details]
engine log

Comment 7 Nikolai Sednev 2015-11-05 08:39:27 UTC
Works for me on 3.5.6.1-0.1.el6ev error being shown:	
"Operation Canceled
Error while executing action: Cannot add QoS. Values are out of range
(Legal range is: 1-100)."

Components:
rhevm-3.5.6.1-0.1.el6ev.noarch
ovirt-host-deploy-1.3.2-1.el6ev.noarch
ovirt-host-deploy-java-1.3.2-1.el6ev.noarch
Linux version 2.6.32-573.el6.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Wed Jul 1 18:23:37 EDT 2015

Comment 9 errata-xmlrpc 2015-12-01 19:05:46 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://rhn.redhat.com/errata/RHBA-2015-2531.html