From 0813ab70e87274ee05bcc242cd91991627c2e922 Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Tue, 14 Oct 2014 16:36:02 +0200 Subject: [PATCH] neutron-db-manage finds automatically config file This patch lets oslo.config find config file containing connection string to database by itself. Config file can be overriden by --config-file cli parameter as it was before, so it is backward compatible. Change-Id: Iacbcd65edfe9ef268a0caf80641e0937a99b06a7 Closes-Bug: 1381100 --- neutron/db/migration/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/db/migration/cli.py b/neutron/db/migration/cli.py index ca83ecdf2..96a0da705 100644 --- a/neutron/db/migration/cli.py +++ b/neutron/db/migration/cli.py @@ -172,6 +172,6 @@ def main(): # attach the Neutron conf to the Alembic conf config.neutron_config = CONF - CONF() + CONF(project='neutron') #TODO(gongysh) enable logging CONF.command.func(config, CONF.command.name) -- 2.45.2