floatingip-create on a subnet with exhausted IPs throws internal server error
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Prakash Bailkeri | |||
Trunk |
Fix Committed
|
High
|
Prakash Bailkeri |
Bug Description
Build 1.10 10
root@nodec22:~# neutron floatingip-create public_vn
Request Failed: internal server error while processing your request.
root@nodec22:~#
contrail-api log :
===============
<class 'cfgm_common.
Python 2.7.3: /usr/bin/python
Sun Aug 10 12:04:49 2014
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/
496 try:
497 cfgdb = self._get_
498 net_info = cfgdb.floatingi
499 return net_info
500 except Exception as e:
net_info undefined
cfgdb = <vnc_openstack.
cfgdb.floatingi
floatingip = {u'fields': None, u'filters': None, u'resource': {u'fixed_
/usr/lib/
3256 exc_info = {'type': 'BadRequest', 'message': msg}
3257 bottle.abort(400, json.dumps(
3258 fip_uuid = self._vnc_
3259 fip_obj = self._vnc_
3260
fip_uuid undefined
self = <vnc_openstack.
self._vnc_lib = <vnc_api.
self._vnc_
fip_obj = <vnc_api.
/usr/lib/
994 content = self._request_
995 vnc_api.
996 data = json_body)
997
998 floating_ip_dict = json.loads(
data undefined
json_body = '{"floating-
/usr/lib/
353 continue
354 else: # Unknown Error
355 raise HttpError(status, content)
356 # end while True
357
global HttpError = <class 'cfgm_common.
status = 500
content = u"Virtual-
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of HttpError object>
__dict__ = {'content': u"Virtual-
__doc__ = None
__format__ = <built-in method __format__ of HttpError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of HttpError object>
__getslice__ = <method-wrapper '__getslice__' of HttpError object>
__hash__ = <method-wrapper '__hash__' of HttpError object>
__init__ = <bound method HttpError.__init__ of HttpError()>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of HttpError object>
__reduce_ex__ = <built-in method __reduce_ex__ of HttpError object>
__repr__ = <method-wrapper '__repr__' of HttpError object>
__setattr__ = <method-wrapper '__setattr__' of HttpError object>
__setstate__ = <built-in method __setstate__ of HttpError object>
__sizeof__ = <built-in method __sizeof__ of HttpError object>
__str__ = <bound method HttpError.__str__ of HttpError()>
__subclassh
__unicode__ = <built-in method __unicode__ of HttpError object>
__weakref__ = None
args = ()
content = u"Virtual-
message = ''
status_code = 500
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/lib/
net_info = cfgdb.floatingi
File "/usr/lib/
fip_uuid = self._vnc_
File "/usr/lib/
data = json_body)
File "/usr/lib/
raise HttpError(status, content)
HttpError: HTTP Status: 500 Content: Virtual-
Traceback (most recent call last):
File "/usr/lib/
return route.call(**args)
File "/usr/lib/
rv = callback(*a, **ka)
File "/usr/lib/
return self.plugin_
File "/usr/lib/
raise e
HttpError: HTTP Status: 500 Content: Virtual-
10.204.217.108 - - [2014-08-10 12:04:49] "POST /neutron/floatingip HTTP/1.1" 500 156 0.109285
Changed in juniperopenstack: | |
status: | New → Confirmed |
Changed in juniperopenstack: | |
status: | Confirmed → In Progress |
tags: | added: automation |
https:/ /github. com/Juniper/ contrail- controller/ commit/ b2823a4f686f1a9 6ae09bfab7aaf78 71c9f6a29c