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

Tom Fifield tom at openstack.org
Sun Mar 30 05:04:02 UTC 2014


On 27/02/14 18:47, Flavio Percoco wrote:
> 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
>
>

Just noting that the sample config has still not been updated.


Regards,


Tom




More information about the OpenStack-dev mailing list