diff options
| author | Zuul <zuul@review.opendev.org> | 2024-01-25 11:41:26 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2024-01-25 11:41:26 +0000 |
| commit | bfea6052dfaec920f57ed4f75fe890e20c9cb83a (patch) | |
| tree | 3488eaa073bbcbb1ccc3c7871cfef74e3856110c /docker/haproxy | |
| parent | 76d78b50c0208795c4bc93b932e7fb0e79a036fc (diff) | |
| parent | fc70184a0cf5abbdef078f7ee2994fb0a45417c8 (diff) | |
| download | kolla-bfea6052dfaec920f57ed4f75fe890e20c9cb83a.tar.gz kolla-bfea6052dfaec920f57ed4f75fe890e20c9cb83a.zip | |
Merge "trivial: fix typos in let's encrypt status logs"
Diffstat (limited to 'docker/haproxy')
| -rwxr-xr-x | docker/haproxy/haproxy-ssh/update-haproxy-cert.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/haproxy/haproxy-ssh/update-haproxy-cert.sh b/docker/haproxy/haproxy-ssh/update-haproxy-cert.sh index fe7d8e9fa..7e4122c65 100755 --- a/docker/haproxy/haproxy-ssh/update-haproxy-cert.sh +++ b/docker/haproxy/haproxy-ssh/update-haproxy-cert.sh @@ -34,7 +34,7 @@ function haproxy_transaction_start { cert_input_sha1=$(openssl x509 -noout -fingerprint -sha1 -inform pem -in ${cert_input} | awk -F '=' '{print $2}' | sed -e 's/://g') cert_dest_sha1=$(echo "show ssl cert *${cert_dest}" | socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock - | awk -F 'SHA1 FingerPrint: ' '{print $2}' | sed '/^$/d') if [ "${cert_input_sha1}" = "${cert_dest_sha1}" ]; then - log_info "[${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} successfull." + log_info "[${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} successful." else log_error "[${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} failed, SHA1 fingerprint of ${cert_input} is not the same as uploaded one." exit 1 |
