Hide Forgot
Description of problem: The following neutron-lbaas RHOSP 12 unit test, fails: neutron_lbaas.tests.unit.test_agent_scheduler.LBaaSAgentSchedulerTestCase.test_schedule_loadbalancer_with_disabled_agent neutron_lbaas.tests.unit.drivers.common.test_agent_driver_base.TestLoadBalancerManager.test_schedule_loadbalancer_with_disabled_agent Version-Release number of selected component (if applicable): osp 12 source How reproducible: 100% Steps to Reproduce: 1. clone neutron-lbaas and checkout osp 12 branch 2. run 'tox -e py27' Actual results: Traceback (most recent call last): File "/home/abregman/dev/neutron-lbaas/.tox/py27/src/neutron/neutron/tests/base.py", line 118, in func return f(self, *args, **kwargs) File "/home/abregman/dev/neutron-lbaas/.tox/py27/src/neutron/neutron/tests/base.py", line 118, in func return f(self, *args, **kwargs) File "neutron_lbaas/tests/unit/test_agent_scheduler.py", line 169, in test_schedule_loadbalancer_with_disabled_agent self._disable_agent(agents['agents'][0]['id']) File "/home/abregman/dev/neutron-lbaas/.tox/py27/src/neutron/neutron/tests/unit/db/test_agentschedulers_db.py", line 216, in _disable_agent self._update('agents', agent_id, new_agent) File "/home/abregman/dev/neutron-lbaas/.tox/py27/src/neutron/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 554, in _update req = self.new_update_request(resource, new_data, id, headers=headers) TypeError: new_update_request() got an unexpected keyword argument 'headers' Expected results: All tests passed successfully
This breakage should be resolved by https://review.openstack.org/#/c/484437 , which part of is included in tag 11.0.0.0b3, whereas we currently are at 11.0.0.0b2. We can either wait for the RDO import or cherry-pick the fix. Since this is an AutomationBlocker, I chose not to wait and cherry-picked.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:3462