From 521a8973229484d52c03e9ed04782c5dc493c1b0 Mon Sep 17 00:00:00 2001 From: marios Date: Wed, 15 Mar 2017 10:28:17 +0200 Subject: Cleanup no longer used upgrade files Removes some of the no longer used scripts and templates used by the upgrades workflow in previous versions. Change-Id: I7831d20eae6ab9668a919b451301fe669e2b1346 --- extraconfig/tasks/aodh_data_migration.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 extraconfig/tasks/aodh_data_migration.sh (limited to 'extraconfig/tasks/aodh_data_migration.sh') diff --git a/extraconfig/tasks/aodh_data_migration.sh b/extraconfig/tasks/aodh_data_migration.sh deleted file mode 100644 index d4c29673..00000000 --- a/extraconfig/tasks/aodh_data_migration.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# This delivers the aodh data migration script to be invoked as part of the tripleo -# major upgrade workflow to migrate all the alarm data from mongodb to mysql. -# This needs to run post controller node upgrades so new aodh mysql db configured and -# running. -# -set -eu - -#Get existing mongodb connection -MONGO_DB_CONNECTION="$(crudini --get /etc/ceilometer/ceilometer.conf database connection)" - -# Get the aodh database string from hiera data -MYSQL_DB_CONNECTION="$(crudini --get /etc/aodh/aodh.conf database connection)" - -#Run migration -/usr/bin/aodh-data-migration --nosql-conn $MONGO_DB_CONNECTION --sql-conn $MYSQL_DB_CONNECTION - - -- cgit 1.2.3-korg