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 504633ad6..b61d4769c 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 @@ -218,17 +218,9 @@ The resources in the `ConfigMap` contain cell-specific configurations. ifeval::["{build}" == "downstream"] . Create a secret for the subscription manager: + -[source,yaml] ---- -$ oc apply -f - < - password: -EOF +$ oc create secret generic subscription-manager \ +--from-literal rhc_auth='{"login": {"username": "", "password": ""}}' ---- + * Replace `` and `` with strings that are base64-encoded. @@ -259,6 +251,9 @@ spec: - ctlplane preProvisioned: true services: +ifeval::["{build}" == "downstream"] + - redhat +endif::[] - bootstrap - download-cache - configure-network @@ -301,13 +296,23 @@ spec: ansibleUser: root ifeval::["{build}" == "downstream"] ansibleVarsFrom: - - prefix: subscription_manager_ - secretRef: + - secretRef: name: subscription-manager - secretRef: name: redhat-registry endif::[] ansibleVars: +ifeval::["{build}" == "downstream"] + rhc_release: 9.2 + rhc_repositories: + - {name: "*", state: disabled} + - {name: "rhel-9-for-x86_64-baseos-eus-rpms", state: enabled} + - {name: "rhel-9-for-x86_64-appstream-eus-rpms", state: enabled} + - {name: "rhel-9-for-x86_64-highavailability-eus-rpms", state: enabled} + - {name: "openstack-17.1-for-rhel-9-x86_64-rpms", state: enabled} + - {name: "fast-datapath-for-rhel-9-x86_64-rpms", state: enabled} + - {name: "openstack-dev-preview-for-rhel-9-x86_64-rpms", state: enabled} +endif::[] edpm_bootstrap_release_version_package: [] # edpm_network_config # Default nic config template for a EDPM node @@ -394,10 +399,6 @@ ifeval::["{build}" != "downstream"] endif::[] ifeval::["{build}" == "downstream"] edpm_bootstrap_command: | - subscription-manager register --username {{ subscription_manager_username }} --password {{ subscription_manager_password }} - subscription-manager release --set=9.2 - subscription-manager repos --disable=* - subscription-manager repos --enable=rhel-9-for-x86_64-baseos-eus-rpms --enable=rhel-9-for-x86_64-appstream-eus-rpms --enable=rhel-9-for-x86_64-highavailability-eus-rpms --enable=openstack-17.1-for-rhel-9-x86_64-rpms --enable=fast-datapath-for-rhel-9-x86_64-rpms --enable=openstack-dev-preview-for-rhel-9-x86_64-rpms # FIXME: perform dnf upgrade for other packages in EDPM ansible # here we only ensuring that decontainerized libvirt can start dnf -y upgrade openstack-selinux @@ -437,6 +438,9 @@ external_ids : {hostname=standalone.localdomain, ovn-bridge=br-int, ovn-b $ oc patch osdpns/openstack --type=merge --patch " spec: services: +ifeval::["{build}" == "downstream"] + - redhat +endif::[] - bootstrap - download-cache - configure-network 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 9599cb0bc..c6899258b 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 @@ -46,6 +46,9 @@ spec: - ctlplane preProvisioned: true services: +ifeval::["{build}" == "downstream"] + - redhat +endif::[] - bootstrap - download-cache - configure-network @@ -83,13 +86,23 @@ spec: ansibleUser: root ifeval::["{build}" == "downstream"] ansibleVarsFrom: - - prefix: subscription_manager_ - secretRef: + - secretRef: name: subscription-manager - secretRef: name: redhat-registry endif::[] ansibleVars: +ifeval::["{build}" == "downstream"] + rhc_release: 9.2 + rhc_repositories: + - {name: "*", state: disabled} + - {name: "rhel-9-for-x86_64-baseos-eus-rpms", state: enabled} + - {name: "rhel-9-for-x86_64-appstream-eus-rpms", state: enabled} + - {name: "rhel-9-for-x86_64-highavailability-eus-rpms", state: enabled} + - {name: "openstack-17.1-for-rhel-9-x86_64-rpms", state: enabled} + - {name: "fast-datapath-for-rhel-9-x86_64-rpms", state: enabled} + - {name: "openstack-dev-preview-for-rhel-9-x86_64-rpms", state: enabled} +endif::[] edpm_bootstrap_release_version_package: [] # edpm_network_config # Default nic config template for a EDPM node @@ -173,13 +186,6 @@ ifeval::["{build}" != "downstream"] ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream rm -rf repo-setup-main endif::[] -ifeval::["{build}" == "downstream"] - edpm_bootstrap_command: | - subscription-manager register --username {{ subscription_manager_username }} --password {{ subscription_manager_password }} - subscription-manager release --set=9.2 - subscription-manager repos --disable=* - subscription-manager repos --enable=rhel-9-for-x86_64-baseos-eus-rpms --enable=rhel-9-for-x86_64-appstream-eus-rpms --enable=rhel-9-for-x86_64-highavailability-eus-rpms --enable=openstack-17.1-for-rhel-9-x86_64-rpms --enable=fast-datapath-for-rhel-9-x86_64-rpms --enable=openstack-dev-preview-for-rhel-9-x86_64-rpms -endif::[] gather_facts: false enable_debug: false