← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1607585] Re: neutron server report error when get loadbalance status

 

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

commit b09d4d2ee0ea71a52679f0eb2743116dbb7e5442
Author: ahdj007 <dong.juan1@xxxxxxxxxx>
Date:   Fri Jul 29 10:38:41 2016 +0800

    Delete the "self" when call "_set_degraded" function
    
    Which will raise Exception:
    TypeError: 'LoadBalancerPluginv2' object does not
    support item assignment.
    
    Change-Id: Ic3f653468c7cec8cc0434d3df9b42cc1660f9260
    Closes-Bug: #1607585


** 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/1607585

Title:
  neutron server report error when get loadbalance status

Status in neutron:
  Fix Released

Bug description:
  2014-01-29 06:43:31.602 11340 ERROR neutron.api.v2.resource [req-d7fb09f3-f5b0-433f-8142-70c2515b78bc ] statuses failed
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 83, in resource
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 207, in _handle_action
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource     return getattr(self._plugin, name)(*arg_list, **kwargs)
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 1010, in statuses
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource     self._set_degraded(self, listener_status, lb_status)
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 1044, in _set_degraded
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource     obj["operating_status"] = lb_const.DEGRADED
  2014-01-29 06:43:31.602 11340 TRACE neutron.api.v2.resource TypeError: 'LoadBalancerPluginv2' object does not support item assignment

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


References