Check grafana's /login url for status code 200 instead of root url since the
latter does not return an http 200 code
Change-Id: Ide7da26c0e217a4a60ad3d2ac693d6f7ac7bb722
Closes-Bug: #1705911
Make data source creation more dynamic to support a variable number of data
source of different types
Only create data sources actually deployed by kolla
Change-Id: I26a2d3c71b178562b906623ab77eaff673c81dce
Sometimes the "Enable influxdb datasource" task failed with "503 Service
Unavailable" error. Waiting for grafana port UP seems not always enough,
it requires to wait for application ready.
Change-Id: I3a27b3086698b89a80a3f585beb810831289ae7a
Closes-Bug: #1697213
Recently added post_config for Grafana does some uri queries,
these can be problematic if run across every node.
Change-Id: I580212474879da18780fc5f66a21952a9e6f8daa
In order to automate Grafana configuration, this fix automatically
set the InfluxDB datasource. This avoid doing a annoying manual
configuration after Kolla-ansible deployment.
Change-Id: I2b1a63fd371966192f1df0a82cee4711c6324710