Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1360399

Summary: Aodh: allow to upgrade schema from Ceilometer Liberty
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: openstack-aodhAssignee: Mehdi ABAAKOUK <mabaakou>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: high Docs Contact:
Priority: high    
Version: 9.0 (Mitaka)CC: apevec, fbaudin, jdanjou, jschluet, lhh, mabaakou, pkilambi
Target Milestone: gaKeywords: Triaged
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-aodh-2.0.3-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-15 07:19:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1353519, 1357880    

Description Yurii Prokulevych 2016-07-26 15:21:08 UTC
Description of problem:
-----------------------
"- Aodh dbsync see no reference to Alembic, so ask SQLAlchemy to create the tables; the tables are there, so it does nothing, and stamp the database to the latest version of Aodh Alembic"

https://git.openstack.org/cgit/openstack/aodh/commit/?h=stable/mitaka&id=4a53f93f60a1a7dc9981801ca2bcee5a168949e1

This has to be fixed in AODH-2.0.3 so we need rebase packages.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-aodh-listener-2.0.1-3.el7ost.noarch
openstack-aodh-common-2.0.1-3.el7ost.noarch
openstack-aodh-expirer-2.0.1-3.el7ost.noarch
python-aodhclient-0.5.0-1.el7ost.noarch
openstack-aodh-evaluator-2.0.1-3.el7ost.noarch
openstack-aodh-api-2.0.1-3.el7ost.noarch
openstack-aodh-notifier-2.0.1-3.el7ost.noarch
openstack-aodh-compat-2.0.1-3.el7ost.noarch
python-aodh-tests-2.0.1-3.el7ost.noarch
python-aodh-2.0.1-3.el7ost.noarch

Comment 3 Yurii Prokulevych 2016-08-02 09:29:24 UTC
Verified during upgrade from 8 ->9 with:
----------------------------------------

python-aodh-2.0.3-2.el7ost.noarch
openstack-aodh-expirer-2.0.3-2.el7ost.noarch
python-aodhclient-0.5.0-1.el7ost.noarch
python-aodh-tests-2.0.3-2.el7ost.noarch
openstack-aodh-evaluator-2.0.3-2.el7ost.noarch
openstack-aodh-common-2.0.3-2.el7ost.noarch
openstack-aodh-listener-2.0.3-2.el7ost.noarch
openstack-aodh-api-2.0.3-2.el7ost.noarch
openstack-aodh-notifier-2.0.3-2.el7ost.noarch
openstack-aodh-compat-2.0.3-2.el7ost.noarch


openstack-tripleo-heat-templates-2.0.0-24.el7ost.noarch
openstack-tripleo-heat-templates-kilo-0.8.14-16.el7ost.noarch
openstack-tripleo-heat-templates-liberty-2.0.0-24.el7ost.noarch
openstack-heat-templates-0-0.3.96a0b0bgit.el7ost.noarch

openstack-puppet-modules-8.1.5-1.el7ost.noarch

Comment 5 errata-xmlrpc 2016-08-15 07:19:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1597.html