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

Tom Fifield tom at openstack.org
Wed Apr 2 02:22:46 UTC 2014


Since it's missed RC1, I'm guessing that this confusion to users will be 
ongoing for another six months ? :)

Regards,


Tom

On 30/03/14 23:24, Zhi Yan Liu wrote:
> 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
> <mailto: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
>> <mailto:OpenStack-dev at lists.openstack.org>
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>




More information about the OpenStack-dev mailing list