<div dir="ltr">Ihar,<div><br></div><div>Thanks for your reply, seems like the fwaas is install when installed neutron server:</div><div><br></div><div><div>root@controller-01:~# dpkg -l | grep neutron</div><div>ii neutron-common 2:8.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - common</div><div>ii neutron-plugin-ml2 2:8.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - ML2 plugin</div><div>ii neutron-server 2:8.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - server</div><div>ii python-neutron 2:8.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - Python library</div><div>ii python-neutron-fwaas 1:7.1.1-0ubuntu1~cloud0 all Firewall-as-a-Service driver for OpenStack Neutron</div><div>ii python-neutron-lib 0.0.2-2~cloud0 all Neutron shared routines and utilities - Python 2.7</div><div>ii python-neutronclient 1:3.1.0-0ubuntu1~cloud0 all client API library for Neutron</div><div>root@controller-01:~# apt-get remove python-neutron-fwaas</div><div>Reading package lists... Done</div><div>Building dependency tree</div><div>Reading state information... Done</div><div>The following packages were automatically installed and are no longer required:</div><div> ipset libipset3 libmnl0 python-neutron python-neutron-lib python-openvswitch</div><div>Use 'apt-get autoremove' to remove them.</div><div>The following packages will be REMOVED:</div><div> neutron-common neutron-plugin-ml2 neutron-server python-neutron-fwaas</div><div>0 upgraded, 0 newly installed, 4 to remove and 30 not upgraded.</div><div>After this operation, 1,149 kB disk space will be freed.</div><div>Do you want to continue? [Y/n] n</div><div>Abort.</div><div>root@controller-01:~#</div></div><div><br></div><div>I checked service_plugins value in 'neutron.conf', 'router' is enabled but not fwaas:</div><div><br></div><div><div># The core plugin Neutron will use (string value)</div><div>core_plugin = ml2</div><div><br></div><div># The service plugins Neutron will use (list value)</div><div>service_plugins = router</div></div><div><br></div><div><br></div><div>Richard</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 16, 2016 at 3:36 AM, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Richard Woo <<a href="mailto:richardwoo2003@gmail.com" target="_blank">richardwoo2003@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, folks,<br>
<br>
I have a small cluster running openstack liberty, today I am starting to upgrading to Mitaka.<br>
<br>
I am having a problem to launch l3 agent on network node.<br>
<br>
I got the following error:<br>
Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.<br>
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.<br>
2016-10-15 22:13:20.800 24466 INFO neutron.common.config [-] Logging enabled!<br>
2016-10-15 22:13:20.801 24466 INFO neutron.common.config [-] /usr/bin/neutron-l3-agent version 8.2.0<br>
2016-10-15 22:13:20.801 24466 DEBUG neutron.common.config [-] command line: /usr/bin/neutron-l3-agent --config-file=/etc/neutron/neu<wbr>tron.conf --config-file=/etc/neutron/l3_<wbr>agent.ini --log-file=/var/log/neutron/l3<wbr>-agent.log setup_logging /usr/lib/python2.7/dist-packag<wbr>es/neutron/common/config.py:<wbr>269<br>
2016-10-15 22:13:<a href="tel:20.923%2024466" value="+12092324466" target="_blank">20.923 24466</a> DEBUG oslo_messaging._drivers.amqpdr<wbr>iver [req-8c392909-20ed-45f4-b997-9<wbr>302008d0075 - - - - -] CALL msg_id: 0b6eb35b95ec4edca605b2d3c6a76d<wbr>37 exchange 'neutron' topic 'q-l3-plugin' _send /usr/lib/python2.7/dist-packag<wbr>es/oslo_messaging/_drivers/<wbr>amqpdriver.py:454<br>
/usr/lib/python2.7/dist-packag<wbr>es/pkg_resources/__init__.py:<wbr>187: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.<br>
stacklevel=1,<br>
2016-10-15 22:13:<a href="tel:20.951%2024466" value="+12095124466" target="_blank">20.951 24466</a> DEBUG oslo_messaging._drivers.amqpdr<wbr>iver [-] received reply msg_id: 0b6eb35b95ec4edca605b2d3c6a76d<wbr>37 __call__ /usr/lib/python2.7/dist-packag<wbr>es/oslo_messaging/_drivers/<wbr>amqpdriver.py:302<br>
2016-10-15 22:13:<a href="tel:20.953%2024466" value="+12095324466" target="_blank">20.953 24466</a> DEBUG neutron.callbacks.manager [req-8c392909-20ed-45f4-b997-9<wbr>302008d0075 - - - - -] Subscribe: <function after_router_added at 0x7fa2b1a82050> router after_create subscribe /usr/lib/python2.7/dist-packag<wbr>es/neutron/callbacks/manager.<wbr>py:41<br>
2016-10-15 22:13:<a href="tel:20.954%2024466" value="+12095424466" target="_blank">20.954 24466</a> DEBUG neutron.callbacks.manager [req-8c392909-20ed-45f4-b997-9<wbr>302008d0075 - - - - -] Subscribe: <function before_router_removed at 0x7fa2b1a86230> router before_delete subscribe /usr/lib/python2.7/dist-packag<wbr>es/neutron/callbacks/manager.<wbr>py:41<br>
2016-10-15 22:13:<a href="tel:20.955%2024466" value="+12095524466" target="_blank">20.955 24466</a> DEBUG neutron_fwaas.services.firewal<wbr>l.agents.l3reference.firewall_<wbr>l3_agent [req-8c392909-20ed-45f4-b997-9<wbr>302008d0075 - - - - -] Initializing firewall agent __init__ /usr/lib/python2.7/dist-packag<wbr>es/neutron_fwaas/services/<wbr>firewall/agents/l3reference/<wbr>firewall_l3_agent.py:55<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> CRITICAL neutron [req-8c392909-20ed-45f4-b997-9<wbr>302008d0075 - - - - -] AttributeError: 'module' object has no attribute 'FIREWALL_PLUGIN'<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron Traceback (most recent call last):<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/bin/neutron-l3-agent", line 10, in <module><br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron sys.exit(main())<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/cmd/eventlet/agent<wbr>s/l3.py", line 17, in main<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron l3_agent.main()<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/agent/l3_agent.py"<wbr>, line 57, in main<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron manager=manager)<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/service.py", line 331, in create<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron periodic_fuzzy_delay=<wbr>periodic_fuzzy_delay)<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/service.py", line 264, in __init__<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron self.manager = manager_class(host=host, *args, **kwargs)<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/agent/l3/agent.py"<wbr>, line 635, in __init__<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron super(L3NATAgentWithStateRepo<wbr>rt, self).__init__(host=host, conf=conf)<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron/agent/l3/agent.py"<wbr>, line 243, in __init__<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron super(L3NATAgent, self).__init__(conf=self.conf)<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron File "/usr/lib/python2.7/dist-packa<wbr>ges/neutron_fwaas/services/<wbr>firewall/agents/l3reference/<wbr>firewall_l3_agent.py", line 77, in __init__<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron self.fwplugin_rpc = FWaaSL3PluginApi(topics.FIREWA<wbr>LL_PLUGIN,<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron AttributeError: 'module' object has no attribute 'FIREWALL_PLUGIN'<br>
2016-10-15 22:13:<a href="tel:20.956%2024466" value="+12095624466" target="_blank">20.956 24466</a> ERROR neutron<br>
<br>
On our setup, we did not use any FWaaS service, please give us hints what may cause this problem.<br>
</blockquote>
<br></div></div>
First, if you don’t use FWaaS, then why have you installed neutron-fwaas package? Please remove it. Also, make sure that your l3_agent.ini does not contain any fwaas remnants (I suspect you may have [fwaas] enabled = True there). Finally, check that neutron-server does not attempt to load fwaas service plugin (you can check it in log messages from oslo.config that are dumped at the service startup, specifically, check service_plugins value).<br>
<br>
Ihar<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br></div>