Add workaround to not fail on horizon login test.
Change-Id: I6f51918baad77f7ce31528777f52a0875969e6b4
Related-Prod: PROD-19810 (PROD:19810)
diff --git a/classes/cluster/virtual-mcp11-aio/openstack/init.yml b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
index d33913b..02a5cd5 100755
--- a/classes/cluster/virtual-mcp11-aio/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-aio/openstack/init.yml
@@ -280,3 +280,11 @@
port: ${_param:openstack_rabbitmq_port}
ssl:
enabled: ${_param:rabbitmq_ssl_enabled}
+ linux:
+ system:
+ job:
+ periodically_get_horizon_home_page:
+ command: "MAX_TIME=60 ; SLEEP_TIME=15 ; COUNT=$((MAX_TIME/SLEEP_TIME)) ; for i in `seq 1 $COUNT`; do timeout $SLEEP_TIME sh -c \" curl -fsL --insecure --connect-timeout $SLEEP_TIME --max-time $SLEEP_TIME ${_param:cluster_public_protocol}://${_param:single_address}:8078 -o /dev/null ; sleep $SLEEP_TIME \" ; done"
+ enabled: true
+ user: root
+ minute: '*'