Config file hardcoded in the error message

Bug #1487258 reported by Stanislaw Pitucha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Lin Yang

Bug Description

When connection is not defined, magnum-db-manage will fail with:

ValueError: Database connection not set in /etc/magnum/magnum.conf

even if it was explicitly run with --config-file /some/other/location

description: updated
Lin Yang (lin-a-yang)
Changed in magnum:
assignee: nobody → Lin Yang (lin-a-yang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

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

Reviewed: https://review.openstack.org/216090
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=fb168ffb47e5b93df491a80248523d35757b51ca
Submitter: Jenkins
Branch: master

commit fb168ffb47e5b93df491a80248523d35757b51ca
Author: Lin Yang <email address hidden>
Date: Mon Aug 24 11:51:55 2015 +0800

    Remove hardcoded config file in error message

    Previously, it throw error message when database connection was
    not defined,

    "ValueError: Database connection not set in /etc/magnum/magnum.conf"

    even if it was explicitly run with "--config-file /other/location".
    So remove that hardcoded config file location.

    Change-Id: I3af00f1f6572c3cd9e56141e1774acf373bbce8b
    Closes-Bug: #1487258

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
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.