ConfigOpts doesn't find policy.json and api-paste.ini

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

Bug Description

Commit `16c5dbf156f5aafe113d9ac2c26e99b0e621724d` refactored the code to use ConfigOpts.find_file from openstack.common instead Nova's custom version.

The code is breaking for me because it's searching /etc/ and not /etc/nova (where I've always stored my development config files).

The root cause appears to be not passing in the `project` identifier into the ConfigOpts initializer.

Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
importance: Undecided → Medium
status: New → In Progress
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/7407

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

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

commit fb96f7dff66e35f59a568e592ecea3bd5e500287
Author: Rick Harris <email address hidden>
Date: Mon May 14 20:06:45 2012 +0000

    Pass 'nova' project into ConfigOpts.

    Fixes bug 999305

    The problem was that, post refactoring, `ConfigOpts.find_file` was no
    longer searching `/etc/nova` for config files.

    Change-Id: I3dee8d8f24ae3912e07dcb9d19086d55eb98ccaa

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
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.