diff options
author | Pradeep Kilambi <pkilambi@redhat.com> | 2016-08-08 15:20:18 -0400 |
---|---|---|
committer | Pradeep Kilambi <pkilambi@redhat.com> | 2016-08-17 12:40:06 +0000 |
commit | 420f786a45bcd0e85c33d66d350d0e7f148f7074 (patch) | |
tree | c13a97d3ea99352fb0331922135e4e6db562e044 /environments | |
parent | 0b2829480a299dcba6d5471a99ed76fb92ca31a6 (diff) |
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
Diffstat (limited to 'environments')
-rw-r--r-- | environments/major-upgrade-aodh-migration.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/environments/major-upgrade-aodh-migration.yaml b/environments/major-upgrade-aodh-migration.yaml new file mode 100644 index 00000000..c1dbde42 --- /dev/null +++ b/environments/major-upgrade-aodh-migration.yaml @@ -0,0 +1,10 @@ +resource_registry: + # aodh data migration + OS::TripleO::Tasks::UpdateWorkflow: ../extraconfig/tasks/mitaka_to_newton_aodh_data_migration.yaml + + # no-op the rest + OS::TripleO::ControllerPostDeployment: OS::Heat::None + OS::TripleO::ComputePostDeployment: OS::Heat::None + OS::TripleO::ObjectStoragePostDeployment: OS::Heat::None + OS::TripleO::BlockStoragePostDeployment: OS::Heat::None + OS::TripleO::CephStoragePostDeployment: OS::Heat::None |