Upgrade scripts to migrate aodh alarm data
authorPradeep Kilambi <pkilambi@redhat.com>
Mon, 8 Aug 2016 19:20:18 +0000 (15:20 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 17 Aug 2016 12:40:06 +0000 (12:40 +0000)
commit420f786a45bcd0e85c33d66d350d0e7f148f7074
treec13a97d3ea99352fb0331922135e4e6db562e044
parent0b2829480a299dcba6d5471a99ed76fb92ca31a6
Upgrade scripts to migrate aodh alarm data

In Newton, Aodh will be using its own mysql DB rather than
using ceilometer's mongo instance. This means we need to
migrate any existing alarm and alrm history data from
ceilometer DB to aodh mysqlDB. Upstream aodh provides us
with a aodh-data-migration utility. We need to invoke this
during the mitaka->newton upgrade procedure so data is
migrated as expected and aodh mysql backend takes over.

Closes-bug: #1611794

Change-Id: I17888b57ecf98cd83e92af2f9cdbead066b03aa3
environments/major-upgrade-aodh-migration.yaml [new file with mode: 0644]
extraconfig/tasks/aodh_data_migration.sh [new file with mode: 0644]
extraconfig/tasks/mitaka_to_newton_aodh_data_migration.yaml [new file with mode: 0644]