Mmm... I never executed "neutron-db-manage" before, first time now with Juno.

I followed the IceHouse Guide:
http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron-controller-node.html
- It did not tell to run "neutron-db-manager", so, this might me a
common case.

Thank you for your clarification!

Best!
Thiago

On 21 October 2014 04:56, Akihiro Motoki <[email protected]> wrote:
> Jacek's advise is correct.
>
> Neutron can generate db schema automatically until Icehouse,
> so some deployers use db migration for initial deployments and some not.
> In Juno, db schema auto generation is now disabled and deployers need to run
> the db migration as other projects do.
> In Thiago's case, it seems the db migration was not run when Icehouse
> Neutron was deployed.
> In this case, we need to run "stamp icehouse" before running the db
> migariton from icehouse to Juno.
>
> Thanks,
> Akihiro
>
>
>
> On Tue, Oct 21, 2014 at 3:42 PM, Martinx - ジェームズ
> <[email protected]> wrote:
>> Here we go: https://bugs.launchpad.net/openstack-manuals/+bug/1383586
>>
>> :-)
>>
>> On 21 October 2014 04:30, Martinx - ジェームズ <[email protected]> wrote:
>>>
>>> It worked Jacek, thank you!    :-)
>>>
>>> It might be a good idea to put the following line:
>>>
>>> --
>>> neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
>>> /etc/neutron/plugins/ml2/ml2_conf.ini stamp icehouse
>>> --
>>>
>>> Here:
>>>
>>>
>>> http://docs.openstack.org/juno/install-guide/install/apt/content/neutron-controller-node.html
>>>
>>> As an "upgrade note for Trusty customers upgrading from IceHouse"...
>>>
>>> Cheers!
>>> Thiago
>>>
>>> On 20 October 2014 06:23, Jacek Świderski <[email protected]>
>>> wrote:
>>>>
>>>> I'm not that familiar with upgrades but looking at your output (INFO
>>>> [alembic.migration] Running upgrade None -> havana, havana_initial ) and
>>>> mail question from yesterday about upgrade I think you should first stamp
>>>> your DB as Icehouse :
>>>> neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file
>>>> /etc/neutron/plugins/ml2/ml2_conf.ini  stamp icehouse
>>>> and then run upgrade.
>>>>
>>>> Jacek
>>>
>>>
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : [email protected]
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
>
> --
> Akihiro Motoki <[email protected]>

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to