No such option: use_deprecated_auth

Bug #932156 reported by Brian Lamar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Mark Washenberger

Bug Description

Trace I'm getting intermittently on API nodes:

http://paste.openstack.org/show/4806/

From the code it looks like FLAGS.use_deprecated_auth is being used without nova.auth.manager being imported. I'm unsure how it's working some of the time, but I'm guessing there is an import chain that is happening which causes this flag to be defined sometimes.

My proposed solution is to move the declaration of the flag to the central nova/flags.py file or to import nova/auth/manager.py into nova/image/service.py.

Revision history for this message
Vish Ishaya (vishvananda) wrote :

a DECLARE in the calling file should be sufficient.

Revision history for this message
Brian Lamar (blamar) wrote :

I wasn't sure with the new config system if that was still valid, but that makes things easier. Thanks Vish!

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/4153

Changed in nova:
assignee: nobody → Mark Washenberger (markwash)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4153
Committed: http://github.com/openstack/nova/commit/ac1522cf7ab3cdeb1ff45a88b83d4d4e963e349f
Submitter: Jenkins
Branch: master

commit ac1522cf7ab3cdeb1ff45a88b83d4d4e963e349f
Author: Mark Washenberger <email address hidden>
Date: Tue Feb 14 14:13:30 2012 -0500

    Declare deprecated auth flag before its used.

    Fixes bug #932156

    Change-Id: I52573115d98a2d376e76524aaf31e2b9003a1aed

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.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.