yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19319
[Bug 1359017] Re: Returning unprecise error message when you create image with long name
I tried this case in the latest Juno master, I find it's ok now
linux:˜/source> glance image-create --name="cirros-0.3.2-x86_64-11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" --disk-format=qcow2 \
> --container-format=bare --is-public=true --min-disk=133766616\
> --copy-from http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img
Request returned failure status 400.
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
Image name too long: 820<br /><br />
</body>
</html> (HTTP 400)
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1359017
Title:
Returning unprecise error message when you create image with long name
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
Image creation fails when the image name is > 255 chars, but the error
message does not indicate that name length is the issue. Note that
double byte names work if they do not exceed the Glance length limit.
Upon clicking on Import button from GUI, console displayed below 500 internal error message:
==================================
Error
An error occurred while creating image Test to see if text counter can handle double byte.Test to see if text counter can handle double byte..
Explanation: The server encountered an unexpected error: 500 (Internal
Server Error).
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1359017/+subscriptions
References