yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76453
[Bug 1801713] Re: Improper error message handling
Reviewed: https://review.openstack.org/615550
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fcb26b5401ccd01e91577af4111d79b605788889
Submitter: Zuul
Branch: master
commit fcb26b5401ccd01e91577af4111d79b605788889
Author: Lucian Petrut <lpetrut@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Nov 5 14:17:40 2018 +0200
Convert exception messages to strings
Exception messages are expected to be strings, but it's not always
the case. Some exceptions are wrapped and passed as new exception
messages, which affects some exception handlers.
Finding all the occurrences may be difficult. For now, it's easier
to just convert the exception messages to strings in the NovaException
class.
Closes-Bug: #1801713
Change-Id: Ic470791aa2b08ca9911bf70cb3cc68652d3647f2
** Changed in: nova
Status: In Progress => Fix Released
--
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 compute-hyperv:
Fix Released
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Exception messages are expected to be strings, but it's not always the
case. Some exceptions are wrapped and passed as new exception
messages, which affects some exception handlers.
Trace: http://paste.openstack.org/show/733939/
Finding all the occurrences may be difficult. For now, it may be
easier to just convert the exception messages to strings in the
NovaException class.
To manage notifications about this bug go to:
https://bugs.launchpad.net/compute-hyperv/+bug/1801713/+subscriptions
References