Skip to content

Commit c92795e

Browse files
committed
CI: Add Grafana and OpenSearch Dashboards variables for SOT
Depends-On: stackhpc/stackhpc-cloud-tests#3
1 parent f7b7b4e commit c92795e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

etc/kayobe/ansible/stackhpc-openstack-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,30 @@
6565
--timeout {{ sot_timeout }}
6666
-vv
6767
environment:
68+
GRAFANA_URL: "{{ sot_grafana_url }}"
69+
GRAFANA_USERNAME: "{{ sot_grafana_username }}"
70+
GRAFANA_PASSWORD: "{{ sot_grafana_password }}"
6871
OPENSEARCH_HOSTS: "{{ sot_opensearch_hosts }}"
6972
OPENSEARCH_PORT: "{{ sot_opensearch_port }}"
7073
OPENSEARCH_TLS: "{{ sot_opensearch_tls }}"
74+
OPENSEARCH_DASHBOARDS_URL: "{{ sot_opensearch_dashboards_url }}"
75+
OPENSEARCH_DASHBOARDS_USERNAME: "{{ sot_opensearch_dashboards_username }}"
76+
OPENSEARCH_DASHBOARDS_PASSWORD: "{{ sot_opensearch_dashboards_password }}"
7177
PROMETHEUS_URL: "{{ sot_prometheus_url }}"
7278
PROMETHEUS_USERNAME: "{{ sot_prometheus_username }}"
7379
PROMETHEUS_PASSWORD: "{{ sot_prometheus_password }}"
7480
vars:
7581
kolla_external_scheme: "{{ 'https' if kolla_enable_tls_external | bool else 'http' }}"
7682
kolla_internal_scheme: "{{ 'https' if kolla_enable_tls_internal | bool else 'http' }}"
83+
sot_grafana_url: "{{ kolla_external_scheme }}://{{ kolla_external_fqdn }}:3000"
84+
sot_grafana_username: "grafana_local_admin"
85+
sot_grafana_password: "{{ kolla_passwords.grafana_admin_password }}"
7786
sot_opensearch_hosts: "{{ kolla_internal_fqdn }}"
7887
sot_opensearch_port: 9200
7988
sot_opensearch_tls: false
89+
sot_opensearch_dashboards_url: "{{ kolla_external_scheme }}://{{ kolla_external_fqdn }}:5601"
90+
sot_opensearch_dashboards_username: "opensearch"
91+
sot_opensearch_dashboards_password: "{{ kolla_passwords.opensearch_dashboards_password }}"
8092
sot_prometheus_url: "{{ kolla_internal_scheme }}://{{ kolla_internal_fqdn }}:9091"
8193
sot_prometheus_username: "admin"
8294
sot_prometheus_password: "{{ kolla_passwords.prometheus_password }}"

0 commit comments

Comments
 (0)