RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari 5968aeb320 Make sure remotes are fully up before proceeding
We currently rely on 'verify_on_create   => true' to make
sure that pacemaker remotes up before proceeding to Step2 (during
which a remote node is entitled to run pcs commands).
So if the remote is still not fully up pcs commands can potentially
fail on the remote nodes with errors like:

Error: /Stage[main]/Tripleo::Profile::Pacemaker::Compute_instanceha
       /Pacemaker::Property[compute-instanceha-role-node-property]
       /Pcmk_property[property-overcloud-novacomputeiha-0-compute-instanceha-role]:
Could not evaluate: backup_cib: Running: /usr/sbin/pcs cluster cib
/var/lib/pacemaker/cib/puppet-cib-backup20180519-20162-ekt31x failed with code: 1 ->

verify_on_create => true has an incorrect semantic currently
as it does not really wait for a single resource to be fully up.
Since implementing that properly will take quite a bit of work
(given that pcs does not currently support single-resource state
polling), for now we avoid using verify_on_create and we simply make
sure the resource is started via an exec.

Run 25 successful deployments with this (and the depends-on) patch.

Closes-Bug: #1773754
Depends-On: I74994a7e52a7470ead7862dd9083074f807f7675
Change-Id: I9e5d5bb48fc7393df71d8b9eae200ad4ebaa6aa6
2018-05-28 14:52:52 +02:00
doc Follow the new PTI for document build 2018-02-28 14:42:12 +08:00
files Add support for libvirt VNC TLS with option of a dedicated CA 2018-02-14 10:23:26 +00:00
lib Merge "Add fact to get array of nic alias name" 2018-03-28 21:19:55 +00:00
manifests Make sure remotes are fully up before proceeding 2018-05-28 14:52:52 +02:00
releasenotes Rework GDPR compliant logrotate config 2018-05-24 17:31:15 +00:00
spec Merge "Trivial: fix a comment typo" 2018-05-15 03:30:14 +00:00
templates Rework GDPR compliant logrotate config 2018-05-24 17:31:15 +00:00
zuul.d Zuul: Remove project name 2018-01-31 16:51:36 -08: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 Load puppet-openstack_spec_helper locally during tests 2018-02-12 10:53:40 +08:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Pin puppet-collectd 2018-03-19 17:18:16 +01:00
README.md Update the doc link 2017-12-16 02:49:05 +00: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 metadata.json: prepare for 9.0.0 release (rocky-m1) 2018-04-11 09:50:46 -07: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
tox.ini Follow the new PTI for document build 2018-02-28 14:42:12 +08:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing