Bug 908775 - ovirt-engine-backend: Cannot add external event if flood rate is not passed explicitly
Summary: ovirt-engine-backend: Cannot add external event if flood rate is not passed e...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.2.0
Assignee: Eli Mesika
QA Contact: Oded Ramraz
URL:
Whiteboard: infra
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2013-02-07 13:47 UTC by Oded Ramraz
Modified: 2016-02-10 19:46 UTC (History)
9 users (show)

Fixed In Version: sf8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 11847 0 None None None Never

Description Oded Ramraz 2013-02-07 13:47:23 UTC
Description of problem:

I'm trying to add external event using rhevm-shell . 
When I don't pass flood rate explicitly I get "General command validation failure" , after I pass it the external event is added successfully ( See Additional Information ). 



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:



Additional info:

## flood rate is not passed 

RHEVM shell (connected)]# add event --custom_id 12 --origin "test" --severity "normal" --description "test"

error: 
status: 400
reason: Bad Request
detail: General command validation failure.

## passing flood rate explicitly 


[RHEVM shell (connected)]# add event --custom_id -1 --origin "newvirt" --severity "normal" --description "test" --flood_rate 30

id         : 13576
description: test
code       : 9801
custom_id  : -1
flood_rate : 30
origin     : newvirt
severity   : normal
time       : 2013-02-07T15:43:11.323+02:00

Comment 1 Eli Mesika 2013-02-12 20:15:51 UTC
fixed in commit : 3644f85

Comment 3 Oded Ramraz 2013-04-14 12:06:15 UTC
[RHEVM shell (connected)]# add event --custom_id 12 --origin "test" --severity "normal" --description "test"

id         : 44832
description: test
code       : 9801
custom_id  : 12
flood_rate : 30
origin     : test
severity   : normal
time       : 2013-04-14T15:05:40.686+03:00


sf13.1

Comment 4 Itamar Heim 2013-06-11 09:07:43 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:07:43 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:07:46 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 09:36:20 UTC
3.2 has been released


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