[database] connection is not present in glance-api.conf - icehouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
High
|
Tom Fifield |
Bug Description
in /etc/glance/
# SQLAlchemy connection string for the reference implementation
# registry server. Any valid SQLAlchemy connection string is fine.
# See: http://
sql_connection = mysql:/
But in doc is mentioned:
[database]
connection = mysql:/
and there are not [database] section at all:
root@controller:~# grep database /etc/glance/
# to the database.
# Whether to automatically create the database tables.
# Enable DEBUG log messages from sqlalchemy which prints every database
# If your database tables do not have charset utf8 you will
# only relevant if your database engine is MySQL.
-------
Built: 2014-04-10T08:38:58 00:00
git SHA: 5a2c0eaacddb47e
URL: http://
source File: file:/home/
xml:id: glance-install
you can read this: https:/ /github. com/openstack/ glance/ blob/master/ glance/ openstack/ common/ db/options. py#L32
the problem is that, glance project has not update its sample config file about this config option, and the old option is deprecated for a long time, but it still works for such a long time too, even thoug it is not recommended any more.
usually, a deprecated thing will not be supported in two release cycle, which means this option may not be supported in Juno release
my advice is following the manual's guide, and use the new style