Skip to content

Commit

Permalink
Merge pull request #453 from jistr/b/beta-fixes
Browse files Browse the repository at this point in the history
Docs fixes & improvements
  • Loading branch information
klgill authored May 10, 2024
2 parents 1fdf18b + aa611db commit 4968c50
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 19 deletions.
6 changes: 5 additions & 1 deletion docs_user/adoption-attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ifeval::["{build}" == "upstream"]
:OpenShiftShort: OCP
:rhos_curr_ver: Antelope
:rhos_prev_ver: Wallaby
:rhel_curr_ver: 9.4
:rhel_prev_ver: 9.2
:OpenStackPreviousInstaller: TripleO
:Ceph: Ceph
:CephCluster: Ceph Storage
Expand Down Expand Up @@ -74,6 +76,8 @@ ifeval::["{build}" == "downstream"]
:OpenStackShort: RHOSP
:rhos_curr_ver: 18.0
:rhos_prev_ver: 17.1
:rhel_curr_ver: 9.4
:rhel_prev_ver: 9.2
:OpenShift: Red Hat OpenShift Container Platform
:OpenShiftShort: RHOCP
:OpenStackPreviousInstaller: director
Expand Down Expand Up @@ -129,4 +133,4 @@ ifeval::["{build}" == "downstream"]

//Telemetry service
:telemetry: Telemetry service
endif::[]
endif::[]
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

Adopt your {rhos_prev_long} {rhos_prev_ver} control plane services to deploy them in the {rhos_long} {rhos_curr_ver} control plane.

include::../modules/proc_retrieving-services-topology-specific-configuration.adoc[leveloffset=+1]

include::../modules/proc_adopting-the-identity-service.adoc[leveloffset=+1]

include::../modules/proc_adopting-key-manager-service.adoc[leveloffset=+1]
Expand Down Expand Up @@ -38,4 +36,4 @@ include::../modules/proc_adopting-autoscaling.adoc[leveloffset=+1]

include::assembly_reviewing-the-openstack-control-plane-configuration.adoc[leveloffset=+1]

include::../modules/proc_rolling-back-the-control-plane-adoption.adoc[leveloffset=+1]
include::../modules/proc_rolling-back-the-control-plane-adoption.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

To begin creating the control plane, enable backend services and import the databases from your original {rhos_prev_long} {rhos_prev_ver} deployment.

include::../modules/proc_retrieving-topology-specific-service-configuration.adoc[leveloffset=+1]

include::../modules/proc_deploying-backend-services.adoc[leveloffset=+1]

include::../modules/proc_configuring-a-ceph-backend.adoc[leveloffset=+1]
Expand All @@ -16,4 +18,4 @@ include::../modules/proc_stopping-openstack-services.adoc[leveloffset=+1]

include::../modules/proc_migrating-databases-to-mariadb-instances.adoc[leveloffset=+1]

include::../modules/proc_migrating-ovn-data.adoc[leveloffset=+1]
include::../modules/proc_migrating-ovn-data.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,12 @@ PODIFIED_DB_ROOT_PASSWORD=$(oc get -o json secret/osp-secret | jq -r .data.DbRoo
CEPH_FSID=$(oc get secret ceph-conf-files -o json | jq -r '.data."ceph.conf"' | base64 -d | grep fsid | sed -e 's/fsid = //'
alias openstack="oc exec -t openstackclient -- openstack"
FIP=192.168.122.20
declare -A computes
export computes=(
["standalone.localdomain"]="192.168.122.100"
# ...
)
----
** Replace the value for `FIP` with the floating IP address of the test instance that you created on the source cloud.
** Replace `["standalone.localdomain"]="192.168.122.100"` with the name of the Compute node and its IP address.

.Procedure
Expand Down
6 changes: 3 additions & 3 deletions docs_user/modules/proc_adopting-the-compute-service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ must already be imported into the control plane MariaDB;
** the xref:adopting-the-networking-service_adopt-control-plane[Adopting the Networking service] needs to be imported;
** the {bare_metal} needs to be imported;
//kgilliga:I removed the link because it did not work. I might rewrite this section anyway.
** Required services specific topology
xref:proc_retrieving-services-topology-specific-configuration_adopt-control-plane[Retrieving services from a topology specific-configuration].
** Required topology-specific service configuration. For more information, see
xref:proc_retrieving-topology-specific-service-configuration_migrating-databases[Retrieving topology-specific service configuration].
** {rhos_prev_long} services have been stopped. For more information, see xref:stopping-openstack-services_migrating-databases[Stopping {rhos_prev_long} services].
* Define the following shell variables. The values that are used are examples. Replace these example values with values that are correct for your environment:
----
Expand Down Expand Up @@ -142,7 +142,7 @@ $ openstack endpoint list | grep nova
$ openstack server list
----

Compare the following outputs with the topology specific configuration in xref:proc_retrieving-services-topology-specific-configuration_adopt-control-plane[Retrieving services from a topology specific-configuration].
Compare the following outputs with the topology specific configuration in xref:proc_retrieving-topology-specific-service-configuration_migrating-databases[Retrieving topology-specific service configuration].

* Query the superconductor for cell1 existance and compare it to pre-adoption values:
+
Expand Down
5 changes: 2 additions & 3 deletions docs_user/modules/proc_deploying-backend-services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ In subsequent steps, you import the original databases and then add

* The cloud that you want to adopt is up and running, and it is on the
{OpenStackShort} {rhos_prev_ver} release.
* A VM instance named `test` is running on the source cloud and its
floating IP is set into `FIP` env var. You can use a helper script to create that test VM.
//xref:../docs_dev/assemblies/development_environment.adoc#virtual-machine-steps[helper script] kgilliga: Engineers, do we want this link here? It points to dev docs.
* All control plane and data plane hosts of the source cloud are up
and running, and continue to run throughout the adoption procedure.
* The `openstack-operator` is deployed, but `OpenStackControlPlane` is
not deployed.
ifeval::["{build}" != "downstream"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ here this time).
* Make sure the previous Adoption steps have been performed successfully.
** The `OpenStackControlPlane` resource must be already created.
** The control plane MariaDB and RabbitMQ are running. No other control plane services are running.
** Required services specific topology. For more information, see xref:proc_retrieving-services-topology-specific-configuration_adopt-control-plane[Retrieving services from a topology specific-configuration].
** Required services specific topology. For more information, see xref:proc_retrieving-topology-specific-service-configuration_migrating-databases[Retrieving topology-specific service configuration].
** {OpenStackShort} services have been stopped. For more information, see xref:stopping-openstack-services_{context}[Stopping {rhos_prev_long} services].
** There must be network routability between the original MariaDB and the MariaDB for the control plane.
* Define the following shell variables. The values that are used are examples. Replace these example values with values that are correct for your environment:
Expand Down Expand Up @@ -227,7 +227,7 @@ EOF
.Verification

Compare the following outputs with the topology specific configuration.
For more information, see xref:proc_retrieving-services-topology-specific-configuration_adopt-control-plane[Retrieving services from a topology specific-configuration].
For more information, see xref:proc_retrieving-topology-specific-service-configuration_migrating-databases[Retrieving topology-specific service configuration].

. Check that the databases were imported correctly:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,6 @@ ${BASH_ALIASES[openstack]} server list | grep -F '| test | ACTIVE |' && \
${BASH_ALIASES[openstack]} server --os-compute-api-version 2.48 show --diagnostics test --fit-width -f json | jq -r '.state' | grep running || echo FAIL
----

[NOTE]
After the data plane adoption, the hosts continue to run Red Hat Enterprise Linux (RHEL)
{rhel_prev_ver}. To take advantage of RHEL {rhel_curr_ver}, perform a minor update procedure after finishing the adoption procedure.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[id="proc_retrieving-services-topology-specific-configuration_{context}"]
[id="proc_retrieving-topology-specific-service-configuration_{context}"]

= Retrieving services from a topology specific-configuration
= Retrieving topology-specific service configuration

.Prerequisites

Expand Down
3 changes: 1 addition & 2 deletions docs_user/modules/proc_stopping-openstack-services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ openstack volume backup list --all-projects -c ID -c Status |grep -E '\| .+ing \
openstack share list --all-projects -c ID -c Status |grep -E '\| .+ing \|'| grep -vi error
openstack image list -c ID -c Status |grep -E '\| .+ing \|'
----
* Collect the services topology-specific configuration before stopping services required to gather it live. You need it to compare it with the post-adoption values later on. For more information, see xref:proc_retrieving-services-topology-specific-configuration_adopt-control-plane[Retrieving services from a topology specific-configuration].
//kgilliga: Question for Mathieu and Jiri: Should the "Retrieving services from a topology specific-configuration" module be moved to the beginning of the "Migrating databases to the control plane chapter?".
* Collect the services topology-specific configuration before stopping services required to gather it live. The topology-specific configuration is necessary for migrating the databases. For more information, see xref:proc_retrieving-topology-specific-service-configuration_migrating-databases[Retrieving topology-specific service configuration].
* Define the following shell variables. The values that are used are examples and refer to a single node standalone {OpenStackPreviousInstaller} deployment. Replace these example values with values that are correct for your environment:
+
[subs=+quotes]
Expand Down

0 comments on commit 4968c50

Please sign in to comment.