aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Riteau <pierre@stackhpc.com>2022-03-31 12:24:04 +0200
committerPierre Riteau <pierre@stackhpc.com>2022-03-31 12:24:04 +0200
commit196b742ba271fd7e3521448f83e8a2914f5c7dc6 (patch)
treeb2aa7ea943cd5ec32227ca30da9ec3a17a4f8c45
parent497b40fe5a4984b959c63f0c5320311f5810192e (diff)
downloadkolla-196b742ba271fd7e3521448f83e8a2914f5c7dc6.tar.gz
kolla-196b742ba271fd7e3521448f83e8a2914f5c7dc6.zip
Fix disabling of curlrc in healthcheck_curl
The -q (aka --disable) option only works if it is the first parameter on the command line. Change-Id: Ia9ab0bdc95e658c17e5be5abefcf96f1c05ee84f Closes-Bug: #1967272
-rwxr-xr-xdocker/base/healthcheck_curl2
-rw-r--r--releasenotes/notes/healthcheck-curl-disable-curlrc-0f85aad47379e2a5.yaml5
2 files changed, 6 insertions, 1 deletions
diff --git a/docker/base/healthcheck_curl b/docker/base/healthcheck_curl
index 2ef8538ba..6df232fe8 100755
--- a/docker/base/healthcheck_curl
+++ b/docker/base/healthcheck_curl
@@ -5,7 +5,7 @@
: ${HEALTHCHECK_CURL_OUTPUT:='/dev/null'}
export NSS_SDB_USE_CACHE=no
-curl -g -k -q -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
+curl -q -g -k -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
--max-time "${HEALTHCHECK_CURL_MAX_TIME}" \
--user-agent "${HEALTHCHECK_CURL_USER_AGENT}" \
--write-out "${HEALTHCHECK_CURL_WRITE_OUT}" \
diff --git a/releasenotes/notes/healthcheck-curl-disable-curlrc-0f85aad47379e2a5.yaml b/releasenotes/notes/healthcheck-curl-disable-curlrc-0f85aad47379e2a5.yaml
new file mode 100644
index 000000000..c1c00d6ce
--- /dev/null
+++ b/releasenotes/notes/healthcheck-curl-disable-curlrc-0f85aad47379e2a5.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Fixes disabling the use of the ``curlrc`` configuration file in
+ ``healthcheck_curl``. `LP#1967272 <https://launchpad.net/bugs/1967272>`__