Undefined variable 'network_type' in OVS agent

Bug #1045749 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Akihiro Motoki

Bug Description

In OVSQuantumAgent::reclaim_local_vlan(), an undefined variable 'network_type' is referred.
These should be 'lvm.network_type'.

        if lvm.network_type == constants.TYPE_GRE:
            ..
        elif network_type == constants.TYPE_FLAT:
            ..
        elif network_type == constants.TYPE_VLAN:
            ..
        else:
            LOG.error("reclaiming unknown network type %s for net-id=%s" %
                      (lvm.network_type, net_uuid))

Akihiro Motoki (amotoki)
Changed in quantum:
assignee: nobody → Akihiro Motoki (amotoki)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

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

Reviewed: https://review.openstack.org/12346
Committed: http://github.com/openstack/quantum/commit/fce952e8fac921ef952941dcbcfebd6fe82077d1
Submitter: Jenkins
Branch: master

commit fce952e8fac921ef952941dcbcfebd6fe82077d1
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Sep 4 20:13:18 2012 +0900

    Fixes undefined variable 'network_type' in OVS agent

    bug 1045749

    Change-Id: Icd2e79722cfcb816bfdfa85bd8b8ab5198908474

Changed in quantum:
status: In Progress → Fix Committed
dan wendlandt (danwent)
Changed in quantum:
milestone: none → folsom-rc1
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc1 → 2012.2
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.