RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Mehdi Abaakouk 062313628c 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)
2017-12-18 17:48:30 +01:00
lib Do not fail if PCI device is missing 2017-07-12 12:21:23 -02:30
manifests gnocchi/ceilometer upgrade workflow fix 2017-12-18 17:48:30 +01:00
releasenotes Allow to configure snmpd_config 2017-10-06 12:08:36 -07:00
spec Support for Dell EMC VMAX ISCSI Cinder Driver 2017-11-13 08:44:02 -06:00
templates Enable languages in UI config 2017-02-18 15:19:32 +00:00
zuul.d Puppetfile: pin puppetlabs-haproxy to 1.5 (ocata commit) 2017-11-30 02:48:25 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-19 14:05:18 -04:00
.gitreview Update .gitreview for stable/ocata 2017-02-16 12:59:09 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Update Gemfile to pull spec_helper from stable/ocata 2017-04-24 11:46:22 -04:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Puppetfile: pin puppetlabs-haproxy to 1.5 (ocata commit) 2017-11-30 02:48:25 +00:00
README.md Show team and repo badges on README 2016-11-25 17:16:13 +01:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt [ocata] Add Puppet package to bindep, for module build 2017-10-27 13:50:29 -07:00
metadata.json Prepare 6.5.6 (ocata) 2017-12-08 09:48:49 -08:00
setup.cfg Add basic structure for ReNo 2016-12-03 13:16:33 +00:00
setup.py Add basic structure for ReNo 2016-12-03 13:16:33 +00:00
test-requirements.txt Add basic structure for ReNo 2016-12-03 13:16:33 +00:00
tox.ini Add basic structure for ReNo 2016-12-03 13:16:33 +00:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.