← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591111] [NEW] schedulers deprecated warning in unit tests

 

Public bug reported:

aptured stderr:
~~~~~~~~~~~~~~~~
    /home/gkotton/vmware-nsx/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py:229: DeprecationWarning: Using function/method 'NsxV3Plugin.add_agent_status_check()' is deprecated: This will be removed in the N cycle. Please use 'add_agent_status_check_worker' instead.
      self.add_agent_status_check(self.remove_networks_from_down_agents)
    
{0} vmware_nsx.tests.unit.nsx_v3.test_plugin.TestL3NatTestCase.test_router_add_interface_port_bad_tenant_returns_404 [3.499239s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /home/gkotton/vmware-nsx/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py:229: DeprecationWarning: Using function/method 'NsxV3Plugin.add_agent_status_check()' is deprecated: This will be removed in the N cycle. Please use 'add_agent_status_check_worker' instead.
      self.add_agent_status_check(self.remove_networks_from_down_agents)

** Affects: neutron
     Importance: Undecided
     Assignee: Gary Kotton (garyk)
         Status: In Progress

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

Title:
  schedulers deprecated warning in unit tests

Status in neutron:
  In Progress

Bug description:
  aptured stderr:
  ~~~~~~~~~~~~~~~~
      /home/gkotton/vmware-nsx/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py:229: DeprecationWarning: Using function/method 'NsxV3Plugin.add_agent_status_check()' is deprecated: This will be removed in the N cycle. Please use 'add_agent_status_check_worker' instead.
        self.add_agent_status_check(self.remove_networks_from_down_agents)
      
  {0} vmware_nsx.tests.unit.nsx_v3.test_plugin.TestL3NatTestCase.test_router_add_interface_port_bad_tenant_returns_404 [3.499239s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /home/gkotton/vmware-nsx/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py:229: DeprecationWarning: Using function/method 'NsxV3Plugin.add_agent_status_check()' is deprecated: This will be removed in the N cycle. Please use 'add_agent_status_check_worker' instead.
        self.add_agent_status_check(self.remove_networks_from_down_agents)

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


Follow ups