Skip to content

Commit

Permalink
Merge branch 'main' into test_create_barbican_secret
Browse files Browse the repository at this point in the history
  • Loading branch information
afaranha authored Jun 11, 2024
2 parents 0c78a8a + 1b7e142 commit 29f2ae4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
19 changes: 19 additions & 0 deletions tests/roles/dataplane_adoption/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@ edpm_computes: |-
# The variables inside edpm_network_config_template are evaluated based
# on the OpenstackDataplaneNodeSet inventory. For adding a variable to the invetory,
# please add it to OpenstackDataplaneNodeSet.nodeTemplate.ansibleVars

edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
# This is required for FIPS enabled until trunk.rdoproject.org
# is not being served from a centos7 host, tracked by
# https://issues.redhat.com/browse/RHOSZUUL-1517
dnf -y install crypto-policies
update-crypto-policies --set FIPS:NO-ENFORCE-EMS
# FIXME: perform dnf upgrade for other packages in EDPM ansible
# here we only ensuring that decontainerized libvirt can start
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
dnf -y upgrade openstack-selinux
rm -f /run/virtlogd.pid
rm -rf repo-setup-main
edpm_network_config_template: |
{%- raw %}
---
Expand Down
17 changes: 1 addition & 16 deletions tests/roles/dataplane_adoption/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,22 +261,7 @@
nova_libvirt_network: internalapi
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
# This is required for FIPS enabled until trunk.rdoproject.org
# is not being served from a centos7 host, tracked by
# https://issues.redhat.com/browse/RHOSZUUL-1517
dnf -y install crypto-policies
update-crypto-policies --set FIPS:NO-ENFORCE-EMS
# FIXME: perform dnf upgrade for other packages in EDPM ansible
# here we only ensuring that decontainerized libvirt can start
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
dnf -y upgrade openstack-selinux
rm -f /run/virtlogd.pid
rm -rf repo-setup-main
{{ edpm_bootstrap_command| indent(10) }}
# edpm_network_config
# nic config template for a EDPM compute node
Expand Down

0 comments on commit 29f2ae4

Please sign in to comment.