← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339775] [NEW] Some v2 exceptions raise unicodeError

 

Public bug reported:

In v2, for some exceptions the exception is not converted to a string
properly resulting in:

2014-07-09 15:36:38,714 INFO msg = _("Image exceeds the storage quota: %s") % e
2014-07-09 15:36:38,714 INFO File "glance/openstack/common/gettextutils.py", line 333, in __str__
2014-07-09 15:36:38,714 INFO raise UnicodeError(msg)

in some cases 'utils.exception_to_str' is used to cast the exception.

We should do this in all cases for consistency/to avoid the stack trace

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  Some v2 exceptions raise unicodeError

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  In v2, for some exceptions the exception is not converted to a string
  properly resulting in:

  2014-07-09 15:36:38,714 INFO msg = _("Image exceeds the storage quota: %s") % e
  2014-07-09 15:36:38,714 INFO File "glance/openstack/common/gettextutils.py", line 333, in __str__
  2014-07-09 15:36:38,714 INFO raise UnicodeError(msg)

  in some cases 'utils.exception_to_str' is used to cast the exception.

  We should do this in all cases for consistency/to avoid the stack
  trace

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


Follow ups

References