Comment 10 for bug 1390336

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

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

commit 7fc38d0c8498f73f6502520fee99158d130bbfc3
Author: Eli Qiao <email address hidden>
Date: Thu Aug 13 15:02:40 2015 +0800

    Neutron: Check port binding status

    Neutron api creates/uses a port which the port vif_type is
    'binding_failed' without any verification, this leads to libvirt
    driver failing to create instance, and cause vif driver to raise
    a wrong exception message.

    This patch adds a new exception PortBindingFailed to indicate port binding
    failed. If port is newly created, delete it if PortBindingFailed exception
    catched.

    Closes-Bug: #1390336
    Change-Id: I66763ff5293473d1283d55f76dfe33d153abaaec