R3.1 build 17: AlarmOperand2 instance when tried to create by passing only json_value throws an error
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
High
|
Sundaresan Rajangam | |||
Trunk |
Fix Committed
|
High
|
Sundaresan Rajangam |
Bug Description
operand2 = AlarmOperand2(
rules = {
"or_list":[
{
(Pdb) operand2
<vnc_api.
(Pdb) json.dumps(
'{"uve_attribute": null, "json_value": "\\"vn1\\""}' <----Uve_attribute is getting added in the final json_body causing request to be failed.
Passing only json_value or uve_attribute should be allowed.
File "/usr/lib/
self.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
json_body = '{"%s":%s}' %(res_type, obj_json_param)
File "/usr/lib/
retry_
File "/usr/lib/
raise BadRequest(status, content)
cfgm_common.
Changed in juniperopenstack: | |
importance: | Undecided → Critical |
information type: | Public → Public Security |
information type: | Public Security → Public |
Review in progress for https:/ /review. opencontrail. org/23063
Submitter: Sundaresan Rajangam (<email address hidden>)