test creates image that already exists

Bug #1226937 reported by Avishay Traeger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
New
Undecided
Unassigned

Bug Description

2013-09-18 03:51:31.411 | ======================================================================
2013-09-18 03:51:31.411 | FAIL: tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_delete_image_that_is_not_yet_active[gate,negative]
2013-09-18 03:51:31.411 | tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_delete_image_that_is_not_yet_active[gate,negative]
2013-09-18 03:51:31.412 | ----------------------------------------------------------------------
2013-09-18 03:51:31.412 | _StringException: Empty attachments:
2013-09-18 03:51:31.412 | stderr
2013-09-18 03:51:31.412 | stdout
2013-09-18 03:51:31.413 |
2013-09-18 03:51:31.413 | pythonlogging:'': {{{
2013-09-18 03:51:31.413 | 2013-09-18 03:32:19,196 Request: POST http://127.0.0.1:8774/v2/91941600ebb445d78a246620b2520607/servers/0a7150d0-daf3-4651-9c67-b39b5b8949d3/action
2013-09-18 03:51:31.414 | 2013-09-18 03:32:19,312 Response Status: 409
2013-09-18 03:51:31.414 | 2013-09-18 03:32:19,312 Nova request id: req-70f7e176-cb65-4d9d-a3a2-326b980abe3d
2013-09-18 03:51:31.414 | }}}
2013-09-18 03:51:31.414 |
2013-09-18 03:51:31.415 | Traceback (most recent call last):
2013-09-18 03:51:31.415 | File "tempest/api/compute/images/test_images_oneserver.py", line 161, in test_delete_image_that_is_not_yet_active
2013-09-18 03:51:31.415 | resp, body = self.client.create_image(self.server['id'], snapshot_name)
2013-09-18 03:51:31.416 | File "tempest/services/compute/json/images_client.py", line 49, in create_image
2013-09-18 03:51:31.416 | post_body, self.headers)
2013-09-18 03:51:31.416 | File "tempest/common/rest_client.py", line 260, in post
2013-09-18 03:51:31.417 | return self.request('POST', url, headers, body)
2013-09-18 03:51:31.417 | File "tempest/common/rest_client.py", line 394, in request
2013-09-18 03:51:31.417 | resp, resp_body)
2013-09-18 03:51:31.417 | File "tempest/common/rest_client.py", line 449, in _error_checker
2013-09-18 03:51:31.418 | raise exceptions.Duplicate(resp_body)
2013-09-18 03:51:31.418 | Duplicate: An object with that identifier already exists
2013-09-18 03:51:31.418 | Details: {u'conflictingRequest': {u'message': u"Cannot 'createImage' while instance is in task_state image_uploading", u'code': 409}}

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.