Fix port clean up race condition 24/64524/10
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 14 Jul 2020 04:10:43 +0000 (14:10 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 16 Jul 2020 21:51:43 +0000 (07:51 +1000)
commitb8cc2d59ce5bd319a4c3d15e6fdab3ef6875c8f5
tree3eae088d7442a20a40ea1b4c10b2435b04fb26b2
parentb93f5d74eb7e8ed30fdace969eb7fcd0b9f8d003
Fix port clean up race condition

Fix the race condition by checking the created_at timestamp and
clean up ports that were created atleast 30 minutes before.

Jira: RELENG-3062
Change-Id: I151d4d541e6858214fc49d3479cf932feb8b9acf
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/fix-openstack-port-cleanup-race-condition-8746f634fd1709ae.yaml [new file with mode: 0644]
shell/openstack-cleanup-orphaned-ports.sh