RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Mehdi Abaakouk 5b1a139fa0 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.
* Add dependencies between ceilometer-upgrade and gnocchi-api in case of
  non multinode deployment.

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
2017-12-18 11:59:35 +01:00
files Add manifests to install and configure stunnel 2017-08-25 10:11:08 +00:00
lib Add support for switchdev mode in SR-IOV 2017-12-12 14:58:43 +00:00
manifests gnocchi/ceilometer upgrade workflow fix 2017-12-18 11:59:35 +01:00
releasenotes Add unit test for tripleo::haproxy::service_endpoints 2017-12-14 09:47:43 +01:00
spec Add unit test for tripleo::haproxy::service_endpoints 2017-12-14 09:47:43 +01:00
templates Add support for switchdev mode in SR-IOV 2017-12-12 14:58:43 +00:00
zuul.d Move scenario001 and scenario003 back to the gate 2017-12-04 02:49:29 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-17 14:45:35 -06:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Update tox configuration 2017-05-17 17:04:02 +00:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Instance HA support 2017-12-06 11:42:53 +01:00
README.md Fixes license to explicitly be Apache 2.0 2017-10-09 11:06:29 -04:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
metadata.json Merge "Update cephx keys with ACLs for openstack services." 2017-12-13 13:01:16 +00:00
setup.cfg Fixes license to explicitly be Apache 2.0 2017-10-09 11:06:29 -04:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
test-requirements.txt Update openstackdocstheme to latest version 2017-09-20 11:08:30 +08:00
tox.ini Add environment variable 2017-06-12 16:06:48 +08:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing