Skip to content

Commit c700e7b

Browse files
os_capacity verification flag
1 parent 978db2f commit c700e7b

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

doc/source/configuration/monitoring.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ HAProxy configuration to be templated to controllers during deployment.
161161
162162
stackhpc_enable_os_capacity: true
163163
164+
If you are deploying in a cloud with internal TLS, you may be required
165+
to disable certificate verification for the OpenStack Capacity exporter
166+
if your certificate is not signed by a trusted CA.
167+
168+
.. code-block:: yaml
169+
170+
stackhpc_os_capacity_openstack_verify: false
171+
164172
After defining your credentials, You may deploy OpenStack Capacity
165173
using the ``ansible/deploy-os-capacity-exporter.yml`` Ansible playbook
166174
via Kayobe.

etc/kayobe/ansible/templates/os_capacity-clouds.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ clouds:
88
interface: "internal"
99
identity_api_version: 3
1010
auth_type: "v3applicationcredential"
11-
{% if kolla_enable_tls_internal | bool %}
11+
{% if not stackhpc_os_capacity_openstack_verify | bool %}
1212
verify: False
1313
{% endif %}

etc/kayobe/stackhpc-monitoring.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ alertmanager_low_memory_threshold_gib: 5
1515
# Enabling this flag will result in HAProxy configuration and Prometheus scrape
1616
# targets being templated during deployment.
1717
stackhpc_enable_os_capacity: false
18+
19+
# Whether TLS certificate verification is enabled for the OpenStack Capacity
20+
# exporter during Keystone authentication.
21+
stackhpc_os_capacity_openstack_verify: true

releasenotes/notes/os-capacity-94006f03f16583e4.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ upgrade:
1515
'Monitoring' documentation.
1616
1717
You must also enable the ``stackhpc_enable_os_capacity``
18-
flag for OpenStack Capacity HAProxy configuration to be
19-
templated.
18+
flag for OpenStack Capacity HAProxy and Prometheus configuration
19+
to be templated.
20+
21+
To disable certificate verification for the OpenStack Capacity
22+
exporter, you can set ``stackhpc_os_capacity_openstack_verify``
23+
to false.

0 commit comments

Comments
 (0)