*** This bug is a duplicate of bug 1087214 ***
https://bugs.launchpad.net/bugs/1087214
** This bug has been marked a duplicate of bug 1087214
Unable to delete instance booted from an incorrect volume-id
--
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/1200336
Title:
500 error in tempest in test_volume_create_get_delete on stable/folsom
Status in OpenStack Compute (Nova):
Incomplete
Status in OpenStack Compute (nova) folsom series:
In Progress
Bug description:
Running into these failures on a proposed change to devstack for
stable/folsom:
2013-07-11 17:41:08.418 |
======================================================================
2013-07-11 17:41:08.418 | ERROR: CREATE, GET, DELETE Volume
2013-07-11 17:41:08.419 |
----------------------------------------------------------------------
2013-07-11 17:41:08.419 | Traceback (most recent call last):
2013-07-11 17:41:08.419 | File
"/opt/stack/new/tempest/tempest/tests/compute/test_volumes_get.py", line 68, in
test_volume_create_get_delete
2013-07-11 17:41:08.419 |
self.client.wait_for_resource_deletion(volume['id'])
2013-07-11 17:41:08.419 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 257, in
wait_for_resource_deletion
2013-07-11 17:41:08.419 | if self.is_resource_deleted(id):
2013-07-11 17:41:08.419 | File
"/opt/stack/new/tempest/tempest/services/nova/json/volumes_extensions_client.py",
line 97, in is_resource_deleted
2013-07-11 17:41:08.419 | self.get_volume(id)
2013-07-11 17:41:08.419 | File
"/opt/stack/new/tempest/tempest/services/nova/json/volumes_extensions_client.py",
line 48, in get_volume
2013-07-11 17:41:08.419 | resp, body = self.get(url)
2013-07-11 17:41:08.419 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 166, in get
2013-07-11 17:41:08.419 | return self.request('GET', url, headers)
2013-07-11 17:41:08.420 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 244, in request
2013-07-11 17:41:08.420 | raise exceptions.ComputeFault(message)
2013-07-11 17:41:08.420 | ComputeFault: Got compute fault
2013-07-11 17:41:08.420 | Details: Got compute fault
2013-07-11 17:41:08.420 | Details: The server has either erred or is
incapable of performing the requested operation.
2013-07-11 17:41:08.420 | -------------------- >> begin captured logging <<
--------------------
2013-07-11 17:41:08.420 | 2013-07-11 17:39:19,580 Request URL:
http://127.0.0.1:8774/v2/c2dc59fa631e4a2da397202ad75b19c9/os-volumes/3b735935-e227-4d3a-9c8e-e6f269591a7e
2013-07-11 17:41:08.420 | 2013-07-11 17:39:19,580 Request Body: None
2013-07-11 17:41:08.420 | 2013-07-11 17:39:19,580 Response Headers: {'date':
'Thu, 11 Jul 2013 17:39:19 GMT', 'status': '500', 'content-length': '128',
'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id':
'req-58288ab6-204f-4c1c-a25f-5b699d97a856'}
2013-07-11 17:41:08.420 | 2013-07-11 17:39:19,580 Response Body:
{u'computeFault': {u'message': u'The server has either erred or is incapable of
performing the requested operation.', u'code': 500}}
2013-07-11 17:41:08.420 | --------------------- >> end captured logging <<
---------------------
2013-07-11 17:41:08.420 |
2013-07-11 17:41:08.421 |
======================================================================
2013-07-11 17:41:08.421 | ERROR: CREATE, GET, DELETE Volume
2013-07-11 17:41:08.421 |
----------------------------------------------------------------------
2013-07-11 17:41:08.422 | Traceback (most recent call last):
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/tests/compute/test_volumes_get.py", line 68, in
test_volume_create_get_delete
2013-07-11 17:41:08.422 |
self.client.wait_for_resource_deletion(volume['id'])
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 257, in
wait_for_resource_deletion
2013-07-11 17:41:08.422 | if self.is_resource_deleted(id):
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/services/nova/xml/volumes_extensions_client.py",
line 143, in is_resource_deleted
2013-07-11 17:41:08.422 | self.get_volume(id)
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/services/nova/xml/volumes_extensions_client.py",
line 86, in get_volume
2013-07-11 17:41:08.422 | resp, body = self.get(url, self.headers)
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 166, in get
2013-07-11 17:41:08.422 | return self.request('GET', url, headers)
2013-07-11 17:41:08.422 | File
"/opt/stack/new/tempest/tempest/common/rest_client.py", line 244, in request
2013-07-11 17:41:08.422 | raise exceptions.ComputeFault(message)
2013-07-11 17:41:08.422 | UnboundLocalError: local variable 'message'
referenced before assignment
2013-07-11 17:41:08.422 | -------------------- >> begin captured logging <<
--------------------
2013-07-11 17:41:08.423 | 2013-07-11 17:39:30,236 Request URL:
http://127.0.0.1:8774/v2/c494e18bcfae44bab02caf3d71903522/os-volumes/df3bdee6-40a2-4885-aead-470df8a5e442
2013-07-11 17:41:08.423 | 2013-07-11 17:39:30,236 Request Body: None
2013-07-11 17:41:08.423 | 2013-07-11 17:39:30,236 Response Headers: {'date':
'Thu, 11 Jul 2013 17:39:30 GMT', 'status': '500', 'content-length': '192',
'content-type': 'application/xml; charset=UTF-8', 'x-compute-request-id':
'req-796be586-8c2a-4e4f-8cfe-d1cf1a029602'}
2013-07-11 17:41:08.423 | 2013-07-11 17:39:30,236 Response Body: {'message':
'The server has either erred or is incapable of performing the requested
operation.', 'code': '500'}
2013-07-11 17:41:08.423 | --------------------- >> end captured logging <<
---------------------
http://logs.openstack.org/36698/1/check/gate-tempest-devstack-vm-
cinder/6441/console.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1200336/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp