puppet-tripleo/manifests
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
..
certmonger Revert "Use TLS proxy for Redis' internal TLS" 2017-12-01 09:07:51 +00:00
cluster Modify cassandra dependency 2015-12-14 14:15:15 +00:00
firewall Add unit tests for tripleo::firewall::service_rules 2017-12-13 07:22:46 +01:00
glance Fix lint issues to upgrade to puppet-lint 2.3 2017-07-21 11:42:45 +02:00
haproxy Add unit test for tripleo::haproxy::service_endpoints 2017-12-14 09:47:43 +01:00
host Add support for switchdev mode in SR-IOV 2017-12-12 14:58:43 +00:00
network Implements: Heat template for integrating Cavium SmartNIC LiquidIO 2017-12-12 20:31:16 +05:30
pacemaker Fix lint issues to upgrade to puppet-lint 2.3 2017-07-21 11:42:45 +02:00
packages packages: run upgrade at 'setup' stage 2016-10-14 18:17:30 -04:00
profile gnocchi/ceilometer upgrade workflow fix 2017-12-18 11:59:35 +01:00
stunnel Add manifests to install and configure stunnel 2017-08-25 10:11:08 +00:00
fencing.pp Instance HA support 2017-12-06 11:42:53 +01:00
firewall.pp Bad example in firewall.pp 2017-05-19 12:17:35 +02:00
haproxy.pp HAProxy logging 2017-12-07 22:43:09 +00:00
init.pp Implement firewalling in tripleo::firewall 2015-07-15 11:58:46 +02:00
keepalived.pp Allow setting of keepalived router ID 2017-04-13 15:27:46 +02:00
noop.pp Add class to set noop on various puppet resources 2015-07-03 17:16:07 -04:00
packages.pp Ensure package updates don't happen unexpectedly 2016-12-22 16:42:12 +00:00
redis_notification.pp Loadbalancer: Add support for Redis 2015-04-16 21:13:40 +02:00
selinux.pp Add tripleo::selinux 2016-05-05 13:19:20 -04:00
stunnel.pp Add manifests to install and configure stunnel 2017-08-25 10:11:08 +00:00
tls_proxy.pp Set ProxyPreserveHost in ec2api TLS proxy 2017-11-23 10:49:00 +00:00
trusted_ca.pp Add manifests to inject and trust CA certificates 2016-08-23 14:36:20 +00:00
trusted_cas.pp Add manifests to inject and trust CA certificates 2016-08-23 14:36:20 +00:00
ui.pp Add a new configuration option for GUI loggers 2017-09-18 08:19:43 -03:00