test_rebuild_server* tests timeout intermittently

Bug #1262153 reported by Thomas Herve
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Unassigned

Bug Description

As seen here: http://logs.openstack.org/72/62672/1/check/check-tempest-dsvm-postgres-full/cfd8223/console.html

There are 2 tracebacks, maybe related to bug #1079687 but I'm not sure

2013-12-17 15:43:39.810 | traceback-1: {{{
2013-12-17 15:43:39.811 | Traceback (most recent call last):
2013-12-17 15:43:39.811 | File "tempest/services/compute/json/servers_client.py", line 240, in rebuild
2013-12-17 15:43:39.811 | return self.action(server_id, 'rebuild', 'server', **kwargs)
2013-12-17 15:43:39.811 | File "tempest/services/compute/json/servers_client.py", line 198, in action
2013-12-17 15:43:39.811 | post_body, self.headers)
2013-12-17 15:43:39.811 | File "tempest/common/rest_client.py", line 302, in post
2013-12-17 15:43:39.812 | return self.request('POST', url, headers, body)
2013-12-17 15:43:39.812 | File "tempest/common/rest_client.py", line 436, in request
2013-12-17 15:43:39.812 | resp, resp_body)
2013-12-17 15:43:39.812 | File "tempest/common/rest_client.py", line 491, in _error_checker
2013-12-17 15:43:39.812 | raise exceptions.Conflict(resp_body)
2013-12-17 15:43:39.812 | Conflict: An object with that identifier already exists
2013-12-17 15:43:39.813 | Details: {u'conflictingRequest': {u'message': u"Cannot 'rebuild' while instance is in task_state rebuilding", u'code': 409}}
2013-12-17 15:43:39.813 | }}}
2013-12-17 15:43:39.813 |
2013-12-17 15:43:39.813 | traceback-2: {{{
2013-12-17 15:43:39.813 | Traceback (most recent call last):
2013-12-17 15:43:39.813 | File "tempest/services/compute/json/servers_client.py", line 162, in wait_for_server_status
2013-12-17 15:43:39.814 | raise_on_error=raise_on_error)
2013-12-17 15:43:39.814 | File "tempest/common/waiters.py", line 73, in wait_for_server_status
2013-12-17 15:43:39.814 | raise exceptions.BuildErrorException(server_id=server_id)
2013-12-17 15:43:39.814 | BuildErrorException: Server 6c48e431-a0b9-4a99-99d5-f9db152b8bba failed to build and is in ERROR status
2013-12-17 15:43:39.814 | }}}

Tags: testing
Revision history for this message
Sean Dague (sdague) wrote :

not a tempest bug. And just a stack trace.

Changed in tempest:
status: New → Invalid
Julien Danjou (jdanjou)
affects: tempest → heat
Changed in heat:
status: Invalid → New
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

This traceback comes from a nova test, and does not involve heat.

no longer affects: heat
Revision history for this message
Matt Riedemann (mriedem) wrote :
tags: added: testing
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

The difference seems to be that with test_rebuild_server, the failure is "Current status: REBUILD. Current task state: rebuilding." and with the rebuild from error it's "Current status: ERROR. Current task state: rebuilding.". Either way they are just timing out in the rebuild, so the root cause is probably the same.

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

Hmm, also hits "test_rebuild_server_in_stop_state".

summary: - test_rebuild_server_in_error_state spurious error
+ test_rebuild_server* tests timeout intermittently
Matt Riedemann (mriedem)
Changed in nova:
status: New → Confirmed
Revision history for this message
Dolph Mathews (dolph) wrote :

Similar variant:

Traceback (most recent call last):
  File "tempest/services/compute/json/servers_client.py", line 245, in rebuild
    return self.action(server_id, 'rebuild', 'server', **kwargs)
  File "tempest/services/compute/json/servers_client.py", line 203, in action
    post_body)
  File "tempest/common/rest_client.py", line 201, in post
    return self.request('POST', url, headers, body)
  File "tempest/common/rest_client.py", line 443, in request
    resp, resp_body)
  File "tempest/common/rest_client.py", line 497, in _error_checker
    raise exceptions.Conflict(resp_body)
Conflict: An object with that identifier already exists
Details: {u'message': u"Cannot 'rebuild' while instance is in task_state powering-off", u'code': 409}

Revision history for this message
Sean Dague (sdague) wrote :

This is a gate affecting bug

Changed in nova:
importance: Undecided → High
Revision history for this message
Joe Gordon (jogo) wrote :

no hits anymore, looks like this was fixed

Changed in nova:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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