CLI Commands/Services should raise an error if a config file cannot be found

Bug #1075595 reported by CaptTofu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Undecided
Kiall Mac Innes

Bug Description

When running "moniker database init" and "moniker database sync", if you are not in the base moniker repo directory nor if an etc/moniker-central.conf, this process will silently use sqlite default even if your config file specifies mysql.

Kiall Mac Innes (kiall)
summary: - moniker cli, when upgrading via sqlalchemy migrate, does not raise an
- error upon config file not existing
+ CLI Commands/Services should raise an error if a config file cannot be
+ found
Changed in moniker:
milestone: none → grizzly-1
status: New → Confirmed
Changed in moniker:
assignee: nobody → Kiall Mac Innes (kiall)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to moniker (master)

Reviewed: https://review.openstack.org/15504
Committed: http://github.com/stackforge/moniker/commit/c305423b85ad7b1ce2e12b5be790ac948d88087a
Submitter: Jenkins
Branch: master

commit c305423b85ad7b1ce2e12b5be790ac948d88087a
Author: Kiall Mac Innes <email address hidden>
Date: Tue Nov 6 16:13:17 2012 +0000

    Fix bug #1075595 - Ensure a missing configuration file raises an error

    Change-Id: Id87635a2434fd439070a271afe288ea3f581081b

Changed in moniker:
status: In Progress → Fix Committed
Revision history for this message
JC Martin (jemartin) wrote :

this fix breaks the possibility to pass the config file in argv

Kiall Mac Innes (kiall)
Changed in designate:
status: Fix Committed → Fix Released
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.