When associating a floating IP address to an instance's allowed address pair, the action fails with the following stack :
update failed: No details.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource
result = method(request=request, **args)
File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 604, in update
return self._update(request, id, body, **kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
setattr(e, '_RETRY_EXCEEDED', True)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
ectxt.value = e.inner_exc
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
traceback.format_exc())
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
return f(*dup_args, **dup_kwargs)
File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 652, in _update
obj = obj_updater(request.context, id, **kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 159, in wrapped
return method(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
setattr(e, '_RETRY_EXCEEDED', True)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
ectxt.value = e.inner_exc
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
traceback.format_exc())
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
self.force_reraise()
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
return f(*dup_args, **dup_kwargs)
File "/usr/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 1020, in update_floatingip
context, id, floatingip)
File "/usr/lib/python2.7/site-packages/neutron/db/l3_db.py", line 1352, in _update_floatingip
context.elevated(), fip_port_id))
File "/usr/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 284, in _update_fip_assoc
port)
File "/usr/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 297, in _inherit_service_port_and_arp_update
address_pair_port=allowed_address_port))
File "/usr/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 1073, in update_unbound_allowed_address_pair_port_binding
context, address_pair_port['id'], {'port': port_data})
File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 755, in inner
"transaction.") % f)
RuntimeError: Method <function update_port at 0x4cbf6e0> cannot be called within a transaction.
When associating a floating IP address to an instance's allowed address pair, the action fails with the following stack :
update failed: No details. python2. 7/site- packages/ neutron/ api/v2/ resource. py", line 79, in resource request= request, **args) python2. 7/site- packages/ neutron/ api/v2/ base.py" , line 604, in update request, id, body, **kwargs) python2. 7/site- packages/ neutron/ db/api. py", line 88, in wrapped python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ neutron/ db/api. py", line 84, in wrapped python2. 7/site- packages/ oslo_db/ api.py" , line 151, in wrapper python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ oslo_db/ api.py" , line 139, in wrapper python2. 7/site- packages/ neutron/ db/api. py", line 124, in wrapped format_ exc()) python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ neutron/ db/api. py", line 119, in wrapped python2. 7/site- packages/ neutron/ api/v2/ base.py" , line 652, in _update request. context, id, **kwargs) python2. 7/site- packages/ neutron/ db/api. py", line 159, in wrapped python2. 7/site- packages/ neutron/ db/api. py", line 88, in wrapped python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ neutron/ db/api. py", line 84, in wrapped python2. 7/site- packages/ oslo_db/ api.py" , line 151, in wrapper python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ oslo_db/ api.py" , line 139, in wrapper python2. 7/site- packages/ neutron/ db/api. py", line 124, in wrapped format_ exc()) python2. 7/site- packages/ oslo_utils/ excutils. py", line 220, in __exit__ force_reraise( ) python2. 7/site- packages/ oslo_utils/ excutils. py", line 196, in force_reraise reraise( self.type_ , self.value, self.tb) python2. 7/site- packages/ neutron/ db/api. py", line 119, in wrapped python2. 7/site- packages/ neutron/ db/l3_dvr_ db.py", line 1020, in update_floatingip python2. 7/site- packages/ neutron/ db/l3_db. py", line 1352, in _update_floatingip elevated( ), fip_port_id)) python2. 7/site- packages/ neutron/ db/l3_dvr_ db.py", line 284, in _update_fip_assoc python2. 7/site- packages/ neutron/ db/l3_dvr_ db.py", line 297, in _inherit_ service_ port_and_ arp_update pair_port= allowed_ address_ port)) python2. 7/site- packages/ neutron/ db/l3_dvr_ db.py", line 1073, in update_ unbound_ allowed_ address_ pair_port_ binding pair_port[ 'id'], {'port': port_data}) python2. 7/site- packages/ neutron/ common/ utils.py" , line 755, in inner
Traceback (most recent call last):
File "/usr/lib/
result = method(
File "/usr/lib/
return self._update(
File "/usr/lib/
setattr(e, '_RETRY_EXCEEDED', True)
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
ectxt.value = e.inner_exc
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
traceback.
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*dup_args, **dup_kwargs)
File "/usr/lib/
obj = obj_updater(
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
setattr(e, '_RETRY_EXCEEDED', True)
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
ectxt.value = e.inner_exc
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
traceback.
File "/usr/lib/
self.
File "/usr/lib/
six.
File "/usr/lib/
return f(*dup_args, **dup_kwargs)
File "/usr/lib/
context, id, floatingip)
File "/usr/lib/
context.
File "/usr/lib/
port)
File "/usr/lib/
address_
File "/usr/lib/
context, address_
File "/usr/lib/
"transaction.") % f)
RuntimeError: Method <function update_port at 0x4cbf6e0> cannot be called within a transaction.