← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1617268] [NEW] vpn-agent does not initialize FWaaS

 

Public bug reported:

Currently, main class for L3, FWaaS and VPNaaS is following.

                 -----------
                 |L3NATAgent|
                 -----------
                       |
                       |
            --------------------------
            |L3NATAgentWithStateReport|
            --------------------------
             |                      |
             |                      |
       -----------               ---------
      |L3WithFWaaS|              |VPNAgent|
       -----------               ---------

* When launching l3-agent without FWaaS, L3NATAgentWithStateReport  class is initialized.
* When launching l3-agent with FWaaS, L3WithFWaaS class is initialized.
This is achieved by following commit. 
https://github.com/openstack/neutron-fwaas/commit/debc3595599ed6cd52caf6e04f083af9c93f6fa4

* When launching vpn-agent with/without FWaaS, VPNAgent class is initialized.
  In this case, L3WithFWaaS class is not initialized even though FWaaS is enabled.
  Thus, FWaaS won't be available when using both of FWaaS and VPNaaS.

Here is log of vpn-agent that is when the agent receives RPC request about firewall from neutron.   
===========
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server [-] Exception during message handling
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 155, in dispatch
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server     raise NoSuchMethod(method)
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server NoSuchMethod: Endpoint does not support RPC method delete_firewall
2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server
============

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: fwaas vpnaas

** Tags added: vpnaas

** Tags added: fwaas

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1617268

Title:
  vpn-agent does not initialize FWaaS

Status in neutron:
  New

Bug description:
  Currently, main class for L3, FWaaS and VPNaaS is following.

                   -----------
                   |L3NATAgent|
                   -----------
                         |
                         |
              --------------------------
              |L3NATAgentWithStateReport|
              --------------------------
               |                      |
               |                      |
         -----------               ---------
        |L3WithFWaaS|              |VPNAgent|
         -----------               ---------

  * When launching l3-agent without FWaaS, L3NATAgentWithStateReport  class is initialized.
  * When launching l3-agent with FWaaS, L3WithFWaaS class is initialized.
  This is achieved by following commit. 
  https://github.com/openstack/neutron-fwaas/commit/debc3595599ed6cd52caf6e04f083af9c93f6fa4

  * When launching vpn-agent with/without FWaaS, VPNAgent class is initialized.
    In this case, L3WithFWaaS class is not initialized even though FWaaS is enabled.
    Thus, FWaaS won't be available when using both of FWaaS and VPNaaS.

  Here is log of vpn-agent that is when the agent receives RPC request about firewall from neutron.   
  ===========
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server [-] Exception during message handling
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 155, in dispatch
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server     raise NoSuchMethod(method)
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server NoSuchMethod: Endpoint does not support RPC method delete_firewall
  2016-08-26 10:42:35.340 16065 ERROR oslo_messaging.rpc.server
  ============

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1617268/+subscriptions


Follow ups