Some exceptions raise unicodeError

Bug #1340002 reported by Zhi Yan Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

Bug Description

Thie bug is a generic case for bug 1339775 [0], there are a lot same cases in codebase which are outside of v2 stuff, but the result is smimilar, UnicodeError exception will be raised.

[0] https://bugs.launchpad.net/glance/+bug/1339775

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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

commit d6286b3fd2f9535c023fd50e1825111c9a85b17f
Author: Zhi Yan Liu <email address hidden>
Date: Thu Jul 10 12:12:24 2014 +0800

    Some exceptions raise UnicodeError

    Use utils.exception_to_str to consistently cast the
    exception to avoid the unicodeError stack trace.

    Closes-Bug: #1340002
    Related-Id: I54fce91c73adca846ec99ed50a57b95d16428ec1

    Change-Id: I77478a8eeeefd85bf98138156429df53d0a4c079
    Signed-off-by: Zhi Yan Liu <email address hidden>

Changed in glance:
status: New → Fix Committed
Changed in glance:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.