]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove $sqlite_db from default database connection
authorCory Stone <corystone@gmail.com>
Tue, 8 Jul 2014 20:01:04 +0000 (15:01 -0500)
committerCory Stone <corystone@gmail.com>
Wed, 9 Jul 2014 15:42:44 +0000 (10:42 -0500)
commitb1315f6eee54f56e245f947574d173aea06bcaa2
treecbdd14eb5e6b3798ef092672a76c99400b24a6fd
parent9bd7ca7f26fc5ebf951a9d3856df380a3f8c894d
Remove $sqlite_db from default database connection

sqlite_db used to be a config option in the DEFAULT section. This
allowed it to be used in config template substitution. Now that it is in
the database section, the template substitution fails with a
NoSuchOptError.

The quick fix is to just hardcode the default connection option to refer
directly to 'cinder.sqlite' instead.

Closes bug: 1339295

Change-Id: Ifd2267aaa8c55d78f88ce6648badefe3f9f664ee
cinder/db/sqlalchemy/api.py
etc/cinder/cinder.conf.sample