network: handle unauthorized exception from neutron
Neutron can raise an unauthorized exception for an expired or invalid
token. In case of admin context we log a message to inform operators
that the Neutron admin creadential are not well configured then return
a 500 to user. In case of user context we return 401.
Closes-Bug: #1653645
(cherry-picked from commit 80d39a65062a424c9efe42257a38a09c6af2f3e9)
Change-Id: I87c8b86373967639eb55b4cc3b7d6cbd9780f3ac
Reviewed: https:/ /review. fuel-infra. org/29639
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka
Commit: 932512b7525f882 2fb88c7345483a5 40ea7f80c0
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Fri Jan 13 10:04:37 2017
network: handle unauthorized exception from neutron
Neutron can raise an unauthorized exception for an expired or invalid
token. In case of admin context we log a message to inform operators
that the Neutron admin creadential are not well configured then return
a 500 to user. In case of user context we return 401.
Closes-Bug: #1653645
(cherry-picked from commit 80d39a65062a424 c9efe42257a38a0 9c6af2f3e9) 39eb55b4cc3b7d6 cbd9780f3ac
Change-Id: I87c8b863739676