neutron db migration is skipped when DB current version is None.

Bug #1372260 reported by Xu Han Peng
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Critical
Ma Wen Cheng

Bug Description

Neutron DB schema auto-generation has been removed by this patch:

https://review.openstack.org/#/c/40296/

DB migration is the only way to generate Neutron DB schema.

In neutron cookbook code:
https://github.com/stackforge/cookbook-openstack-network/blob/master/recipes/server.rb#L54

DB upgrade is always skipped when current version is None, which lead to later neutron server problem due to tables are missing.

Xu Han Peng (xuhanp)
Changed in openstack-chef:
assignee: nobody → Xu Han Peng (xuhanp)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-network (master)

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

Changed in openstack-chef:
status: New → In Progress
Changed in openstack-chef:
assignee: Xu Han Peng (xuhanp) → Ma Wen Cheng (mars914)
Changed in openstack-chef:
importance: Undecided → Critical
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-network (master)

Reviewed: https://review.openstack.org/123048
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-network/commit/?id=41a8b0d73fa3965c5a47d1c5b74567e21e646e6a
Submitter: Jenkins
Branch: master

commit 41a8b0d73fa3965c5a47d1c5b74567e21e646e6a
Author: Xu Han Peng <email address hidden>
Date: Mon Sep 22 13:34:17 2014 +0800

    Remove Neutron DB stamp and upgrade to head

    Neutron DB schema auto-generation has been removed
    by this patch:
    https://review.openstack.org/#/c/40296/

    We should remove DB stamp and upgrade to version "head"
    each time, no matter it's first time deployment or run
    by many times.

    Change-Id: I74f6dc76091d6c7988b680eec16900bef3f3f61c
    Closes-Bug: #1372260

Changed in openstack-chef:
status: In Progress → Fix Released
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.