Skip to content

Commit 5037816

Browse files
committed
os_capacity: Add tags to playbook, update vault docs
Previously the first deployment of a system with a Vault CA for internal TLS and os_capacity enabled would fail when deploying HAProxy. os_capacity deployment requires admin-openrc.sh to exist, but because of the use of -kt haproxy the post-deploy tasks that create it will be skipped. This change fixes the issue by adding an os_capacity tag to the relevant plays, and updating the Vault docs to skip the new tag when deploying HAProxy.
1 parent eb1f88e commit 5037816

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/configuration/vault.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Setup HAProxy config for Vault
111111

112112
.. code-block::
113113
114-
kayobe overcloud service deploy -kt haproxy
114+
kayobe overcloud service deploy --skip-tags os_capacity -kt haproxy
115115
116116
Setup Vault HA on the overcloud hosts
117117
-------------------------------------

etc/kayobe/ansible/deploy-os-capacity-exporter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- name: Remove legacy os_exporter.cfg file
33
hosts: network
4+
tags: os_capacity
45
gather_facts: false
56
tasks:
67
- name: Ensure legacy os_exporter.cfg config file is deleted
@@ -11,6 +12,7 @@
1112

1213
- name: Deploy os-capacity exporter
1314
hosts: monitoring
15+
tags: os_capacity
1416
gather_facts: false
1517
tasks:
1618
- name: Create os-capacity directory

0 commit comments

Comments
 (0)