gnocchi: ensure upgrade run after swift setup

The orignal fix have create an dependencies on an Class, so
it does work and fail silencly.

This changes it to the Anchor.

Change-Id: I2ed6e328a9a4915844f699784dd87dc99078fb23
Closes-bug: #1724328
(cherry picked from commit 1c49fbe08d)
This commit is contained in:
Mehdi Abaakouk 2017-12-13 16:07:16 +01:00 committed by Emilien Macchi
parent 1073cca815
commit 5e1b5cafa6
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class tripleo::profile::base::gnocchi::api (
include ::swift::deps
# Ensure we have swift proxy available before running gnocchi-upgrade
# as storage is initialized at this point.
Anchor<| title == 'swift::service::end' |> ~> Class['Gnocchi::db::sync']
Anchor<| title == 'swift::service::end' |> ~> Anchor['gnocchi::dbsync::begin']
}
}
'file': { include ::gnocchi::storage::file }