Re: [Openstack-operators] nova_cell0 database connection string

2017-05-26 Thread Matt Riedemann
On 5/26/2017 12:42 PM, Alfredo Moralejo Alonso wrote: According to https://docs.openstack.org/developer/nova/cells.html#first-time-setup you can specify database connection string with map_cell0 command: nova-manage cell_v2 map_cell0 --database_connection \ mysql+pymysql://root:secretmysql@d

Re: [Openstack-operators] nova_cell0 database connection string

2017-05-26 Thread Alfredo Moralejo Alonso
According to https://docs.openstack.org/developer/nova/cells.html#first-time-setup you can specify database connection string with map_cell0 command: nova-manage cell_v2 map_cell0 --database_connection \ mysql+pymysql://root:secretmysql@dbserver/nova_cell0?charset=utf8 Regards, Alfredo On Fr

Re: [Openstack-operators] nova_cell0 database connection string

2017-05-26 Thread Massimo Sgaravatto
Thanks I guess you meant "nova db with cell0 appended" and not "nova_api db with cell0 appended" as you wrote My use case is that I share the same percona cluster to host the databases of multiple openstack installations. So if it is -cell0 this is fine. If instead it is hard-coded to nova-cell0,

Re: [Openstack-operators] nova_cell0 database connection string

2017-05-26 Thread Mike Lowe
The whole cell thing tripped me up earlier this week. From what I understand it’s hard coded in the upgrade scripts to be the same as the nova_api db with cell0 appended to the db name but there is a patch in to change this behavior to match what the install docs say. So it looks like if you j