From e6c5aa4a0864b94328f193370da4b2ce82eb1520 Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Thu, 14 Nov 2019 11:40:41 +0000
Subject: [PATCH] Remove transitional support for influxdb in cloudkitty
 upgrade

During the Stein release the default storage backend for cloudkitty was
switched to influxdb. To aid this transition we added creation of the
influxdb database during upgrade. Now that this transition is complete
we can remove it.

Change-Id: Ieb247f36af932d3a357504c7419ead44b10d1301
---
 ansible/roles/cloudkitty/tasks/upgrade.yml | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/ansible/roles/cloudkitty/tasks/upgrade.yml b/ansible/roles/cloudkitty/tasks/upgrade.yml
index 9f3ca46e57..20ccddc8f1 100644
--- a/ansible/roles/cloudkitty/tasks/upgrade.yml
+++ b/ansible/roles/cloudkitty/tasks/upgrade.yml
@@ -1,19 +1,6 @@
 ---
 - include_tasks: config.yml
 
-# NOTE(mgoddard): Transition support for upgrades from Rocky or Stein which may
-# be using the SQLAlchemy storage backend.
-# TODO(mgoddard): Remove in U cycle.
-- name: Creating Cloudkitty influxdb database
-  become: true
-  kolla_toolbox:
-    module_name: influxdb_database
-    module_args:
-      hostname: "{{ influxdb_address }}"
-      port: "{{ influxdb_http_port }}"
-      database_name: "{{ cloudkitty_influxdb_name }}"
-  when: cloudkitty_storage_backend == 'influxdb'
-
 - include_tasks: bootstrap_service.yml
 
 - name: Flush handlers