Comment 7 for bug 1603909

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

Reviewed: https://review.openstack.org/431545
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=15280bde1d4b3927a5b5912677c9576f96b2ed51
Submitter: Jenkins
Branch: master

commit 15280bde1d4b3927a5b5912677c9576f96b2ed51
Author: John Garbutt <email address hidden>
Date: Thu Feb 9 13:48:33 2017 +0000

    Add device_id when creating ports

    Currently, when nova is creating ports, we don't update the device_id
    until we bind the port much later in the process. It's better to set the
    device_id when we create the port for a variety of reasons, such as it
    stops other instances trying to use the port we just created.

    The real reason it is changed here is because in a few edge cases Nova
    still fails to correctly clean up ports we created. By adding the
    device_id we should be able to more easily track down the cause of the
    leaking ports, and it may help fix the issue too.

    Change-Id: Ie697ad6520622d6f01f06b19b143d5f8ac21e053
    Related-Bug: 1603909