commit 830554939be83690b5268c014b79633e349a7c22
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Aug 23 12:02:43 2017 +0300
Undercloud/Certmonger: Only attempt to reload haproxy is it's active
Previously, certmonger tried to reload haproxy every time after a
certificate is requested. This is useful for certificate resubmits or
renewals. However, it turned out problematic on installation, when
haproxy is not yet active, as it would try many times and end up having
a race-condition with puppet.
This checks if haproxy is active and only then will it attempt to reload
it.
Closes-Bug: #1712377
Change-Id: I4edd42b888a0bbbb8eb0e71f5c17750bac46c2ce
(cherry picked from commit fe25c53fe9c43e42c2148cd0b192917568570a8c)
Reviewed: https:/ /review. openstack. org/500248 /git.openstack. org/cgit/ openstack/ instack- undercloud/ commit/ ?id=830554939be 83690b5268c014b 79633e349a7c22
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 830554939be8369 0b5268c014b7963 3e349a7c22
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Aug 23 12:02:43 2017 +0300
Undercloud/ Certmonger: Only attempt to reload haproxy is it's active
Previously, certmonger tried to reload haproxy every time after a
certificate is requested. This is useful for certificate resubmits or
renewals. However, it turned out problematic on installation, when
haproxy is not yet active, as it would try many times and end up having
a race-condition with puppet.
This checks if haproxy is active and only then will it attempt to reload
it.
Closes-Bug: #1712377 bb8eb0e71f5c177 50bac46c2ce 2c2148cd0b19291 7568570a8c)
Change-Id: I4edd42b888a0bb
(cherry picked from commit fe25c53fe9c43e4