NSX L2 GW extension uses wrong network_id

Bug #1285399 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando

Bug Description

As NSX and neutron identifiers is not anymore the name, the NSX logical switch id should be used to plug the l2 gateway attachment into a port.

This is an easy fix:

             l2gwlib.plug_l2_gw_service(
                 self.cluster,
- port_data['network_id'],
+ selected_lswitch['uuid'],
                 lport['uuid'],
                 port_data['device_id'],
                 int(port_data.get('gw:segmentation_id') or 0))

Tags: nicira
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

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

Reviewed: https://review.openstack.org/76683
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=caa4ccd5d75626b390bb071e10367935f2878880
Submitter: Jenkins
Branch: master

commit caa4ccd5d75626b390bb071e10367935f2878880
Author: Salvatore Orlando <email address hidden>
Date: Wed Feb 26 14:38:24 2014 -0800

    NSX: Pass NSX uuid when plugging l2 gw attachment

    The code passed the neutron network identifier.
    This is no longer valid as identifiers on the backend are not
    anymore the same as neutron identifiers.

    Also, this would have hardly worked with networks on extended
    logical switches.

    Closes-Bug: 1285399
    Change-Id: I6fe4d22d5b8d8b7dc3eb1cb3f47ad52ac1a2b565

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
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.