Notification exceptions not sent back correctly

With the new notification feature added recently, exceptions
that occur on the guest are sent back to the conductor.
Due to a mis-match in the code however, the wrong call is being
issued. The conductor api makes a call to notify_exception
instead of notify_exc_info.

This has been fixed.

Change-Id: Ib2e04bb903c92b4d570913aba2e985db63c45096
Closes-Bug: #1577848
This commit is contained in:
Peter Stachowski 2016-05-03 12:36:15 -04:00
parent f7b3111bad
commit 9f7be1a10b
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
---
fixes:
- Fixed wrong call in conductor when reporting a guest
notification exception. Bug 1577848

View File

@ -90,6 +90,6 @@ class API(object):
context = self.context
serialized = SerializableNotification.serialize(context,
context.notification)
cctxt.cast(self.context, "notify_exception",
cctxt.cast(self.context, "notify_exc_info",
serialized_notification=serialized,
message=message, exception=exception)