-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docs rendering for OSPdO adoption
JIRA: #780
- Loading branch information
1 parent
f9fa9bd
commit c247a16
Showing
8 changed files
with
28 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,7 @@ Before you migrate your databases to the {rhos_long} control plane, retrieve the | |
|
||
* Define the following shell variables. Replace the example values with values that are correct for your environment: | ||
+ | ||
---- | ||
ifeval::["{OpenStackPreviousInstaller}" != "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
ifeval::["{build}" != "downstream"] | ||
CONTROLLER1_SSH="ssh -i ~/install_yamls/out/edpm/ansibleee-ssh-key-id_rsa [email protected]" | ||
MARIADB_IMAGE=quay.io/podified-antelope-centos9/openstack-mariadb:current-podified | ||
|
@@ -46,13 +45,13 @@ $ sudo grep -rI 'listen mysql' -A10 /var/lib/config-data/puppet-generated/ | gre | |
ifeval::["{OpenStackPreviousInstaller}" != "director_operator"] | ||
export PULL_OPENSTACK_CONFIGURATION_DATABASES=$(oc run mariadb-client ${MARIADB_CLIENT_ANNOTATIONS} -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
ifeval::["{OpenStackPreviousInstaller}" == "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
export PULL_OPENSTACK_CONFIGURATION_DATABASES=$(oc run mariadb-client --overrides="$RUN_OVERRIDES" -n $OSPDO_NAMESPACE -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
mysql -rsh "$SOURCE_MARIADB_IP" -uroot -p"$SOURCE_DB_ROOT_PASSWORD" -e 'SHOW databases;') | ||
echo "$PULL_OPENSTACK_CONFIGURATION_DATABASES" | ||
---- | ||
ifeval::["{OpenStackPreviousInstaller}" == "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
---- | ||
export CONTROLLER1_SSH="oc -n $OSPDO_NAMESPACE rsh -c openstackclient openstackclient ssh controller-0.ctlplane" | ||
---- | ||
|
@@ -128,7 +127,7 @@ The `nova`, `nova_api`, and `nova_cell0` databases are included in the same data | |
ifeval::["{OpenStackPreviousInstaller}" != "director_operator"] | ||
export PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK=$(oc run mariadb-client ${MARIADB_CLIENT_ANNOTATIONS} -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
ifeval::["{OpenStackPreviousInstaller}" == "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
export PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK=$(oc run mariadb-client --overrides="$RUN_OVERRIDES" -n $OSPDO_NAMESPACE -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
mysqlcheck --all-databases -h $SOURCE_MARIADB_IP -u root -p"$SOURCE_DB_ROOT_PASSWORD" | grep -v OK) | ||
|
@@ -141,7 +140,7 @@ echo "$PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK" | |
ifeval::["{OpenStackPreviousInstaller}" != "director_operator"] | ||
export PULL_OPENSTACK_CONFIGURATION_NOVADB_MAPPED_CELLS=$(oc run mariadb-client ${MARIADB_CLIENT_ANNOTATIONS} -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
ifeval::["{OpenStackPreviousInstaller}" == "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
export PULL_OPENSTACK_CONFIGURATION_NOVADB_MAPPED_CELLS=$(oc run mariadb-client --overrides="$RUN_OVERRIDES" -n $OSPDO_NAMESPACE -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
mysql -rsh "${SOURCE_MARIADB_IP}" -uroot -p"${SOURCE_DB_ROOT_PASSWORD}" nova_api -e \ | ||
|
@@ -155,7 +154,7 @@ echo "$PULL_OPENSTACK_CONFIGURATION_NOVADB_MAPPED_CELLS" | |
ifeval::["{OpenStackPreviousInstaller}" != "director_operator"] | ||
export PULL_OPENSTACK_CONFIGURATION_NOVA_COMPUTE_HOSTNAMES=$(oc run mariadb-client ${MARIADB_CLIENT_ANNOTATIONS} -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
ifeval::["{OpenStackPreviousInstaller}" == "director_operator"] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
export PULL_OPENSTACK_CONFIGURATION_NOVA_COMPUTE_HOSTNAMES=$(oc run mariadb-client --overrides="$RUN_OVERRIDES" -n $OSPDO_NAMESPACE -q --image ${MARIADB_IMAGE} -i --rm --restart=Never -- \ | ||
endif::[] | ||
mysql -rsh "$SOURCE_MARIADB_IP" -uroot -p"$SOURCE_DB_ROOT_PASSWORD" nova_api -e \ | ||
|