Comment 9 for bug 1653645

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/29640
Submitter: Denis V. Meltsaykin <email address hidden>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 1058243ac69e1488148a408584f2337fa923389c
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Thu Jan 19 11:38:46 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 932512b7525f8822fb88c7345483a540ea7f80c0)
Change-Id: I87c8b86373967639eb55b4cc3b7d6cbd9780f3ac