[openstack-dev] [glance] Switching from sql_connection to [database] connection ?

Flavio Percoco flavio at redhat.com
Thu Feb 27 10:47:04 UTC 2014


On 27/02/14 12:12 +0800, Tom Fifield wrote:
>Hi,
>
>As best I can tell, all other services now use this syntax for 
>configuring database connections:
>
>[database]
>connection = sqlite:///etc,omg
>
>
>whereas glance appears to still use
>
>[DEFAULT]
>...
>sql_connection = sqlite:///etc,omg
>
>
>Is there a plan to switch to the former during Icehouse development?
>
>From a user standpoint it'd be great to finally have consistency 
>amoungst all the services :)

It already did. It looks like the config sample needs to be updated.

To be more precise, `sql_connection` is marked as deprecated.[0]

[0] https://github.com/openstack/glance/blob/master/glance/openstack/common/db/sqlalchemy/session.py#L329

Cheers,
Fla

-- 
@flaper87
Flavio Percoco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140227/20fb505d/attachment.pgp>


More information about the OpenStack-dev mailing list