Skip to content

Commit cf7e6af

Browse files
Various capacity fixes
1 parent 1bf086a commit cf7e6af

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

doc/source/configuration/monitoring.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ via Kayobe.
175175

176176
.. code-block:: console
177177
178-
kayobe playbook run ansible/deploy-os-capacity-exporter.yml
178+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/deploy-os-capacity-exporter.yml
179179
180180
It is required that you re-configure the Prometheus, Grafana and HAProxy
181181
services following deployment, to do this run the following Kayobe command.
182182

183183
.. code-block:: console
184184
185-
kayobe overcloud service reconfigure -kt grafana,prometheus,haproxy
185+
kayobe overcloud service reconfigure -kt grafana,prometheus,loadbalancer
186186
187187
If you notice ``HaproxyServerDown`` or ``HaproxyBackendDown`` prometheus
188188
alerts after deployment it's likely the os_exporter secrets have not been

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
clouds:
22
openstack:
33
auth:
4-
auth_url: "{{ secrets_os_capacity_auth_url }}"
4+
auth_url: "{{ stackhpc_os_capacity_auth_url }}"
55
application_credential_id: "{{ secrets_os_capacity_credential_id }}"
66
application_credential_secret: "{{ secrets_os_capacity_credential_secret }}"
7-
region_name: "RegionOne"
7+
region_name: "{{ openstack_region_name }}"
88
interface: "internal"
99
identity_api_version: 3
1010
auth_type: "v3applicationcredential"

etc/kayobe/stackhpc-monitoring.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ alertmanager_low_memory_threshold_gib: 5
1616
# targets being templated during deployment.
1717
stackhpc_enable_os_capacity: false
1818

19+
# Keystone authentication URL for OpenStack Capacity
20+
stackhpc_os_capacity_auth_url: "{{ public_openrc_auth_url }}"
21+
22+
# OpenStack region for OpenStack Capacity
23+
stackhpc_os_capacity_openstack_region_name: "{{ openstack_region_name | default(RegionOne) }}"
24+
1925
# Whether TLS certificate verification is enabled for the OpenStack Capacity
2026
# exporter during Keystone authentication.
2127
stackhpc_os_capacity_openstack_verify: true

0 commit comments

Comments
 (0)