Comment 3 for bug 1554329

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/289721
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=6b6249b5ff6112a7150f6f609480e268fe42ea4d
Submitter: Jenkins
Branch: master

commit 6b6249b5ff6112a7150f6f609480e268fe42ea4d
Author: wanghao <email address hidden>
Date: Tue Mar 8 13:57:15 2016 +0800

    Add volumes table definition when migrating to 67

    When migrating DB to 67 readd_iscsi_targets_table,
    we will add foreign key "volumes.id", but we miss
    to define the volumes table, that will cause the
    migrating process fail: 'NoReferencedTableError'.

    Fix this issue by adding volume table definition
    before creating iscsi_targets table. test is
    added as well.

    Change-Id: Id0e0970517a5d3414e0ed124b2b7b3a5b1973761
    Closes-Bug: #1554329