aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-01-31 13:27:20 +0000
committerGerrit Code Review <review@openstack.org>2024-01-31 13:27:20 +0000
commitd7a03105bf0016e46e60fcc15b7d5a8e4e205cc5 (patch)
tree7448a25e177c9c9a63999e9e8c8ed088bf166b7c
parent20da26637dbfc61aa14a43ae749897403a4c2776 (diff)
parentc3eb169e6c62747cfbc5ddc8ba951f7f5dda6382 (diff)
downloadkolla-d7a03105bf0016e46e60fcc15b7d5a8e4e205cc5.tar.gz
kolla-d7a03105bf0016e46e60fcc15b7d5a8e4e205cc5.zip
Merge "Use full binary path when invoking ip"
-rwxr-xr-xdocker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh2
-rw-r--r--releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml5
2 files changed, 6 insertions, 1 deletions
diff --git a/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh b/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh
index 29fd42dc0..055e5879a 100755
--- a/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh
+++ b/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh
@@ -171,7 +171,7 @@ if [ "${INTERNAL_SET}" = "true" ] || [ "${EXTERNAL_SET}" = "true" ]; then
fi
- if ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then
+ if /usr/sbin/ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then
log_info "[${FQDN} - cron] This Letsencrypt-lego host is active..."
if [ "${LETSENCRYPT_INTERNAL_FQDNS}" != "" ]; then
log_info "[${FQDN} - cron] Processing domains ${LETSENCRYPT_INTERNAL_FQDNS}"
diff --git a/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml b/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml
new file mode 100644
index 000000000..4edccfcf1
--- /dev/null
+++ b/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Fixes the issue with command not found within letsencrypt-lego container.
+ `LP#2051111 <https://launchpad.net/bugs/2051111>`__