savanna-db-manage does not read /etc/savanna/savanna.conf by default

Bug #1202227 reported by Matthew Farrellee
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Wishlist
Sergey Lukjanov

Bug Description

The savanna-db-manage tool only functions when provided --config-file (probably also --config-dir). it should search for /etc/savanna/savanna.conf by default, just like savanna-api.

Changed in savanna:
status: New → Triaged
importance: Undecided → Low
milestone: none → 0.2.1
tags: added: 0.2.1
Changed in savanna:
milestone: 0.2.1 → none
tags: removed: 0.2.1
Changed in savanna:
milestone: none → 0.3a1
tags: added: 0.3
Changed in savanna:
importance: Low → Wishlist
Changed in savanna:
milestone: 0.3a1 → 0.3
Changed in savanna:
milestone: 0.3 → next
tags: removed: 0.3
Changed in savanna:
milestone: next → icehouse-3
Changed in savanna:
status: Triaged → Invalid
importance: Wishlist → Undecided
status: Invalid → New
Revision history for this message
ruhe (ruhe) wrote :

AFAIK, {name}-db-migrate in other projects also expects --config-file parameter.
so, maybe, we can mark this as expected behaviour?

Changed in savanna:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Sergey Lukjanov (slukjanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to savanna (master)

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

Changed in savanna:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to savanna (master)

Reviewed: https://review.openstack.org/75202
Committed: https://git.openstack.org/cgit/openstack/savanna/commit/?id=edd99fe108e3209b1bde72154a3785fb6b7cf5c2
Submitter: Jenkins
Branch: master

commit edd99fe108e3209b1bde72154a3785fb6b7cf5c2
Author: Sergey Lukjanov <email address hidden>
Date: Fri Feb 21 01:56:48 2014 +0400

    Make savanna-db-manage able to discover configs

    By passing project to the oslo.config parser, we're enabling several
    locations to the list of auto discoverable configs:

    * /etc/savanna.conf
    * /etc/savanna/savanna.conf
    * ~/savanna.conf
    * ~/savanna/savanna.conf

    Change-Id: I03d112c96c01607bb00f1a86ae8238f3fa4700de
    Closes-Bug: #1202227

Changed in savanna:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in savanna:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: icehouse-3 → 2014.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.