[openstack-dev] [glance] Switching from sql_connection to [database] connection ?
Zhi Yan Liu
lzy.dev at gmail.com
Sun Mar 30 15:24:47 UTC 2014
Hi
We have no plan to update sample template in I release for it, but https://review.openstack.org/#/c/77379/ is on reviewing, IFY.
zhiyan
Sent from my iPad
> On 2014年3月30日, at 13:04, Tom Fifield <tom at openstack.org> wrote:
>
>> 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
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140330/da3b1108/attachment.html>
More information about the OpenStack-dev
mailing list