From 9e72a429d1ae1d6be2e747a973be6b6c072cd630 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 11 Apr 2018 15:47:18 -0400 Subject: [PATCH] Fixes ODL healthcheck URI In the past we used index.html to ensure ODL container was healthy. This page was provided by the GUI plugins into ODL. Now that those plugins are no longer supported, we need to move to a more reliable URI path. Related-Bug: 1751857 Change-Id: I2f33d2cf6a96005ef1d18468a8d2fcc71b17b6f8 Signed-off-by: Tim Rozet --- healthcheck/opendaylight-api | 2 +- .../notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml diff --git a/healthcheck/opendaylight-api b/healthcheck/opendaylight-api index e43c2bff3..c11724bcd 100755 --- a/healthcheck/opendaylight-api +++ b/healthcheck/opendaylight-api @@ -11,4 +11,4 @@ else bind_port=$(awk -F "= *" '/^org.osgi.service.http.port.secure/ {print $2}' $file) fi -healthcheck_curl http://$bind_host:$bind_port/index.html +healthcheck_curl http://$bind_host:$bind_port/controller/nb/v2/neutron diff --git a/releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml b/releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml new file mode 100644 index 000000000..bc9013dfc --- /dev/null +++ b/releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Modifies the healthcheck for OpenDaylight to a supported URL. See + https://bugs.launchpad.net/tripleo/+bug/1751857