neutron server report error when get loadbalance status

Bug #1607585 reported by dongjuan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
dongjuan

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

Tags: lbaas
dongjuan (dong-juan1)
Changed in neutron:
assignee: nobody → dongjuan (dong-juan1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lbaas (master)

Fix proposed to branch: master
Review: https://review.openstack.org/348652

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lbaas (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lbaas 9.0.0.0b3

This issue was fixed in the openstack/neutron-lbaas 9.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.