Skip to content

Ci multinode ca choice #1740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: stackhpc/2025.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/stackhpc-multinode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ name: Multinode
options:
- ovn
- ovs
secret_store:
description: Secret store to use as Certificate Authority
type: choice
default: openbao
options:
- openbao
- vault
upgrade:
description: Whether to perform an upgrade
default: none
Expand Down Expand Up @@ -56,13 +63,14 @@ name: Multinode
jobs:
multinode:
name: Multinode
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/multinode.yml@1.4.0
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/multinode.yml@ca-choice
with:
multinode_name: ${{ inputs.multinode_name }}
os_distribution: ${{ inputs.os_distribution }}
os_release: ${{ inputs.os_distribution == 'rocky' && '9' || 'noble' }}
ssh_username: ${{ inputs.os_distribution == 'rocky' && 'cloud-user' || 'ubuntu' }}
neutron_plugin: ${{ inputs.neutron_plugin }}
secret_store: ${{ inputs.secret_store }}
upgrade: ${{ inputs.upgrade }}
break_on: ${{ inputs.break_on }}
# Workaround loss of number type using fromJSON: https://github.com/orgs/community/discussions/67182
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
# Path to a CA certificate file to trust in the OpenStack Capacity exporter.
stackhpc_os_capacity_openstack_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/openbao.crt"
stackhpc_os_capacity_openstack_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/{{ openbao.crt if stackhpc_enable_openbao else vault.crt }}"
2 changes: 1 addition & 1 deletion etc/kayobe/environments/ci-multinode/tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
rally_no_sensitive_log: false

# Add the Vault CA certificate to the rally container when running tempest.
tempest_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/openbao.crt"
tempest_cacert: "{{ kayobe_env_config_path }}/kolla/certificates/ca/{{ openbao.crt if stackhpc_enable_openbao else vault.crt }}"
7 changes: 7 additions & 0 deletions etc/kayobe/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,10 @@ download_amphora_from_ark: true

# Octavia Amphora image version
stackhpc_amphora_image_version: "2025.1-20250619T113933"

################################################################################
# Certificate Authority

# Whether or not OpenBao is used as Certificate Authority. Default is true.
# If set to false, Hashicorp Vault is used instead.
stackhpc_enable_openbao: true
Loading