Comment 10 for bug 1620868

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/newton)

Reviewed: https://review.openstack.org/379036
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=c9bfcdd0fe4c66f5766e62f03f8eea598954520d
Submitter: Jenkins
Branch: stable/newton

commit c9bfcdd0fe4c66f5766e62f03f8eea598954520d
Author: Eric K <email address hidden>
Date: Thu Sep 22 18:12:02 2016 -0700

    Remove the traceback added by oslo-messaging RPC

    Remove the traceback added by oslo-messaging RPC, to avoid
    displaying traceback to user.

    Some requests that return traceback w/o this patch, now normal:
    $ openstack congress policy row list bob p
    Not Found::table 'p' doesn't exist (HTTP 404) (Request-ID: req-54c2a117-0306-4fd2-8d71-8f7e6d130a43)
    $ openstack congress policy rule list bob
    The specified policy does not exist.::Policy ID bob does not exist
    (HTTP 400) (Request-ID: req-d85db619-afa0-4977-99f8-0dc88c5daa0c)
    $ openstack congress policy delete bob
    Policy Name or ID 'bob' does not exist (HTTP 404) (Request-ID: req-e1a70735-f469-4fae-b278-f061b64f4298)
    $ openstack congress policy show bob
    Resource bob not found (HTTP 404)

    The 400 error should be addressed in separate patch.

    Change-Id: Ia6b2b3e9816c90d4ca6b687cca2fac90eb5fb9b3
    Closes-Bug: #1620868