[Openstack] [Neutron] l3-agent error when changing external nic

Cihangir BEŞİKTAŞ (BİLGEM) cihangir.besiktas at tubitak.gov.tr
Tue Oct 25 05:16:45 UTC 2016


Hi,

 

I got lots of the following error after changing the external network
interface on Mitaka. Could you help me to solve the problem.

 

Note: I have deleted the port of previous nic from ovs bridge br-ex, and
added the new interface to the bridge.

 

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent [-] Failed to
process compatible router 'd9a05ce5-7884-4470-9760-16168d8695fc'

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent Traceback (most
recent call last):

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py", line 503, in
_process_router_update

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self._process_router_if_compatible(router)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py", line 442, in
_process_router_if_compatible

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self._process_updated_router(router)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3/agent.py", line 456, in
_process_updated_router

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
ri.process(self)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 385, in
call

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self.logger(e)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220,
in __exit__

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self.force_reraise()

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196,
in force_reraise

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
six.reraise(self.type_, self.value, self.tb)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 382, in
call

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent     return
func(*args, **kwargs)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line
964, in process

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self.process_address_scope()

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/l3/router_info.py", line
933, in process_address_scope

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self.process_floating_ip_address_scope_rules()

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
self.gen.next()

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent   File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py"
, line 461, in defer_apply

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent     raise
n_exc.IpTablesApplyException(msg)

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent
IpTablesApplyException: Failure applying iptables rules

2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent

2016-10-24 16:48:12.698 36661 INFO neutron.agent.linux.interface [-]
Device qg-9c811eb4-e3 already exists

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
[-] Failure applying iptables rules

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
Traceback (most recent call last):

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py"
, line 457, in defer_apply

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
self.defer_apply_off()

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py"
, line 468, in defer_apply_off

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
self._apply()

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py"
, line 481, in _apply

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
with lockutils.lock(lock_name, utils.SYNCHRONIZED_PREFIX, True):

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
return self.gen.next()

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
line 215, in lock

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
ext_lock = external_lock(name, lock_file_prefix, lock_path)

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
line 146, in external_lock

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
lock_file_path = _get_lock_path(name, lock_file_prefix, lock_path)

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
File
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
line 140, in _get_lock_path

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
raise cfg.RequiredOptError('lock_path')

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager
RequiredOptError: value required for option: lock_path

2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager

 

Regards,

Cihangir

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20161025/b529fd9c/attachment.html>


More information about the Openstack mailing list