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 <trozet@redhat.com>
This commit is contained in:
Tim Rozet 2018-04-11 15:47:18 -04:00
parent f3109feb53
commit 9e72a429d1
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Modifies the healthcheck for OpenDaylight to a supported URL. See
https://bugs.launchpad.net/tripleo/+bug/1751857