Reviewed: https://review.openstack.org/278609 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=eb8141051abe64de7ad9398fb2adaf9a0a79d62d Submitter: Jenkins Branch: master
commit eb8141051abe64de7ad9398fb2adaf9a0a79d62d Author: Kevin Benton <ke...@benton.pub> Date: Wed Feb 10 11:52:37 2016 -0800 ML2: delete_port on deadlock during binding The previous logic was only catching mechanism driver exceptions so it would leave behind a partially built port if a deadlock was encountered during port binding. The bug this closes was caused by a DBDeadlock being encountered when a lock was attempted on the port binding record (get_locked_port_and_binding). This would not be caught so the API would retry the whole operation with the original created port left behind. This resulted in two ports assigned to the same instance. Closes-Bug: #1543880 Change-Id: I694a9d58002d72636225f99a5fb2b1ccc1cfb6e5 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1543880 Title: duplicated security groups in test_port_security_disable_security_group Status in neutron: Fix Released Bug description: An instance of the failure: http://logs.openstack.org/10/275510/2/gate/gate-tempest-dsvm-neutron- linuxbridge/34fdca2/logs/testr_results.html.gz Traceback (most recent call last): File "tempest/scenario/test_security_groups_basic_ops.py", line 166, in setUp self._deploy_tenant(self.primary_tenant) File "tempest/scenario/test_security_groups_basic_ops.py", line 306, in _deploy_tenant self._set_access_point(tenant) File "tempest/scenario/test_security_groups_basic_ops.py", line 272, in _set_access_point security_groups=secgroups) File "tempest/scenario/test_security_groups_basic_ops.py", line 250, in _create_server sorted([s['name'] for s in server['security_groups']])) File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/testtools/testcase.py", line 362, in assertEqual self.assertThat(observed, matcher, message) File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/testtools/testcase.py", line 447, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [u'tempest-secgroup_access--952188639', u'tempest-secgroup_general--210717852'] actual = [u'tempest-secgroup_access--952188639', u'tempest-secgroup_access--952188639', u'tempest-secgroup_general--210717852', u'tempest-secgroup_general--210717852'] You can notice the duplicated security groups. More to follow. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1543880/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp