It seems you are already in a situation where you have an empty db ("show
databases" returns ovs_quantum, but "show tables" returns an empty list).
Quantum-server should recreate the tables for you. If this is not
happening, you should have an error during Quantum startup. Can you post
the traceback?

Salvatore

On 25 July 2012 15:27, Nicolas de Bonfils <openst...@nicolas2bonfils.com>wrote:

> Hi Salvatore,
>
> What do you mean by "creating the schema" ? I got the db "ovs_quantum"
> empty and the good mysql connection url in configuration file. But I'm
> stuck after that :/
>
> Thanks
>
> --- Nicolas
>
> Le Wed Jul 25 15:23:28 2012, Salvatore Orlando a écrit :
>
>> Nicolas,
>>
>> Quantum and its plugins do not have yet schema versioning.
>> If you've messed up the DB and dropped it, just create the schema in
>> mysql. Quantum (or to be more precise sqlAlchemy) will recreate the
>> tables for you.
>> The name of the db for the OVS plugin is ovs_quantum. DB name can
>> differ from plugin to plugin, please check the plugin README for more
>> information.
>>
>> Hope it helps,
>> Salvatore
>>
>> On 25 July 2012 15:16, Nicolas de Bonfils
>> <openst...@nicolas2bonfils.com 
>> <mailto:openstack@**nicolas2bonfils.com<openst...@nicolas2bonfils.com>
>> >>
>>
>> wrote:
>>
>>     Hi all,
>>
>>     I somehow messed-up my quantum DB and I got no table left in the
>>     DB. I try launching several times quantum-server, quantum-agent,
>>     even quantum-dhcp, but still nothing :( .
>>     I look several times in the code of quantum (and also in devstack)
>>     and found nothing similar to "db sync" or "db upgrade".
>>
>>     So : how to recreate the tables ?
>>
>>     Thanks for the help.
>>
>>     --- Nicolas
>>
>>
>>     --
>>     Mailing list: 
>> https://launchpad.net/~__**netstack<https://launchpad.net/~__netstack>
>>
>>     <https://launchpad.net/~**netstack <https://launchpad.net/~netstack>>
>>     Post to     : netstack@lists.launchpad.net
>>     <mailto:netstack@lists.**launchpad.net <netstack@lists.launchpad.net>
>> >
>>     Unsubscribe : 
>> https://launchpad.net/~__**netstack<https://launchpad.net/~__netstack>
>>     <https://launchpad.net/~**netstack <https://launchpad.net/~netstack>>
>>     More help   : 
>> https://help.launchpad.net/__**ListHelp<https://help.launchpad.net/__ListHelp>
>>     
>> <https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>> >
>>
>>
>>
>
>
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to