4f373ea30f
If a certificate expires, the user will need to update it. However, because we only restart services at the end of a stack-update the new certificate doesn't take effect until after puppet has run. This is a problem because puppet makes OpenStack calls, which will fail if the certificate is expired. In that case we never get to the service restart so the stack is wedged until the user manually restart haproxy. This patch addresses the problem by reloading haproxy before puppet runs. This is done in a pre-puppet script for pacemaker after pacemaker is maintenance mode because we need to make sure it happens after all of the certs have been installed on the controllers, but before puppet runs. For non-pacemaker, haproxy is simply reloaded. Change-Id: Id5ed05b3a20d06af8ae7a3d6f859b03399b0d77d |
||
---|---|---|
.. | ||
major_upgrade_block_storage.sh | ||
major_upgrade_ceph_storage.sh | ||
major_upgrade_compute.sh | ||
major_upgrade_controller_pacemaker_1.sh | ||
major_upgrade_controller_pacemaker_2.sh | ||
major_upgrade_object_storage.sh | ||
major_upgrade_pacemaker_init.yaml | ||
major_upgrade_pacemaker_migrations.sh | ||
major_upgrade_pacemaker.yaml | ||
noop.yaml | ||
pacemaker_common_functions.sh | ||
pacemaker_maintenance_mode.sh | ||
pacemaker_resource_restart.sh | ||
post_puppet_pacemaker.yaml | ||
pre_puppet_pacemaker.yaml | ||
yum_update_noop.yaml | ||
yum_update.sh | ||
yum_update.yaml |