Remove configs sql_connection and sql_connection_debug
Both configuration options are available and used from the [database] section under the names 'connection' and 'connection_debug'. Change-Id: I7178ee9fce3b95c887d9b7e5d5564873aae69c88
This commit is contained in:
parent
cc2825fb77
commit
1e069c6be4
@ -224,7 +224,7 @@ function configure_manila {
|
||||
iniset $MANILA_CONF DEFAULT verbose True
|
||||
iniset $MANILA_CONF DEFAULT scheduler_driver $MANILA_SCHEDULER_DRIVER
|
||||
iniset $MANILA_CONF DEFAULT share_name_template ${SHARE_NAME_PREFIX}%s
|
||||
iniset $MANILA_CONF DEFAULT sql_connection `database_connection_url manila`
|
||||
iniset $MANILA_CONF DATABASE connection `database_connection_url manila`
|
||||
iniset $MANILA_CONF DEFAULT api_paste_config $MANILA_API_PASTE_INI
|
||||
iniset $MANILA_CONF DEFAULT rootwrap_config $MANILA_CONF_DIR/rootwrap.conf
|
||||
iniset $MANILA_CONF DEFAULT osapi_share_extension manila.api.contrib.standard_extensions
|
||||
|
@ -52,15 +52,6 @@ def _get_my_ip():
|
||||
|
||||
|
||||
core_opts = [
|
||||
cfg.StrOpt('sql_connection',
|
||||
default='sqlite:///$state_path/$sqlite_db',
|
||||
help='The SQLAlchemy connection string used to connect to the '
|
||||
'database.',
|
||||
secret=True),
|
||||
cfg.IntOpt('sql_connection_debug',
|
||||
default=0,
|
||||
help='Verbosity of SQL debugging information: 0=None, '
|
||||
'100=Everything.'),
|
||||
cfg.StrOpt('api_paste_config',
|
||||
default="api-paste.ini",
|
||||
help='File name for the paste.deploy config for manila-api.'),
|
||||
|
Loading…
Reference in New Issue
Block a user