Not able to attach policy to a network
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Released
|
Critical
|
Hampapur Ajay | |||
Trunk |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
create a default policy through webui / api
Attaching a policy to a network gives an internal error during both operations from webui / api
2014-08-
2014-08-
2014-08-
at APIServer.
at EventEmitter.
at EventEmitter.emit (events.js:99:17)
at EventEmitter.
at mixin._
at IncomingMessage
at EventEmitter.
at mixin._
at EventEmitter.
at IncomingMessage
Changed in juniperopenstack: | |
milestone: | none → r1.10-fcs |
tags: | added: config ui |
information type: | Proprietary → Public |
Traceback when attaching a policy via api
ERROR:vnc_ cfg_api_ server. vnc_cfg_ api_server: Exception in REST api handler: python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 403, in handler_ trap_exception python2. 7/dist- packages/ vnc_cfg_ api_server/ gen/vnc_ api_server_ gen.py" , line 2458, in network_ policys_ http_post python2. 7/dist- packages/ bottle. py", line 163, in __get__ python2. 7/dist- packages/ bottle. py", line 1020, in json self.body. read(self. MEMFILE_ MAX)) python2. 7/json/ __init_ _.py", line 326, in loads decoder. decode( s) python2. 7/json/ decoder. py", line 366, in decode python2. 7/json/ decoder. py", line 384, in raw_decode
<pre>Traceback (most recent call last):
File "/usr/lib/
return handler(*args, **kwargs)
File "/usr/lib/
obj_dict = request.json[key]
File "/usr/lib/
if key not in storage: storage[key] = self.getter(obj)
File "/usr/lib/
return json_loads(
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
</pre>
Traceback (most recent call last): python2. 7/dist- packages/ bottle. py", line 764, in _handle python2. 7/dist- packages/ bottle. py", line 1575, in wrapper python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 416, in handler_ trap_exception
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
raise e
ValueError: No JSON object could be decoded