Comment 13 for bug 1006725

Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote : Re: Incorrect error returned during Create Image and multi byte characters used for Image name

I am still getting Tempest failures at this test. It looks like this:

FAIL: tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_create_image_specify_multibyte_character_ima\
ge_name[gate]
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-06-24 13:38:04,570 15948 INFO [tempest.common.rest_client] Request (ImagesOneServerTestJSON:setUp): 200 GET http://10.1\
0.0.123:8774/v2/12ab086fc62d4e19bedabaf3039a18bc/servers/a75d561f-e527-4fe7-a9f7-c332274a00c3 0.215s
2014-06-24 13:38:04,820 15948 INFO [tempest.common.rest_client] Request (ImagesOneServerTestJSON:test_create_image_specify_m\
ultibyte_character_image_name): 500 POST http://10.10.0.123:8774/v2/12ab086fc62d4e19bedabaf3039a18bc/servers/a75d561f-e527-4fe7-\
a9f7-c332274a00c3/action 0.249s
2014-06-24 13:38:05,054 15948 INFO [tempest.common.rest_client] Request (ImagesOneServerTestJSON:tearDown): 200 GET http://1\
0.10.0.123:8774/v2/12ab086fc62d4e19bedabaf3039a18bc/servers/a75d561f-e527-4fe7-a9f7-c332274a00c3 0.232s
}}}

Traceback (most recent call last):
  File "tempest/api/compute/images/test_images_oneserver.py", line 108, in test_create_image_specify_multibyte_character_image_n\
ame
    resp, body = self.client.create_image(self.server_id, utf8_name)
  File "tempest/services/compute/json/images_client.py", line 50, in create_image
    post_body)
  File "tempest/common/rest_client.py", line 218, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "tempest/common/rest_client.py", line 430, in request
    resp, resp_body)
  File "tempest/common/rest_client.py", line 526, in _error_checker
    raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: The server has either erred or is incapable of performing the requested operation.