test_server_multi_create_auto_allocate failing with "Failed to allocate the network(s), not rescheduling"

Bug #1615710 reported by Armando Migliaccio
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Kevin Benton

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.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Changed in neutron:
importance: Undecided → Critical
status: New → Confirmed
tags: added: auto-allocated-topology
description: updated
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/358753

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/358771

tags: added: gate-failure
Revision history for this message
Paul Vinciguerra (pvinci) wrote :

Hit this bug here: http://logs.openstack.org/59/358359/5/check/gate-tempest-dsvm-neutron-src-oslo.messaging/a615346/console.html

2016-08-23 00:03:01.763015 | Captured traceback:
2016-08-23 00:03:01.763040 | ~~~~~~~~~~~~~~~~~~~
2016-08-23 00:03:01.763075 | Traceback (most recent call last):
2016-08-23 00:03:01.763153 | File "tempest/api/compute/admin/test_auto_allocate_network.py", line 177, in test_server_multi_create_auto_allocate
2016-08-23 00:03:01.763179 | min_count=3)
2016-08-23 00:03:01.763231 | File "tempest/common/compute.py", line 167, in create_test_server
2016-08-23 00:03:01.763258 | % server['id'])
2016-08-23 00:03:01.763340 | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-23 00:03:01.763370 | self.force_reraise()
2016-08-23 00:03:01.763454 | File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-23 00:03:01.763517 | six.reraise(self.type_, self.value, self.tb)
2016-08-23 00:03:01.763604 | File "tempest/common/compute.py", line 149, in create_test_server
2016-08-23 00:03:01.763655 | clients.servers_client, server['id'], wait_until)
2016-08-23 00:03:01.763710 | File "tempest/common/waiters.py", line 75, in wait_for_server_status
2016-08-23 00:03:01.763758 | server_id=server_id)
2016-08-23 00:03:01.763938 | tempest.exceptions.BuildErrorException: Server 895257b2-65f3-4588-8e25-eaa8c57befe9 failed to build and is in ERROR status
2016-08-23 00:03:01.764095 | Details: {u'code': 500, u'created': u'2016-08-22T23:31:17Z', u'message': u'Build of instance 895257b2-65f3-4588-8e25-eaa8c57befe9 aborted: Failed to allocate the network(s), not rescheduling.'}

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/358771
Reason: superseded by https://review.openstack.org/#/c/357662/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/361639

Revision history for this message
Matt Riedemann (mriedem) wrote :

The tempest test skip is reverted here:

https://review.openstack.org/#/c/361671/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/mitaka)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/361639

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.0.0.0b3

This issue was fixed in the openstack/neutron 9.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.