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.
Reviewed: https:/ /review. openstack. org/431545 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=15280bde1d4 b3927a5b5912677 c9576f96b2ed51
Committed: https:/
Submitter: Jenkins
Branch: master
commit 15280bde1d4b392 7a5b5912677c957 6f96b2ed51
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: Ie697ad6520622d 6f01f06b19b143d 5f8ac21e053
Related-Bug: 1603909