quantum-db-manage failed with db migration scripts have branches

Bug #1108781 reported by Yoshihiro Kaneko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Akihiro Motoki

Bug Description

down_revision of 1b693c095aa3_quota_ext_db_grizzly and
2a6d0b51f4bb_cisco_plugin_cleanup conflicted.

$ quantum-db-manage \
  --config-file /etc/quantum/quantum.conf \
  --config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini \
  stamp head
INFO [alembic.migration] Context impl MySQLImpl.
INFO [alembic.migration] Will assume non-transactional DDL.
  Only a single head supported so far...

$ quantum-db-manage \
  --config-file /etc/quantum/quantum.conf \
  --config-file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini \
  history

1d76643bcec4 -> 1b693c095aa3 (head), Quota ext support added in Grizzly

1d76643bcec4 -> 2a6d0b51f4bb (head), cisco plugin cleanup
3cb5d900c5de -> 1d76643bcec4 (branchpoint), nvp_netbinding
48b6f43f7471 -> 3cb5d900c5de, security_groups
5a875d0e5c -> 48b6f43f7471, DB support for service types
folsom -> 5a875d0e5c, ryu
None -> folsom, folsom initial database

Tags: db
Revision history for this message
Akihiro Motoki (amotoki) wrote :

When many parallel reviews are going, such cases can easily occur from now on.

My idea is that adding a proper db migration script check to PEP8 test.
Since PEP8 test is executed by Jenkins, we can avoid db migration script branches.

summary: - quantum-db-manage failed
+ quantum-db-manage failed with db migration scripts have branches
Changed in quantum:
assignee: nobody → Akihiro Motoki (amotoki)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/20685

Changed in quantum:
status: New → In Progress
dan wendlandt (danwent)
tags: added: db
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/20685
Committed: http://github.com/openstack/quantum/commit/4510c3fb0742a4a00d1e15b0429a36d6fa476a85
Submitter: Jenkins
Branch: master

commit 4510c3fb0742a4a00d1e15b0429a36d6fa476a85
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Jan 29 22:50:15 2013 +0900

    Fix branch in db migration scripts

    Fixes bug #1108781

    Change-Id: Ia6cfcc4a1cc39136bad99be26f40aac9fa3e3e70

Changed in quantum:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in quantum:
milestone: none → grizzly-3
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.