← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1801713] [NEW] Improper error message handling

 

Public bug reported:

Some exception handlers expect exception messages to be strings. This is
not always the case as some wrapped exceptions are used as exception
messages.

Trace: http://paste.openstack.org/show/733939/

Finding all the places in which exceptions are used as messages without
being converted to strings first may be difficult. It may be easier to
just update the NovaException class to convert the messages to strings.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1801713

Title:
  Improper error message handling

Status in OpenStack Compute (nova):
  New

Bug description:
  Some exception handlers expect exception messages to be strings. This
  is not always the case as some wrapped exceptions are used as
  exception messages.

  Trace: http://paste.openstack.org/show/733939/

  Finding all the places in which exceptions are used as messages
  without being converted to strings first may be difficult. It may be
  easier to just update the NovaException class to convert the messages
  to strings.

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


Follow ups