Comment 2 for bug 1603197

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/342416
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7a8f1369c5dd9d6a6260ba0c168d06e9f0016d33
Submitter: Jenkins
Branch: master

commit 7a8f1369c5dd9d6a6260ba0c168d06e9f0016d33
Author: Matt Riedemann <email address hidden>
Date: Thu Jul 14 16:51:35 2016 -0400

    neutron: destroy VIFs if allocating ports fails

    Following on 92a388a1e34559b2ce69d31fdef996ff029495a6 we also
    need to rollback VirtualInterfaces that we create if allocation
    fails since a reschedule with a pre-existing port will fail
    allocation with a duplicate VIF constraint error.

    A new test is added for the rollback section being changed
    since there isn't an obvious existing test that this could be
    worked into.

    Change-Id: I04ca4fff319912ce2a8dc07308a3aec1c24dc58c
    Closes-Bug: #1603197