[openstack-dev] [Congress] Stack trace returned to end user bug

Tim Hinrichs tim at styra.com
Sun Sep 11 19:30:14 UTC 2016


The Api node on Oslo-messaging sends a request to the policy node asking
for say policy alpha. The policy node raises an exception, which Oslo
returns to the API node. I'd imagine there is some way to have the Ali node
extract the original exception or tell Oslo to return the only the original
exception.

Tim
On Thu, Sep 8, 2016 at 2:04 PM Aimee Ukasick <aimeeu.opensource at gmail.com>
wrote:

> All --
>
> https://bugs.launchpad.net/congress/+bug/1620868
>
> I stepped through the code with the pdb. I can't find anything wrong
> in the CongressException
> code.
>
> The traceback is being added by oslo_messaging/rpc/server.py  in
> _process_incoming
> This call that is throwing an exception: res =
> self.dispatcher.dispatch(message) but I haven't
> determined why.
>
> https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/server.py#L134
>
> https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/rpc/server.py#L142
>
> console output here:  http://paste.openstack.org/show/569334/
>
>
> I can't figure out why oslo.messaging is throwing an exception, I
> assume I should go into the API and CLI cod and prevent the traceback
> from being displayed.
>
> Thoughts? Suggestions? Epiphanies?
>
> aimee
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160911/719e4f45/attachment.html>


More information about the OpenStack-dev mailing list