Unable to delete a VN with router:external set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Hampapur Ajay | ||
R1.06 |
Fix Committed
|
Critical
|
Hampapur Ajay |
Bug Description
Build : 1.10 ver 2194
Create a VN with a subnet and set router:external to True
Then try to do a net-delete . It fails
neutron.log :
2014-06-03 16:14:56.644 ERROR [neutron.
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
obj_
File "/usr/lib/
raise e
NoIdError: Unknown id: Error: oper 4 url /floating-
upstart/neutron.log :
-------
<class 'cfgm_common.
Python 2.7.3: /usr/bin/python^M
Tue Jun 3 16:14:56 2014^M
^M
A problem occurred in a Python script. Here is the sequence of^M
function calls leading up to the error, in the order they occurred.^M
^M
/usr/lib/
297 try:^M
298 cfgdb = ContrailPlugin.
299 cfgdb.network_
300 LOG.debug(
301 except Exception as e:^M
cfgdb = <neutron_
cfgdb.network_
net_id = u'd74d7c3a-
^M
/usr/lib/
1868 raise exceptions.
1869 ^M
1870 self._virtual_
1871 try:^M
1872 del self._db_
self = <neutron_
self._virtual_
net_id = u'd74d7c3a-
^M
/usr/lib/
429 fip_pools = net_obj.
430 for fip_pool in fip_pools:^M
431 self._floating_
432 ^M
433 self._vnc_
self = <neutron_
self._floating_
fip_pool_id undefined^M
fip_pool = {u'href': u'http://
^M
/usr/lib/
596 ^M
597 def _floating_
598 fip_pool_uuid = self._vnc_
599 # end _floating_
600 ^M
fip_pool_uuid undefined^M
self = <neutron_
self._vnc_lib = <vnc_api.
self._vnc_
builtinid = <built-in function id>^M
fip_pool_id = u'6152b570-
^M
/usr/lib/
1290 uri = vnc_api.
1291 ^M
1292 content = self._request_
1293 #end floating_
1294 ^M
content undefined^M
self = <vnc_api.
self._request_
global rest = <module 'cfgm_common.rest' from '/usr/lib/
rest.OP_DELETE = 4^M
uri = u'/floating-
^M
/usr/lib/
345 elif status == 404:^M
346 raise NoIdError('Error: oper %s url %s body %s response %s'^M
347 % (op, url, data, content))^M
348 elif status == 403:^M
349 raise PermissionDenie
op = 4^M
url = u'/floating-
data = None^M
content = u'ID 6152b570-
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>^M
__dict__ = {'_unknown_id': u'Error: oper 4 url /floating-
__doc__ = None^M
__format__ = <built-in method __format__ of NoIdError object>^M
__getattrib
__getitem__ = <method-wrapper '__getitem__' of NoIdError object>^M
__getslice__ = <method-wrapper '__getslice__' of NoIdError object>^M
__hash__ = <method-wrapper '__hash__' of NoIdError object>^M
__init__ = <bound method NoIdError.__init__ of NoIdError()>^M
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>^M
__reduce__ = <built-in method __reduce__ of NoIdError object>^M
__reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object>^M
__repr__ = <method-wrapper '__repr__' of NoIdError object>^M
__setattr__ = <method-wrapper '__setattr__' of NoIdError object>^M
__setstate__ = <built-in method __setstate__ of NoIdError object>^M
__sizeof__ = <built-in method __sizeof__ of NoIdError object>^M
__str__ = <bound method NoIdError.__str__ of NoIdError()>^M
__subclassh
__unicode__ = <built-in method __unicode__ of NoIdError object>^M
__weakref__ = None^M
_unknown_id = u'Error: oper 4 url /floating-
args = ()^M
message = ''^M
^M
The above is a description of an error in a Python program. Here is^M
the original traceback:^M
^M
^M
Traceback (most recent call last):^M
File "/usr/lib/
cfgdb.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
fip_pool_uuid = self._vnc_
File "/usr/lib/
content = self._request_
File "/usr/lib/
% (op, url, data, content))^M
NoIdError: Unknown id: Error: oper 4 url /floating-
^M
^M
2014-06-03 16:14:56.644 ERROR [neutron.
Traceback (most recent call last):^M
File "/usr/lib/
result = method(
File "/usr/lib/
obj_
File "/usr/lib/
raise e^M
NoIdError: Unknown id: Error: oper 4 url /floating-
Changed in juniperopenstack: | |
milestone: | r1.10-beta → r1.06-fcs |
information type: | Proprietary → Public |
Fixed with /github. com/Juniper/ contrail- neutron- plugin/ commit/ 587b211a9cc0cca c71255f630af308 ab68864f79
https:/
Duplicate delete was causing this exception