← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254972] Re: Volume transition from attaching -> attached is lost, leading to unattached and undettachable volume

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

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

Title:
  Volume transition from attaching -> attached is lost, leading to
  unattached and undettachable volume

Status in Cinder:
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  http://logstash.openstack.org/#eyJzZWFyY2giOiJmaWxlbmFtZTpjb25zb2xlLmh0bWwgQU5EIG1lc3NhZ2U6XCJWb2x1bWUgc3RhdHVzIG11c3QgYmUgYXZhaWxhYmxlIG9yIGVycm9yLCBidXQgY3VycmVudCBzdGF0dXMgaXM6IGF0dGFjaGluZ1wiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxMzg1NDQyOTg1OTc0fQ==

  Not super common, but this caused at least two failures in merges
  today.

  From console.html:

  2013-11-26 04:33:12.467 | ======================================================================
  2013-11-26 04:33:12.467 | FAIL: tearDownClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestJSON)
  2013-11-26 04:33:12.467 | tearDownClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestJSON)
  2013-11-26 04:33:12.467 | ----------------------------------------------------------------------
  2013-11-26 04:33:12.467 | _StringException: Traceback (most recent call last):
  2013-11-26 04:33:12.468 |   File "tempest/api/compute/servers/test_server_rescue.py", line 85, in tearDownClass
  2013-11-26 04:33:12.468 |     client.delete_volume(str(cls.volume_to_detach['id']).strip())
  2013-11-26 04:33:12.468 |   File "tempest/services/compute/json/volumes_extensions_client.py", line 84, in delete_volume
  2013-11-26 04:33:12.468 |     return self.delete("os-volumes/%s" % str(volume_id))
  2013-11-26 04:33:12.468 |   File "tempest/common/rest_client.py", line 308, in delete
  2013-11-26 04:33:12.469 |     return self.request('DELETE', url, headers)
  2013-11-26 04:33:12.469 |   File "tempest/common/rest_client.py", line 436, in request
  2013-11-26 04:33:12.469 |     resp, resp_body)
  2013-11-26 04:33:12.469 |   File "tempest/common/rest_client.py", line 486, in _error_checker
  2013-11-26 04:33:12.469 |     raise exceptions.BadRequest(resp_body)
  2013-11-26 04:33:12.469 | BadRequest: Bad request
  2013-11-26 04:33:12.470 | Details: {u'badRequest': {u'message': u'Invalid input received: Invalid volume: Volume status must be available or error, but current status is: attaching', u'code': 400}}
  2013-11-26 04:33:12.470 | 
  2013-11-26 04:33:12.470 | 

  Unfortunately I can't find more in the cinder logs because tempest
  doesn't log the volume id.

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