← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1303642] [NEW] Conflict: An object with that identifier already exists ni Tempest test_servers_negative.py

 

Public bug reported:

Tempest's test_servers_negative.py sporadically fails in unshelve_server with:
Conflict: An object with that identifier already exists
Cannot 'unshelve' while instance is in vm_state stopped
TimeoutException: Request timed out
failed to reach SHELVED_OFFLOADED status and task state "None" within the required time

2014-04-07 01:44:29.354 | Traceback (most recent call last):
2014-04-07 01:44:29.354 |   File "tempest/services/compute/v3/json/servers_client.py", line 387, in unshelve_server
2014-04-07 01:44:29.354 |     return self.action(server_id, 'unshelve', None, **kwargs)
2014-04-07 01:44:29.355 |   File "tempest/services/compute/v3/json/servers_client.py", line 203, in action
2014-04-07 01:44:29.355 |     post_body)
2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 201, in post
2014-04-07 01:44:29.355 |     return self.request('POST', url, headers, body)
2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 443, in request
2014-04-07 01:44:29.355 |     resp, resp_body)
2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 497, in _error_checker
2014-04-07 01:44:29.355 |     raise exceptions.Conflict(resp_body)
2014-04-07 01:44:29.355 | Conflict: An object with that identifier already exists
2014-04-07 01:44:29.355 | Details: {u'message': u"Cannot 'unshelve' while instance is in vm_state stopped", u'code': 409}
2014-04-07 01:44:29.355 | }}}
2014-04-07 01:44:29.356 |
2014-04-07 01:44:29.356 | Traceback (most recent call last):
2014-04-07 01:44:29.356 |   File "tempest/api/compute/v3/servers/test_servers_negative.py", line 411, in test_shelve_shelved_server
2014-04-07 01:44:29.356 |     extra_timeout=offload_time)
2014-04-07 01:44:29.356 |   File "tempest/services/compute/v3/json/servers_client.py", line 167, in wait_for_server_status
2014-04-07 01:44:29.356 |     raise_on_error=raise_on_error)
2014-04-07 01:44:29.356 |   File "tempest/common/waiters.py", line 89, in wait_for_server_status
2014-04-07 01:44:29.356 |     raise exceptions.TimeoutException(message)
2014-04-07 01:44:29.356 | TimeoutException: Request timed out
2014-04-07 01:44:29.357 | Details: Server 4ff6dc10-eac8-41d2-a645-3a0e0ba07c8a failed to reach SHELVED_OFFLOADED status and task state "None" within the required time (196 s). Current status: SHUTOFF. Current task state: None.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

- Tempest's test_servers_negative.py fails in unshelve_server with:
+ Tempest's test_servers_negative.py sporadically fails in unshelve_server with:
  Conflict: An object with that identifier already exists
  Cannot 'unshelve' while instance is in vm_state stopped
  TimeoutException: Request timed out
  failed to reach SHELVED_OFFLOADED status and task state "None" within the required time
- 
  
  2014-04-07 01:44:29.354 | Traceback (most recent call last):
  2014-04-07 01:44:29.354 |   File "tempest/services/compute/v3/json/servers_client.py", line 387, in unshelve_server
  2014-04-07 01:44:29.354 |     return self.action(server_id, 'unshelve', None, **kwargs)
  2014-04-07 01:44:29.355 |   File "tempest/services/compute/v3/json/servers_client.py", line 203, in action
  2014-04-07 01:44:29.355 |     post_body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 201, in post
  2014-04-07 01:44:29.355 |     return self.request('POST', url, headers, body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 443, in request
  2014-04-07 01:44:29.355 |     resp, resp_body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 497, in _error_checker
  2014-04-07 01:44:29.355 |     raise exceptions.Conflict(resp_body)
  2014-04-07 01:44:29.355 | Conflict: An object with that identifier already exists
  2014-04-07 01:44:29.355 | Details: {u'message': u"Cannot 'unshelve' while instance is in vm_state stopped", u'code': 409}
  2014-04-07 01:44:29.355 | }}}
- 2014-04-07 01:44:29.356 | 
+ 2014-04-07 01:44:29.356 |
  2014-04-07 01:44:29.356 | Traceback (most recent call last):
  2014-04-07 01:44:29.356 |   File "tempest/api/compute/v3/servers/test_servers_negative.py", line 411, in test_shelve_shelved_server
  2014-04-07 01:44:29.356 |     extra_timeout=offload_time)
  2014-04-07 01:44:29.356 |   File "tempest/services/compute/v3/json/servers_client.py", line 167, in wait_for_server_status
  2014-04-07 01:44:29.356 |     raise_on_error=raise_on_error)
  2014-04-07 01:44:29.356 |   File "tempest/common/waiters.py", line 89, in wait_for_server_status
  2014-04-07 01:44:29.356 |     raise exceptions.TimeoutException(message)
  2014-04-07 01:44:29.356 | TimeoutException: Request timed out
  2014-04-07 01:44:29.357 | Details: Server 4ff6dc10-eac8-41d2-a645-3a0e0ba07c8a failed to reach SHELVED_OFFLOADED status and task state "None" within the required time (196 s). Current status: SHUTOFF. Current task state: None.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1303642

Title:
  Conflict: An object with that identifier already exists ni Tempest
  test_servers_negative.py

Status in OpenStack Compute (Nova):
  New

Bug description:
  Tempest's test_servers_negative.py sporadically fails in unshelve_server with:
  Conflict: An object with that identifier already exists
  Cannot 'unshelve' while instance is in vm_state stopped
  TimeoutException: Request timed out
  failed to reach SHELVED_OFFLOADED status and task state "None" within the required time

  2014-04-07 01:44:29.354 | Traceback (most recent call last):
  2014-04-07 01:44:29.354 |   File "tempest/services/compute/v3/json/servers_client.py", line 387, in unshelve_server
  2014-04-07 01:44:29.354 |     return self.action(server_id, 'unshelve', None, **kwargs)
  2014-04-07 01:44:29.355 |   File "tempest/services/compute/v3/json/servers_client.py", line 203, in action
  2014-04-07 01:44:29.355 |     post_body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 201, in post
  2014-04-07 01:44:29.355 |     return self.request('POST', url, headers, body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 443, in request
  2014-04-07 01:44:29.355 |     resp, resp_body)
  2014-04-07 01:44:29.355 |   File "tempest/common/rest_client.py", line 497, in _error_checker
  2014-04-07 01:44:29.355 |     raise exceptions.Conflict(resp_body)
  2014-04-07 01:44:29.355 | Conflict: An object with that identifier already exists
  2014-04-07 01:44:29.355 | Details: {u'message': u"Cannot 'unshelve' while instance is in vm_state stopped", u'code': 409}
  2014-04-07 01:44:29.355 | }}}
  2014-04-07 01:44:29.356 |
  2014-04-07 01:44:29.356 | Traceback (most recent call last):
  2014-04-07 01:44:29.356 |   File "tempest/api/compute/v3/servers/test_servers_negative.py", line 411, in test_shelve_shelved_server
  2014-04-07 01:44:29.356 |     extra_timeout=offload_time)
  2014-04-07 01:44:29.356 |   File "tempest/services/compute/v3/json/servers_client.py", line 167, in wait_for_server_status
  2014-04-07 01:44:29.356 |     raise_on_error=raise_on_error)
  2014-04-07 01:44:29.356 |   File "tempest/common/waiters.py", line 89, in wait_for_server_status
  2014-04-07 01:44:29.356 |     raise exceptions.TimeoutException(message)
  2014-04-07 01:44:29.356 | TimeoutException: Request timed out
  2014-04-07 01:44:29.357 | Details: Server 4ff6dc10-eac8-41d2-a645-3a0e0ba07c8a failed to reach SHELVED_OFFLOADED status and task state "None" within the required time (196 s). Current status: SHUTOFF. Current task state: None.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1303642/+subscriptions


Follow ups

References