← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522027] [NEW] Glance doesn't catches UnicodeDecodeError exception

 

Public bug reported:

ENVIRONMENT: devstack, Glance (master, 02.12.2015)

STEPS TO REPRODUCE:
curl -H "X-Auth-Token: token"  -X GET http://localhost:9292/v2/images?name=%FF -i

ACTUAL RESULT:
HTTP/1.1 500 Internal Server Error
Content-Length: 228
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-d2497fe5-443a-43eb-be30-c38418aca1e1
Date: Wed, 02 Dec 2015 12:20:23 GMT

<html>
 <head>
  <title>500 Internal Server Error</title>
 </head>
 <body>
  <h1>500 Internal Server Error</h1>
  The server has either erred or is incapable of performing the requested operation.<br /><br />


 </body>
</html>

logs: http://paste.openstack.org/show/480634/

** Affects: glance
     Importance: Undecided
     Assignee: Darja Shakhray (dshakhray)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Darja Shakhray (dshakhray)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1522027

Title:
  Glance doesn't catches UnicodeDecodeError exception

Status in Glance:
  New

Bug description:
  ENVIRONMENT: devstack, Glance (master, 02.12.2015)

  STEPS TO REPRODUCE:
  curl -H "X-Auth-Token: token"  -X GET http://localhost:9292/v2/images?name=%FF -i

  ACTUAL RESULT:
  HTTP/1.1 500 Internal Server Error
  Content-Length: 228
  Content-Type: text/html; charset=UTF-8
  X-Openstack-Request-Id: req-d2497fe5-443a-43eb-be30-c38418aca1e1
  Date: Wed, 02 Dec 2015 12:20:23 GMT

  <html>
   <head>
    <title>500 Internal Server Error</title>
   </head>
   <body>
    <h1>500 Internal Server Error</h1>
    The server has either erred or is incapable of performing the requested operation.<br /><br />


   </body>
  </html>

  logs: http://paste.openstack.org/show/480634/

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1522027/+subscriptions


Follow ups