Fix bug 1819 to report correctly osm_unhealthy
[osm/devops.git] / 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