@@ -145,37 +145,28 @@ in your cloud. StackHPC Kayobe Config includes a playbook for manual
145
145
deployment, and it's necessary that some variables are set before
146
146
running this playbook.
147
147
148
- To successfully deploy OpenStack Capacity, you are required to specify
149
- the OpenStack application credentials in ``kayobe/secrets.yml `` as:
148
+ OpenStack Capacity is deployed automatically using a service deploy hook
149
+ with the generated kolla-ansible admin credentials, you can override these
150
+ by setting the authentication url, username, password, project name and
151
+ project domain name in ``kayobe/stackhpc-monitoring.yml ``:
150
152
151
153
.. code-block :: yaml
152
154
153
- secrets_os_capacity_auth_url : <some_auth_url>
154
- secrets_os_capacity_credential_id : <some_credential_id>
155
- secrets_os_capacity_credential_secret : <some_credential_secret>
155
+ os_capacity_auth_url : <keystone_auth_url>
156
+ os_capacity_username : <openstack_username>
157
+ os_capacity_password : <openstack_password_encrypted_with_vault>
158
+ os_capacity_project_name : <openstack_project_name>
159
+ os_capacity_domain_name : <openstack_project_domain_name>
156
160
157
- Additionally, you are required to enable a conditional flag to allow
158
- HAProxy configuration to be templated to controllers during deployment.
159
-
160
- .. code-block :: yaml
161
-
162
- stackhpc_enable_os_capacity : true
163
-
164
- After defining your credentials, You may deploy OpenStack Capacity
161
+ Additionally, you should ensure these credentials have the correct permissions
162
+ for the exporter. After defining your credentials, You may redeploy OpenStack Capacity
165
163
using the ``ansible/deploy-os-capacity-exporter.yml `` Ansible playbook
166
164
via Kayobe.
167
165
168
166
.. code-block :: console
169
167
170
168
kayobe playbook run ansible/deploy-os-capacity-exporter.yml
171
169
172
- It is required that you re-configure the Prometheus, Grafana and HAProxy
173
- services following deployment, to do this run the following Kayobe command.
174
-
175
- .. code-block :: console
176
-
177
- kayobe overcloud service reconfigure -kt grafana,prometheus,haproxy
178
-
179
170
If you notice ``HaproxyServerDown `` or ``HaproxyBackendDown `` prometheus
180
171
alerts after deployment it's likely the os_exporter secrets have not been
181
172
set correctly, double check you have entered the correct authentication
0 commit comments