configuration of (FWaaS) v2 in file l3_agent.ini

Bug #1742450 reported by miaoyuliang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Brian Haley

Bug Description

in the page of https://docs.openstack.org/neutron/pike/admin/fwaas-v2-scenario.html,the current configuration of file l3_agent.ini will cause some error in l3_agent.log.

Version:pike
Linux version 3.10.0-693.11.6.el7.x86_64 (<email address hidden>) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Thu Jan 4 01:06:37 UTC 2018

following is the detail and the fix way:

WRONG:
     [AGENT]
     extensions = fwaas

RIGHT:
     [AGENT]
     extensions = fwaas_v2

if it was configured to "fwaas" in Firewall-as-a-Service (FWaaS) v2 scenario, there will be error in l3_agent.log :

2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent [req-96d0b44f-bd90-4bee-b17d-9ea3fde0c013 - 348df301bd2a4bb9b643d410bfaf1884 - - -] FWaaS RPC info call failed for '8bc18231-5122-4707-9141-33e36e943823'.: RemoteError: Remote error: NoSuchMethod Endpoint does not support RPC method get_firewalls_for_tenant
[u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming\n res = self.dispatcher.dispatch(message)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 218, in dispatch\n raise NoSuchMethod(method)\n', u'NoSuchMethod: Endpoint does not support RPC method get_firewalls_for_tenant\n'].
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent Traceback (most recent call last):
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/neutron_fwaas/services/firewall/agents/l3reference/firewall_l3_agent.py", line 220, in add_router
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent self._process_router_add(new_router)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/neutron_fwaas/services/firewall/agents/l3reference/firewall_l3_agent.py", line 195, in _process_router_add
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent fw_list = self.fwplugin_rpc.get_firewalls_for_tenant(ctx)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/neutron_fwaas/services/firewall/agents/l3reference/firewall_l3_agent.py", line 46, in get_firewalls_for_tenant
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent return cctxt.call(context, 'get_firewalls_for_tenant', host=self.host)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/neutron/common/rpc.py", line 162, in call
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent return self._original_context.call(ctxt, method, **kwargs)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent retry=self.retry)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 123, in _send
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent timeout=timeout, retry=retry)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 566, in send
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent retry=retry)
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 557, in _send
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent raise result
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent RemoteError: Remote error: NoSuchMethod Endpoint does not support RPC method get_firewalls_for_tenant
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 160, in _process_incoming\n res = self.dispatcher.dispatch(message)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 218, in dispatch\n raise NoSuchMethod(method)\n', u'NoSuchMethod: Endpoint does not support RPC method get_firewalls_for_tenant\n'].
2018-01-10 20:28:30.437 1322 ERROR neutron_fwaas.services.firewall.agents.l3reference.firewall_l3_agent

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: 11.0.3.dev24 on 2017-12-15 22:35
SHA: adc344c065c4c6bb2e29e9a6c9a6618163ddfbe7
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/admin/fwaas-v2-scenario.rst
URL: https://docs.openstack.org/neutron/pike/admin/fwaas-v2-scenario.html

Tags: doc
Revision history for this message
miaoyuliang (mylaliang) wrote :

https://docs.openstack.org/neutron/pike/admin/fwaas-v2-scenario.html
Configure the FWaaS plugin for the L3 agent.

In the AGENT section of l3_agent.ini, make sure the FWaaS extension is loaded:

[AGENT]
extensions = fwaas_v2

description: updated
description: updated
Changed in neutron:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/532572

Changed in neutron:
assignee: nobody → Brian Haley (brian-haley)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/532572
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b04790e12e5c436e58a961d388a6d13a720ef687
Submitter: Zuul
Branch: master

commit b04790e12e5c436e58a961d388a6d13a720ef687
Author: Brian Haley <email address hidden>
Date: Wed Jan 10 11:44:11 2018 -0500

    Fix fwaas v2 configuration doc

    The wrong extension was listed in the admin guide.

    Change-Id: Idac3ffb974d904c50b2f7563a475d34865266b59
    Closes-bug: #1742450

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 12.0.0.0b3

This issue was fixed in the openstack/neutron 12.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.