Skip to content

Commit 7e90554

Browse files
committed
Skip os_capacity when deploying HAProxy for Vault
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 skipping the os_capacity tag when deploying HAProxy.
1 parent 2876d42 commit 7e90554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/deploy-openstack.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH
7070
ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/seed-vault-keys.json
7171
ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/*.key
7272

73-
kayobe overcloud service deploy -kt haproxy
73+
# Skip os_capacity deployment since it requires admin-openrc.sh which doesn't exist yet.
74+
kayobe overcloud service deploy --skip-tags os_capacity -kt haproxy
7475

7576
# Deploy hashicorp vault to the controllers
7677
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-deploy-overcloud.yml

0 commit comments

Comments
 (0)