Skip to content
Snippets Groups Projects
Commit e6c5aa4a authored by Mark Goddard's avatar Mark Goddard
Browse files

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
parent 8a003189
No related branches found
No related tags found
No related merge requests found
--- ---
- include_tasks: config.yml - 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 - include_tasks: bootstrap_service.yml
- name: Flush handlers - name: Flush handlers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment