← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1267060] Re: Tempest test_server_rescue.ServerRescueTestXML test failing with HTTP '409' Conflict response

 

this sounds like a tempest issue. tempest isn't checking to make sure
the instance is fully paused before calling rescue.

** Also affects: tempest
   Importance: Undecided
       Status: New

** No longer affects: nova

-- 
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/1267060

Title:
  Tempest test_server_rescue.ServerRescueTestXML test failing with HTTP
  '409' Conflict response

Status in Tempest:
  New

Bug description:
  With the change: https://review.openstack.org/#/c/64290/ , following tests failed in Jenkins:
  tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML.test_rescue_unrescue_instance[gate,smoke]
  tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML.test_rescued_vm_add_remove_security_group[gate]
  tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML.test_rescued_vm_associate_dissociate_floating_ip[gate]
  tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML.test_rescued_vm_attach_volume[gate,negative]

  Reason for Failure :
  Conflict: An object with that identifier already exists
  Details: {'message': "Cannot 'rescue' while instance is in task_state pausing", 'code': '409'}

  Traceback (most recent call last):
  2014-01-08 06:44:26.252 |   File "tempest/api/compute/servers/test_server_rescue.py", line 193, in test_rescued_vm_associate_dissociate_floating_ip
  2014-01-08 06:44:26.253 |     self.server_id, self.password)
  2014-01-08 06:44:26.253 |   File "tempest/services/compute/xml/servers_client.py", line 600, in rescue_server
  2014-01-08 06:44:26.253 |     return self.action(server_id, 'rescue', None, adminPass=adminPass)
  2014-01-08 06:44:26.253 |   File "tempest/services/compute/xml/servers_client.py", line 424, in action
  2014-01-08 06:44:26.253 |     str(doc), self.headers)
  2014-01-08 06:44:26.253 |   File "tempest/common/rest_client.py", line 302, in post
  2014-01-08 06:44:26.253 |     return self.request('POST', url, headers, body)
  2014-01-08 06:44:26.253 |   File "tempest/common/rest_client.py", line 436, in request
  2014-01-08 06:44:26.253 |     resp, resp_body)
  2014-01-08 06:44:26.253 |   File "tempest/common/rest_client.py", line 491, in _error_checker
  2014-01-08 06:44:26.253 |     raise exceptions.Conflict(resp_body)
  2014-01-08 06:44:26.254 | Conflict: An object with that identifier already exists
  2014-01-08 06:44:26.254 | Details: {'message': "Cannot 'rescue' while instance is in task_state pausing", 'code': '409'}

  More detailed logs can be found at:
  http://logs.openstack.org/90/64290/7/check/check-tempest-dsvm-
  full/c3df706/console.html

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


References