Reviewed: https://review.openstack.org/358753 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=11849b7279c5e7afe686fab6f4b21ce6f7366c14 Submitter: Jenkins Branch: master
commit 11849b7279c5e7afe686fab6f4b21ce6f7366c14 Author: Kevin Benton <ke...@benton.pub> Date: Fri Aug 19 21:04:15 2016 -0700 Make auto allocate cleanup retry This adds a retry decorator to the auto allocate cleanup logic so it can handle retriable errors during cleanup. It also adds catches for notfound errors to make the function idempotent so it works on retries. Change-Id: I3d62af3018fb834ec85771d8bc8e7379cc80b72a Closes-Bug: #1615710 ** 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/1615710 Title: test_server_multi_create_auto_allocate failing with "Failed to allocate the network(s), not rescheduling" Status in neutron: Fix Released Bug description: http://logs.openstack.org/93/356593/3/check/gate-tempest-dsvm-neutron- dvr/5396726/logs/testr_results.html.gz http://logs.openstack.org/78/355078/7/check/gate-tempest-dsvm-neutron- linuxbridge/913f31a/logs/testr_results.html.gz Traceback (most recent call last): File "tempest/api/compute/admin/test_auto_allocate_network.py", line 177, in test_server_multi_create_auto_allocate min_count=3) File "tempest/common/compute.py", line 167, in create_test_server % server['id']) File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "tempest/common/compute.py", line 149, in create_test_server clients.servers_client, server['id'], wait_until) File "tempest/common/waiters.py", line 75, in wait_for_server_status server_id=server_id) tempest.exceptions.BuildErrorException: Server 600e0bed-d693-476f-9e72-5ef34d9e00d8 failed to build and is in ERROR status Details: {u'created': u'2016-08-21T23:02:49Z', u'code': 500, u'message': u'Build of instance 600e0bed-d693-476f-9e72-5ef34d9e00d8 aborted: Failed to allocate the network(s), not rescheduling.'} This test: https://review.openstack.org/#/c/327191/ merged Aug 20. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1615710/+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