diff options
| author | Piotr Parczewski <piotr@stackhpc.com> | 2024-01-24 13:23:52 +0100 |
|---|---|---|
| committer | Piotr Parczewski <piotr@stackhpc.com> | 2024-01-24 13:23:52 +0100 |
| commit | c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382 (patch) | |
| tree | b58f93bacea1adb238ce6440af562707ec04b698 | |
| parent | 76d78b50c0208795c4bc93b932e7fb0e79a036fc (diff) | |
| download | kolla-c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382.tar.gz kolla-c3eb169e6c62747cfbc5ddc8ba951f7f5dda6382.zip | |
Use full binary path when invoking ip
Closes-bug: #2051111
Change-Id: I2a4df6121236379d88d0d7f2f7a888feab273003
| -rwxr-xr-x | docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh | 2 | ||||
| -rw-r--r-- | releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml | 5 |
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>`__ |
