← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1554076] Re: neutron_lbaas.tests.unit.drivers.common.test_agent_callbacks.TestLoadBalancerCallbacks fails due to new description field in subnet

 

Reviewed:  https://review.openstack.org/289362
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=d3386d3e97fa7ff5cf1a0bbb25a6cfed88427d69
Submitter: Jenkins
Branch:    master

commit d3386d3e97fa7ff5cf1a0bbb25a6cfed88427d69
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Mon Mar 7 15:36:38 2016 +0100

    Uncouple lbaas object models from neutron core plugin results
    
    Since I6e1ef53d7aae7d04a5485810cc1db0a8eb125953, subnets have
    'description' field. We should accommodate for it on lbaas side.
    
    Instead of introducing yet another field for lbaas object, make base
    class filter out unknown fields in from_dict() before passing them into
    __init__.
    
    Change-Id: Ib00f61cfbc13bf934c31eb476039728830e79e92
    Closes-Bug: #1554076


** Changed in: neutron
       Status: In Progress => 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/1554076

Title:
  neutron_lbaas.tests.unit.drivers.common.test_agent_callbacks.TestLoadBalancerCallbacks
  fails due to new description field in subnet

Status in neutron:
  Fix Released

Bug description:
  http://logs.openstack.org/97/288797/5/check/gate-neutron-lbaas-
  python27/55bdb21/testr_results.html.gz

  Traceback (most recent call last):
    File "neutron_lbaas/tests/unit/drivers/common/test_agent_callbacks.py", line 150, in test_get_loadbalancer_active
      ctx, loadbalancer['loadbalancer']['id']
    File "neutron_lbaas/drivers/common/agent_callbacks.py", line 74, in get_loadbalancer
      subnet_dict))
    File "neutron_lbaas/services/loadbalancer/data_models.py", line 183, in from_dict
      return Subnet(**model_dict)
  TypeError: __init__() got an unexpected keyword argument 'description'

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


References