commit 50429f2cfbb0696ac134b15254a4277398836f49
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Dec 14 12:36:26 2017 +0100
gnocchi/ceilometer upgrade workflow fix
The current workflow for gnocchi/ceilometer upgrade doesn't
work well with swift backend.
Notification agent push data into Gnocchi on step4, but
Ceilometer-upgrade run only on step5, So Gnocchi have not been populated
with latest resource schemas.
Gnocchi-api is started in step3 but gnocchi::storage configuration have
not been done and database upgrade have not been done.
When configuration is done on step4, httpd will be restarted.
This change will fix this issue by:
* Doing only the Gnocchi database upgrade on step3 because swift is
ready only on step4.
* Configuring gnocchi::storage on step3 to avoid gnocchi-api restart on
step4.
* Move ceilometer-notification on step4 to ensure ceilometer-upgrade
have been run.
This ensures:
* gnocchi-api will be correctly configured at the end of
step3 (configuration+database-sync).
* No new measures will be pushed to Gnocchi before ceilometer-upgrade have
upgraded the Gnocchi resource schemas.
* Gnocchi-api have database updated before ceilometer-upgrade need it.
* We continue to upgrade storage/incoming data of Gnocchi on step4 after
swift is up.
Closes-bug: #1724328
Change-Id: I3f9a784e507e03454b335ba8319601fba208ba0a
(cherry picked from commit 4e6939c1a874a06f336321a9d44d9991872f74cf)
Reviewed: https:/ /review. openstack. org/528078 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=50429f2cfbb 0696ac134b15254 a4277398836f49
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 50429f2cfbb0696 ac134b15254a427 7398836f49
Author: Mehdi Abaakouk <email address hidden>
Date: Thu Dec 14 12:36:26 2017 +0100
gnocchi/ ceilometer upgrade workflow fix
The current workflow for gnocchi/ceilometer upgrade doesn't
work well with swift backend.
Notification agent push data into Gnocchi on step4, but upgrade run only on step5, So Gnocchi have not been populated
Ceilometer-
with latest resource schemas.
Gnocchi-api is started in step3 but gnocchi::storage configuration have
not been done and database upgrade have not been done.
When configuration is done on step4, httpd will be restarted.
This change will fix this issue by:
* Doing only the Gnocchi database upgrade on step3 because swift is notification on step4 to ensure ceilometer-upgrade
ready only on step4.
* Configuring gnocchi::storage on step3 to avoid gnocchi-api restart on
step4.
* Move ceilometer-
have been run.
This ensures:
* gnocchi-api will be correctly configured at the end of database- sync).
step3 (configuration+
* No new measures will be pushed to Gnocchi before ceilometer-upgrade have
upgraded the Gnocchi resource schemas.
* Gnocchi-api have database updated before ceilometer-upgrade need it.
* We continue to upgrade storage/incoming data of Gnocchi on step4 after
swift is up.
Closes-bug: #1724328 454b335ba831960 1fba208ba0a f336321a9d44d99 91872f74cf)
Change-Id: I3f9a784e507e03
(cherry picked from commit 4e6939c1a874a06