yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04662
[Bug 1205250] Re: neutron-db-manage upgrade head(db migration)
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1205250
Title:
neutron-db-manage upgrade head(db migration)
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
when doing an upgrade from Grizzly to Havana, first "neutron-db-manage
stamp grizzly", then "neutron-db-manage upgrade head", it shows that:
"QUANTUM.VIPS" is an undefined name.
It seems that vips table should be created in 54c2c487e913_lbaas.py, which never runs.
so when "upgrade head", in 2032abe8edac_lbaas_add_status_des.py, when it tries to add a column to vips table, it errors because there is no table named vips.
[root@dbdbdb ˜]# neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini upgrade head
No handlers could be found for logger "neutron.common.legacy"
INFO [alembic.migration] Context impl IBMDBImpl.
INFO [alembic.migration] Will assume transactional DDL.
INFO [alembic.migration] Running upgrade grizzly -> 176a85fc7d79
INFO [alembic.migration] Running upgrade 176a85fc7d79 -> 32b517556ec9
INFO [alembic.migration] Running upgrade 32b517556ec9 -> 128e042a2b68
INFO [alembic.migration] Running upgrade 128e042a2b68 -> 5ac71e65402c
INFO [alembic.migration] Running upgrade 5ac71e65402c -> 3cbf70257c28
INFO [alembic.migration] Running upgrade 3cbf70257c28 -> 5918cbddab04
INFO [alembic.migration] Running upgrade 5918cbddab04 -> 3cabb850f4a5
INFO [alembic.migration] Running upgrade 3cabb850f4a5 -> b7a8863760e
INFO [alembic.migration] Running upgrade b7a8863760e -> 13de305df56e
INFO [alembic.migration] Running upgrade 13de305df56e -> 20ae61555e95
INFO [alembic.migration] Running upgrade 20ae61555e95 -> 477a4488d3f4
INFO [alembic.migration] Running upgrade 477a4488d3f4 -> 2032abe8edac
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 26, in <module>
main()
File "/usr/lib/python2.6/site-packages/neutron/db/migration/cli.py", line 140, in main
CONF.command.func(config, CONF.command.name)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1205250/+subscriptions