NSX: fix migration of networks with no subnets

Bug #1313997 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Armando Migliaccio
Icehouse
New
Undecided
Unassigned

Bug Description

Corner case with networks without a subnet leads to a spurious exception during net-migration, because the validation logic is called twice: before migration and after.

Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to neutron (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (master)

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

commit 47e51e7521784f6a2edcfbf71a9aac0237e76e42
Author: armando-migliaccio <email address hidden>
Date: Mon Apr 28 20:24:18 2014 -0700

    NSX: fix migration for networks without a subnet

    In case the network is without a subnet, calling the validation
    logic during the report phase leads to an error because the LSN
    would have been already allocated during the migration phase.

    Bypass the issue by calling the plugin directly, which is what
    the validation logic does in the first place.

    Closes-bug: #1313997

    Change-Id: I14f77ae3b0cc147c4ea1c79e56bdd809de7c76a0

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/91378

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/91378
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f217479c61052077df4b7aae333fb71448c834c0
Submitter: Jenkins
Branch: stable/icehouse

commit f217479c61052077df4b7aae333fb71448c834c0
Author: armando-migliaccio <email address hidden>
Date: Mon Apr 28 20:24:18 2014 -0700

    NSX: fix migration for networks without a subnet

    In case the network is without a subnet, calling the validation
    logic during the report phase leads to an error because the LSN
    would have been already allocated during the migration phase.

    Bypass the issue by calling the plugin directly, which is what
    the validation logic does in the first place.

    Closes-bug: #1313997

    Change-Id: I14f77ae3b0cc147c4ea1c79e56bdd809de7c76a0
    (cherry picked from commit 47e51e7521784f6a2edcfbf71a9aac0237e76e42)

tags: added: in-stable-icehouse
Kyle Mestery (mestery)
Changed in neutron:
importance: Undecided → Critical
importance: Critical → Low
milestone: none → juno-1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.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.