VMware LBaaSv1 method uses invalid context

Bug #1521160 reported by Kobi Samoray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Kobi Samoray

Bug Description

VMware LBaaSv1 driver supplies the Neutron plugin with a method, which allows detection of Edge appliance use by the LBaaS driver.
The is_edge_in_use() method is using a context which is invalid: the driver has no self.context property and shouldn't have one.
Instead, the context should pass as parameter.

Tags: lbaas
Kobi Samoray (ksamoray)
Changed in neutron:
assignee: nobody → Kobi Samoray (ksamoray)
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/251320

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

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

commit f993da58e81d0fbace9af01fabaf2bf07f6153b4
Author: Kobi Samoray <email address hidden>
Date: Mon Nov 30 14:00:12 2015 +0200

    VMware LBaaSv1 method uses invalid context

    VMware LBaaSv1 driver supplies the Neutron plugin with a method, which allows
    detection of Edge appliance use by the LBaaS driver.
    The is_edge_in_use() method is using a context which is invalid: the driver
    has no self.context property and shouldn't have one.
    Instead, the context should pass as parameter.

    Change-Id: I7f3b95b43f87b35d641f0c7535d648ee178eda41
    Closes-Bug: #1521160

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron-lbaas 8.0.0.0b2

This issue was fixed in the openstack/neutron-lbaas 8.0.0.0b2 development milestone.

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

Other bug subscribers

Remote bug watches

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