AdminRequired exception should map to HTTP 403, not 401

Bug #1074505 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Brian Waldon

Bug Description

When AdminRequired is raised on a nova-network node, it is presented as a 401 through the HTTP API. This was discovered as a side-effect of bug 1074437.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/15318

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/15318
Committed: http://github.com/openstack/nova/commit/064948eb96cd6f585ed18af3966aaba0ff190ae1
Submitter: Jenkins
Branch: master

commit 064948eb96cd6f585ed18af3966aaba0ff190ae1
Author: Brian Waldon <email address hidden>
Date: Fri Nov 2 15:44:07 2012 -0700

    Map NotAuthorized to 403 in floating ips extension

    When a NotAuthorized exception is raised in the network
    manager, it would be presented as an HTTP 401 exception
    through the floating ips extension. This patch presents it
    as a 403 instead.

    Fixes bug 1074505

    Change-Id: Idb45c78755a182635ef353bb9ec8b557c8ea9b16

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.