<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-9"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-postaStili17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postaStili18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=TR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>FYI: I have resolved the issue by setting lock_path parameter in neutron conf.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='mso-fareast-language:TR'>From:</span></b><span style='mso-fareast-language:TR'> Cihangir BEŞİKTAŞ (BİLGEM) [mailto:cihangir.besiktas@tubitak.gov.tr] <br><b>Sent:</b> Tuesday, October 25, 2016 8:17 AM<br><b>To:</b> openstack@lists.openstack.org<br><b>Subject:</b> [Openstack] [Neutron] l3-agent error when changing external nic<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I got lots of the following error after changing the external network interface on Mitaka. Could you help me to solve the problem.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Note: I have deleted the port of previous nic from ovs bridge br-ex, and added the new interface to the bridge.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent [-] Failed to process compatible router 'd9a05ce5-7884-4470-9760-16168d8695fc'<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent Traceback (most recent call last):<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self._process_updated_router(router)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent ri.process(self)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self.logger(e)<o:p></o:p></p><p class=MsoNormal>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__<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self.force_reraise()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent six.reraise(self.type_, self.value, self.tb)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent return func(*args, **kwargs)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self.process_address_scope()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self.process_floating_ip_address_scope_rules()<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent self.gen.next()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent raise n_exc.IpTablesApplyException(msg)<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent IpTablesApplyException: Failure applying iptables rules<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.637 36661 ERROR neutron.agent.l3.agent<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:12.698 36661 INFO neutron.agent.linux.interface [-] Device qg-9c811eb4-e3 already exists<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager [-] Failure applying iptables rules<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager Traceback (most recent call last):<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager self.defer_apply_off()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager self._apply()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager with lockutils.lock(lock_name, utils.SYNCHRONIZED_PREFIX, True):<o:p></o:p></p><p class=MsoNormal>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__<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager return self.gen.next()<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager ext_lock = external_lock(name, lock_file_prefix, lock_path)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>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)<o:p></o:p></p><p class=MsoNormal>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<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager raise cfg.RequiredOptError('lock_path')<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager RequiredOptError: value required for option: lock_path<o:p></o:p></p><p class=MsoNormal>2016-10-24 16:48:13.019 36661 ERROR neutron.agent.linux.iptables_manager<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Cihangir<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>