File tree Expand file tree Collapse file tree 5 files changed +29
-6
lines changed
kolla/config/haproxy/services.d Expand file tree Collapse file tree 5 files changed +29
-6
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,13 @@ the OpenStack application credentials in ``kayobe/secrets.yml`` as:
153
153
secrets_os_exporter_credential_id : <some_credential_id>
154
154
secrets_os_exporter_credential_secret : <some_credential_secret>
155
155
156
+ Additionally, you are required to enable a conditonal flag to allow
157
+ HAProxy configuration to be templated to controllers during deployment.
158
+
159
+ .. code-block :: yaml
160
+
161
+ stackhpc_enable_os_capacity : true
162
+
156
163
After defining your credentials, You may deploy OpenStack Capacity
157
164
using the ``ansible/deploy-os-capacity-exporter.yml `` Ansible playbook
158
165
via Kayobe.
Original file line number Diff line number Diff line change 1
1
clouds:
2
2
openstack:
3
3
auth:
4
- auth_url: "{{ secrets_os_exporter_auth_url }}"
5
- application_credential_id: "{{ secrets_os_exporter_credential_id }}"
6
- application_credential_secret: "{{ secrets_os_exporter_credential_secret }}"
4
+ auth_url: "{{ secrets_os_capacity_auth_url }}"
5
+ application_credential_id: "{{ secrets_os_capcaity_credential_id }}"
6
+ application_credential_secret: "{{ secrets_os_capacity_credential_secret }}"
7
7
region_name: "RegionOne"
8
8
interface: "internal"
9
9
identity_api_version: 3
Original file line number Diff line number Diff line change
1
+ {% if stackhpc_enable_os_capacity | bool %}
1
2
{% raw %}
2
3
frontend os_capacity_frontend
3
4
mode http
@@ -17,3 +18,4 @@ backend os_capacity_backend
17
18
server {{ host_name }} {{ host_ip }}:9000 check inter 2000 rise 2 fall 5
18
19
{% endfor %}
19
20
{% endraw %}
21
+ {% endif %}
Original file line number Diff line number Diff line change 9
9
alertmanager_low_memory_threshold_gib : 5
10
10
11
11
# ##############################################################################
12
+
13
+ # ##############################################################################
14
+ # Exporter configuration
15
+
16
+ # Whether the OpenStack Capacity exporter is enabled.
17
+ # Enabling this flag will result in HAProxy configuration being templated during
18
+ # deployment.
19
+ stackhpc_enable_os_capacity : false
20
+
21
+ # ##############################################################################
Original file line number Diff line number Diff line change @@ -9,7 +9,11 @@ upgrade:
9
9
- |
10
10
To deploy the OpenStack Capacity Grafana dashboard, you must
11
11
define OpenStack application credential variables:
12
- ``secrets_os_exporter_auth_url ``,
13
- ``secrets_os_exporter_credential_id `` and
14
- ``secrets_os_exporter_credential_secret `` as laid out in the
12
+ ``secrets_os_capacity_auth_url ``,
13
+ ``secrets_os_capacity_credential_id `` and
14
+ ``secrets_os_capacity_credential_secret `` as laid out in the
15
15
'Monitoring' documentation.
16
+
17
+ You must also enable the ``stackhpc_enable_os_capacity``
18
+ flag for OpenStack Capacity HAProxy configuration to be
19
+ templated.
You can’t perform that action at this time.
0 commit comments