Fix bug 1818 to report correctly osm_unhealthy 77/11477/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 3 Dec 2021 10:37:40 +0000 (11:37 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 3 Dec 2021 10:39:14 +0000 (11:39 +0100)
Change-Id: I5ca8b030f9124a35325876a5e88752483f668f50
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index d22bc1a..3447de1 100755 (executable)
@@ -722,9 +722,9 @@ function install_osm() {
 
     echo -e "Checking OSM health state..."
     $OSM_DEVOPS/installers/osm_health.sh -s ${OSM_STACK_NAME} -k || \
-    echo -e "OSM is not healthy, but will probably converge to a healthy state soon." && \
+    (echo -e "OSM is not healthy, but will probably converge to a healthy state soon." && \
     echo -e "Check OSM status with: kubectl -n ${OSM_STACK_NAME} get all" && \
-    track healthchecks osm_unhealthy didnotconverge
+    track healthchecks osm_unhealthy didnotconverge)
     track healthchecks after_healthcheck_ok
 
     add_local_k8scluster