From a8f3ef1d7b9a2b75c6770e460cc6f8e74e253c7b Mon Sep 17 00:00:00 2001 From: Katie Gilligan Date: Mon, 13 Jul 2026 16:35:41 -0400 Subject: [PATCH 1/2] added sudo to bootstrap command --- ...pting-compute-services-to-the-data-plane.adoc | 16 ++++++++-------- ...ing-networker-services-to-the-data-plane.adoc | 6 +++--- .../proc_converting-object-storage-nodes.adoc | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc index 5b046c9cc..a0c63548f 100644 --- a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc @@ -530,25 +530,25 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - set -euxo pipefail + sudo 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 + sudo dnf -y install crypto-policies update-crypto-policies --set FIPS:NO-ENFORCE-EMS ./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 + sudo dnf -y upgrade openstack-selinux + sudo rm -f /run/virtlogd.pid + sudo rm -rf repo-setup-main endif::[] ifeval::["{build}" == "downstream"] edpm_bootstrap_command: | - set -euxo pipefail - dnf -y upgrade openstack-selinux - rm -f /run/virtlogd.pid + sudo set -euxo pipefail + sudo dnf -y upgrade openstack-selinux + sudo rm -f /run/virtlogd.pid endif::[] gather_facts: false diff --git a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc index 80e5cfada..c6909b9cf 100644 --- a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc @@ -235,17 +235,17 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - set -euxo pipefail + sudo 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 + sudo dnf -y install crypto-policies update-crypto-policies --set FIPS:NO-ENFORCE-EMS ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream - rm -rf repo-setup-main + sudo rm -rf repo-setup-main endif::[] gather_facts: false diff --git a/docs_user/modules/proc_converting-object-storage-nodes.adoc b/docs_user/modules/proc_converting-object-storage-nodes.adoc index 8dbf65cde..e7706af7f 100644 --- a/docs_user/modules/proc_converting-object-storage-nodes.adoc +++ b/docs_user/modules/proc_converting-object-storage-nodes.adoc @@ -193,19 +193,19 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - set -euxo pipefail + sudo 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 + sudo dnf -y install crypto-policies update-crypto-policies --set FIPS:NO-ENFORCE-EMS ./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 + sudo dnf -y upgrade openstack-selinux + sudo rm -f /run/virtlogd.pid + sudo rm -rf repo-setup-main endif::[] ifeval::["{build}" == "downstream"] rhc_release: 9.2 From 0e32cc4388fe69e0c8b9fad106faabcb522abd54 Mon Sep 17 00:00:00 2001 From: Katie Gilligan Date: Wed, 15 Jul 2026 11:17:11 -0400 Subject: [PATCH 2/2] incorporated sme feedback --- .../proc_adopting-compute-services-to-the-data-plane.adoc | 8 ++++---- ...roc_adopting-networker-services-to-the-data-plane.adoc | 6 +++--- .../modules/proc_converting-object-storage-nodes.adoc | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc index a0c63548f..6a24c0e19 100644 --- a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc @@ -530,7 +530,7 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - sudo set -euxo pipefail + 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 @@ -538,15 +538,15 @@ ifeval::["{build}" != "downstream"] # is not being served from a centos7 host, tracked by # https://issues.redhat.com/browse/RHOSZUUL-1517 sudo dnf -y install crypto-policies - update-crypto-policies --set FIPS:NO-ENFORCE-EMS - ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream + sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS + sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream sudo dnf -y upgrade openstack-selinux sudo rm -f /run/virtlogd.pid sudo rm -rf repo-setup-main endif::[] ifeval::["{build}" == "downstream"] edpm_bootstrap_command: | - sudo set -euxo pipefail + set -euxo pipefail sudo dnf -y upgrade openstack-selinux sudo rm -f /run/virtlogd.pid endif::[] diff --git a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc index c6909b9cf..11d45bdeb 100644 --- a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc @@ -235,7 +235,7 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - sudo set -euxo pipefail + 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 @@ -243,8 +243,8 @@ ifeval::["{build}" != "downstream"] # is not being served from a centos7 host, tracked by # https://issues.redhat.com/browse/RHOSZUUL-1517 sudo dnf -y install crypto-policies - update-crypto-policies --set FIPS:NO-ENFORCE-EMS - ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream + sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS + sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream sudo rm -rf repo-setup-main endif::[] diff --git a/docs_user/modules/proc_converting-object-storage-nodes.adoc b/docs_user/modules/proc_converting-object-storage-nodes.adoc index e7706af7f..2ce64cfc3 100644 --- a/docs_user/modules/proc_converting-object-storage-nodes.adoc +++ b/docs_user/modules/proc_converting-object-storage-nodes.adoc @@ -193,7 +193,7 @@ endif::[] ifeval::["{build}" != "downstream"] edpm_bootstrap_command: | # This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream - sudo set -euxo pipefail + 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 @@ -201,8 +201,8 @@ ifeval::["{build}" != "downstream"] # is not being served from a centos7 host, tracked by # https://issues.redhat.com/browse/RHOSZUUL-1517 sudo dnf -y install crypto-policies - update-crypto-policies --set FIPS:NO-ENFORCE-EMS - ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream + sudo update-crypto-policies --set FIPS:NO-ENFORCE-EMS + sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream sudo dnf -y upgrade openstack-selinux sudo rm -f /run/virtlogd.pid sudo rm -rf repo-setup-main