Browse Source

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>
tags/9.0.0
Tim Rozet 1 year ago
parent
commit
9e72a429d1
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      healthcheck/opendaylight-api
  2. +5
    -0
      releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml

+ 1
- 1
healthcheck/opendaylight-api 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

+ 5
- 0
releasenotes/notes/change-odl-healthcheck-uri-84d6dea51b110772.yaml View File

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

Loading…
Cancel
Save