Bug 1037681 - Packstack doesn't stamp quantum database
Summary: Packstack doesn't stamp quantum database
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: async
: 3.0
Assignee: RHOS Maint
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On: 1037675
Blocks: 1031801
TreeView+ depends on / blocked
 
Reported: 2013-12-03 15:21 UTC by Jakub Libosvar
Modified: 2013-12-06 03:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1037675
Environment:
Last Closed: 2013-12-03 18:44:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jakub Libosvar 2013-12-03 15:21:14 UTC
+++ This bug was initially created as a clone of Bug #1037675 +++

Description of problem:
For db migrations in quantum is mandatory to have current stamp stored in alembic_version table. There is a tool quantum-db-manage which is capable of migrations and after each migration it stamps current version.

'quantum-db-manage upgrade head' is probably a good way to create database for quantum with correct stamp.

Version-Release number of selected component (if applicable):
openstack-packstack-2013.1.1-0.37.dev705.el6ost.noarch.rpm    

How reproducible:
Always

Steps to Reproduce:
1. Install quantum using packstack
2. quantum-db-manage --config-file /etc/quantum/quantum.conf --config-file /etc/quantum/plugin.ini current
3.

Actual results:
None

Expected results:
grizzly

Additional info:
This blocks migration between neutron versions.

Comment 1 lpeer 2013-12-03 18:44:10 UTC
Although could be useful if we'll have the data base stamped in the upgrade process then we can skip adding this code to z-stream at this point.

If we'll find another reason to stamp the data base we'll reopen this bug.

Comment 2 Lars Kellogg-Stedman 2013-12-06 03:55:19 UTC
Note that the neutron packages take care of this via %pretrans and %posttrans scriptlets when upgrading from grizzly.


Note You need to log in before you can comment on or make changes to this bug.