[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
** Changed in: nova Status: Incomplete = Invalid ** Changed in: nova Status: Invalid = Confirmed ** Summary changed: - Incorrect error returned during Create Image and multi byte characters used for Image name + Nova allows creating an Image name with invalid utf8 (thus breaking tools further down the pipeline) -- 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/1006725 Title: Nova allows creating an Image name with invalid utf8 (thus breaking tools further down the pipeline) Status in OpenStack Compute (Nova): Confirmed Status in Tempest: Fix Released Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
We are running this test in the gate, and not seeing it. Can you provide links to complete logs somewhere so we can figure out what's going on here? ** Changed in: nova Status: Confirmed = Invalid ** Changed in: nova Status: Invalid = Incomplete -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Incomplete Status in Tempest: Fix Released Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
** Changed in: tempest Status: In Progress = Fix Released -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Confirmed Status in Tempest: Fix Released Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
Definitely not fixed on the nova side. Attempts to unskip the bug generated issues. ** Changed in: nova Status: Invalid = Confirmed ** Changed in: nova Importance: Low = High -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Confirmed Status in Tempest: In Progress Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
Seems to work in the latest code in master. Feel free to reopen if you think further changes are needed. [rbryant@devstack devstack(master)]$ nova image-create test ಠ_ರೃ [rbryant@devstack devstack(master)]$ nova image-list +--+-++--+ | ID | Name| Status | Server | +--+-++--+ | d7e2a05c-3dd9-49b1-9e35-e31805280ff4 | cirros-0.3.1-x86_64-uec | ACTIVE | | | 83cb17cc-5a7f-42bc-87c1-8c49100b2c93 | cirros-0.3.1-x86_64-uec-kernel | ACTIVE | | | db525ca4-0bc3-4229-8c4a-b23799475ead | cirros-0.3.1-x86_64-uec-ramdisk | ACTIVE | | | fb8fe8d6-9934-474e-8ad6-61bc83d7e39f | ಠ_ರೃ| ACTIVE | 70dabb27-e733-46ab-890a-f714d3bb504d | +--+-++--+ [rbryant@devstack tempest(master)]$ nosetests -sv tempest.api.compute.images.test_images_oneserver.py:ImagesOneServerTestJSON.test_create_image_specify_multibyte_character_image_name nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON.test_create_image_specify_multibyte_character_image_name[gate,negative] ... ok -- Ran 1 test in 53.895s OK [rbryant@devstack tempest(master)]$ git diff tempest/api/compute/ diff --git a/tempest/api/compute/images/test_images_oneserver.py b/tempest/api/compute/images/test_images_onese index 06e9ab2..7d225e2 100644 --- a/tempest/api/compute/images/test_images_oneserver.py +++ b/tempest/api/compute/images/test_images_oneserver.py @@ -64,14 +64,12 @@ class ImagesOneServerTestJSON(base.BaseComputeTest): cls.alt_manager = clients.AltManager() cls.alt_client = cls.alt_manager.images_client -@testtools.skip(Skipped until the Bug #1006725 is resolved.) @attr(type=['negative', 'gate']) def test_create_image_specify_multibyte_character_image_name(self): # Return an error if the image name has multi-byte characters snapshot_name = rand_name('\xef\xbb\xbf') -self.assertRaises(exceptions.BadRequest, - self.client.create_image, self.server['id'], - snapshot_name) +resp, body = self.client.create_image(self.server['id'], snapshot_name) +self.assertEqual(202, resp.status) @attr(type=['negative', 'gate']) def test_create_image_specify_invalid_metadata(self): ** Changed in: nova Status: New = Invalid ** Also affects: tempest Importance: Undecided Status: New -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Invalid Status in Tempest: New Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message:
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
Russell, if you've got the change to unskip the bug how about you push it out for review to close the tempest side. ** Changed in: tempest Status: New = Invalid ** Changed in: tempest Status: Invalid = New ** Changed in: tempest Status: New = Triaged ** Changed in: tempest Importance: Undecided = Medium ** Changed in: tempest Assignee: (unassigned) = Russell Bryant (russellb) -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Invalid Status in Tempest: Triaged Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
** Changed in: nova Status: Invalid = New -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): New Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1006725] Re: Incorrect error returned during Create Image and multi byte characters used for Image name
This bug doesn't make sense as this test case is invalid @ the first place. We can always create a snapshot (image-create) with any string value. So this specific test case is invalid here. As long as mulitbye characters are included in a string it would create the images as shown below. x@x:/opt/stack/tempest$ nova image-list +--+-++--+ | ID | Name| Status | Server | +--+-++--+ | 8163d097-d05b-44fc-9628-f33d0f22a6da | check-this-@-out\xef\xbb\xbf| ACTIVE | 21274a7e-df35-4698-87e9-4ee779a89098 | | 3afd61b7-117b-4ca8-9cbb-19d7e02e22fc | test-@@@11122nova image-list| ACTIVE | 21274a7e-df35-4698-87e9-4ee779a89098 | Submitting a patch to remove this test case from tempest. --prem ** Changed in: nova Assignee: (unassigned) = Prem Karat (prem-karat) ** Changed in: nova Status: Triaged = Invalid -- 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/1006725 Title: Incorrect error returned during Create Image and multi byte characters used for Image name Status in OpenStack Compute (Nova): Invalid Bug description: Our tempest tests that checks for 400 Bad Request return code fails with a ComputeFault instead. Pass multi-byte character image name during Create Image Actual Response Code: ComputeFault, 500 Expected Response Code: 400 Bad Request Return an error if the server name has a multi-byte character ... FAIL == FAIL: Return an error if the server name has a multi-byte character -- Traceback (most recent call last): File /opt/stack/tempest/tests/test_images.py, line 251, in test_create_image_specify_multibyte_character_server_name self.fail(Should return 400 Bad Request if multi byte characters AssertionError: Should return 400 Bad Request if multi byte characters are used for image name begin captured logging tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/images/24ceff93-1af3-41ab-802f-9fc4d8b90b69 tempest.common.rest_client: ERROR: Request Body: None tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:33 GMT', 'status': '404', 'content-length': '62', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7a15d284-e934-47a1-87f4-7746e949c7a2'} tempest.common.rest_client: ERROR: Response Body: {itemNotFound: {message: Image not found., code: 404}} tempest.common.rest_client: ERROR: Request URL: http://10.2.3.164:8774/v2/1aeac1cfbfdd43c2845b2cb3a4f15790/servers/ecb51dfb-493d-4ef8-9178-1adc3d96a04d/action tempest.common.rest_client: ERROR: Request Body: {createImage: {name: \ufeff43802479847}} tempest.common.rest_client: ERROR: Response Headers: {'date': 'Thu, 31 May 2012 06:02:44 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-1a9505f5-4dfc-44e7-b04a-f8daec0f956e'} tempest.common.rest_client: ERROR: Response Body: {u'computeFault': {u'message': u'The server has either erred or is incapable of performing the requested operation.', u'code': 500}} - end captured logging - To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1006725/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp