← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1292742] Re: supported_extension_aliases in cisco network_plugin grows in unit tests

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  supported_extension_aliases in cisco network_plugin grows in unit
  tests

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In Cisco network_plugin unit tests, supported_extension_aliases grows while running unit tests.
  It is because cisco network plugin extends supported_extension_aliases.
  supported_exntension_aliases is a class attribute, so it will not reset to the original even after each unit test finished.

  Message like this is annoying when debugging unit tests.

  Note that in a real environment the plugin is initialized only once
  and there is no negative impact.

  2014-03-15 08:35:39,867     INFO [neutron.manager] Loading core plugin: neutron.plugins.cisco.network_plugin.PluginV2
  2014-03-15 08:35:39,928     INFO [neutron.plugins.openvswitch.ovs_neutron_plugin] Network VLAN ranges: {'physnet1': [(1000, 1100)]}
  2014-03-15 08:35:39,957     INFO [neutron.manager] supported_extension_aliases=['credential', 'Cisco qos', 'provider', 'binding', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'ag
  ent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'binding', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', '
  agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute',
   'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'binding', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute
  ', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_schedule
  r', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_sched
  uler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'binding', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_sch
  eduler', 'extra_dhcp_opt', 'allowed-address-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_
  opt', 'allowed-address-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-addres
  s-pairs', 'provider', 'external-net', 'router', 'ext-gw-mode', 'binding', 'quotas', 'agent', 'extraroute', 'l3_agent_scheduler', 'dhcp_agent_scheduler', 'extra_dhcp_opt', 'allowed-address-pairs']
  2014-03-15 08:35:39,957     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,957     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2014-03-15 08:35:39,958     INFO [neutron.api.extensions] Initializing extension manager.
  2014-03-15 08:35:39,959    ERROR [neutron.api.extensions] Extension path 'unit/extensions' doesn't exist!
  2014-03-15 08:35:39,959     INFO [neutron.api.extensions] Loading extension file: __init__.py
  2014-03-15 08:35:39,959     INFO [neutron.api.extensions] Loading extension file: __init__.pyc
  2014-03-15 08:35:39,959     INFO [neutron.api.extensions] Loading extension file: _credential_view.py
  2014-03-15 08:35:39,959     INFO [neutron.api.extensions] Loading extension file: _qos_view.py

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


References