Flush handlers before doing db upgrade

DB upgrade should be run after service restart, as new config should
be applied for that (instead of the default one).

Change-Id: Idb3d5da2dc851fb57dd94d31136e43c34350e0cf
This commit is contained in:
Dmitriy Rabotyagov 2020-07-29 18:26:10 +03:00
parent 99b671d984
commit a72f6d3ac8
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@
tags:
- gnocchi-install
- name: Flush handlers
meta: flush_handlers
# N.B. Must occur after identity setup, as this may perform calls to Swift.
# Similarly, when using Ceph, must occur after Ceph setup.
- import_tasks: gnocchi_db_sync.yml