← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1522027] Re: Glance doesn't catches UnicodeDecodeError exception

 

Reviewed:  https://review.openstack.org/252867
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=4b018a117f1c405a85f2b9fd771eb07a7561519b
Submitter: Jenkins
Branch:    master

commit 4b018a117f1c405a85f2b9fd771eb07a7561519b
Author: Darja Shakhray <dshakhray@xxxxxxxxxxxx>
Date:   Thu Dec 3 13:27:25 2015 +0300

    Fix Glance doesn't catches UnicodeDecodeError exception
    
    Added catch UnicodeDecodeError exception when either
    the URL or the request body contained characters that
    could not be decoded by Glance.
    
    Change-Id: Ic93c218a74e08b7c7ef6ed0eda53601312fee980
    Closes-bug: #1522027


** Changed in: glance
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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


References