[Openstack] Upgrade from IceHouse to Juno, error "on neutron-db-manage step" - Ubuntu 14.04.1

Tom Verdaat tom at verdaat.org
Tue Oct 21 09:46:53 UTC 2014


Congratulations!

Unfortunately my problem persists. Probably because I have a new deployment
of Juno in stead of an upgrade:

https://bugs.launchpad.net/neutron/+bug/1230323/comments/6




2014-10-21 9:10 GMT+02:00 Martinx - ジェームズ <thiagocmartinsc at gmail.com>:

> 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 <amotoki at gmail.com> 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 - ジェームズ
> > <thiagocmartinsc at gmail.com> wrote:
> >> Here we go: https://bugs.launchpad.net/openstack-manuals/+bug/1383586
> >>
> >> :-)
> >>
> >> On 21 October 2014 04:30, Martinx - ジェームズ <thiagocmartinsc at gmail.com>
> 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 <
> jacek.swiderski at codilime.com>
> >>> 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     : openstack at lists.openstack.org
> >> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >>
> >
> >
> >
> > --
> > Akihiro Motoki <amotoki at gmail.com>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141021/cf0801bd/attachment.html>


More information about the Openstack mailing list