-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply required ospdo changes to adoption docs #855
Apply required ospdo changes to adoption docs #855
Conversation
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
18be40f
to
bb37598
Compare
docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see inline
docs_user/modules/proc_migrating-databases-to-mariadb-instances.adoc
Outdated
Show resolved
Hide resolved
docs_user/modules/proc_migrating-databases-to-mariadb-instances.adoc
Outdated
Show resolved
Hide resolved
@@ -20,23 +20,23 @@ $ oc project openstack | |||
. Define the common environment variables: | |||
+ | |||
---- | |||
export PASSWORD_FILE="tripleo-passwords.yaml" | |||
$ export PASSWORD_FILE="tripleo-passwords.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on the call please separate formatting refactorings from factual changes into different PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go over and remove any "cosmetic" chanegs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A general comment on the docs: The ospdo adoption preview is not rendering properly. I noticed the following variables in many of the modules again:
:leveloffset: 2
:leveloffset: +1
I think these ^ are causing the formatting issues. Please remove these variables.
@@ -29,7 +29,7 @@ The following {compute_service_first_ref} features are Technology Previews: | |||
* AMD SEV | |||
* Direct download from Rados Block Device (RBD) | |||
* File-backed memory | |||
* `Provider.yaml` | |||
** Multiple data plane node sets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the "Multiple data plane node sets" bullet supposed to be placed under the Compute features?
I also don't think it's supposed to be a sub-bullet of "File-backed memory", so I removed one asterisk.
** Multiple data plane node sets | |
* Multiple data plane node sets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this limitation only apply to both ospdo and regular adoption?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure TBH, that filename seems like a typo, since this PR is for crucial changes only , I'm removing this change
@@ -9,6 +9,9 @@ Familiarize yourself with the steps of the adoption process and the optional pos | |||
. xref:migrating-tls-everywhere_configuring-network[Migrate TLS everywhere (TLS-e) to the Red Hat OpenStack Services on OpenShift (RHOSO) deployment]. | |||
. xref:migrating-databases-to-the-control-plane_configuring-network[Migrate your existing databases to the new control plane]. | |||
. xref:adopting-openstack-control-plane-services_configuring-network[Adopt your Red Hat OpenStack Platform 17.1 control plane services to the new RHOSO 18.0 deployment]. | |||
ifeval::["{build_variant}" == "ospdo"] | |||
. xref:ospdo_scale_down_pre_database_adoption_configuring-network[Scaling down director Operator resources]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. xref:ospdo_scale_down_pre_database_adoption_configuring-network[Scaling down director Operator resources]. | |
. xref:ospdo-scale-down-pre-database-adoption_configuring-network[Scaling down director Operator resources]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@@ -3,6 +3,10 @@ | |||
= Comparing configuration files between deployments | |||
|
|||
To help you manage the configuration for your {OpenStackPreviousInstaller} and {rhos_prev_long} ({OpenStackShort}) services, you can compare the configuration files between your {OpenStackPreviousInstaller} deployment and the {rhos_long} cloud by using the os-diff tool. | |||
ifeval::["{build_variant}" == "ospdo"] | |||
[NOTE] | |||
At this time Os-diff does not support director Operator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this time Os-diff does not support director Operator. | |
Os-diff does not currently support director Operator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@@ -55,6 +55,11 @@ EOF | |||
If you backed up your {rhos_prev_long} ({OpenStackShort}) services configuration file from the original environment, you can compare it with the confgiuration file that you adopted and ensure that the configuration is correct. | |||
For more information, see xref:pulling-configuration-from-tripleo-deployment_adopt-control-plane[Pulling the configuration from a {OpenStackPreviousInstaller} deployment]. | |||
ifeval::["{build_variant}" == "ospdo"] | |||
[NOTE] | |||
At this time Os-diff does not support director Operator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this time Os-diff does not support director Operator. | |
Os-diff does not currently support director Operator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
$ oc adm uncordon $OSP18_NODE1 | ||
$ oc adm uncordon $OSP18_NODE2 | ||
---- | ||
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ifeval::["{build_variant}" != "ospdo"] | ||
for i in {1..3}; do | ||
SSH_CMD=CONTROLLER${i}_SSH | ||
endif::[] | ||
ifeval::["{build_variant}" == "ospdo"] | ||
SSH_CMD=CONTROLLER_SSH | ||
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ifeval::["{build_variant}" != "ospdo"] | |
for i in {1..3}; do | |
SSH_CMD=CONTROLLER${i}_SSH | |
endif::[] | |
ifeval::["{build_variant}" == "ospdo"] | |
SSH_CMD=CONTROLLER_SSH | |
endif::[] | |
ifeval::["{build_variant}" != "ospdo"] | |
for i in {1..3}; do | |
SSH_CMD=CONTROLLER${i}_SSH | |
endif::[] | |
ifeval::["{build_variant}" == "ospdo"] | |
SSH_CMD=CONTROLLER_SSH | |
endif::[] |
The ifeval statements are rendering in the preview. Removing the extra spaces should fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ifeval::["{build_variant}" != "ospdo"] | ||
done | ||
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] | |
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ifeval::["{build_variant}" != "ospdo"] | ||
done | ||
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] | |
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ifeval::["{build_variant}" != "ospdo"] | ||
done | ||
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] | |
ifeval::["{build_variant}" != "ospdo"] | |
done | |
endif::[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
67c4201
to
ac1dd42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the indentation issue and Katie's comments, the patch LGTM.
${!SSH_CMD} sudo systemctl stop $service | ||
fi | ||
ifeval::["{build_variant}" != "ospdo"] | ||
for i in {1..3}; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still breaks indentation of the code example. See the indentation on what you're removing vs on what you're adding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ac1dd42
to
3176475
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c17ec7b4e7d64549865dd564079e3cfe ✔️ noop SUCCESS in 0s |
3176475
to
0c79371
Compare
if [ ! -z "${!SSH_CMD}" ]; then | ||
echo "Stopping the $service in controller $i" | ||
if ${!SSH_CMD} sudo systemctl is-active $service; then | ||
${!SSH_CMD} sudo systemctl stop $service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still un-indents things for the default guide. Let's please keep the original indentation, it will also make the diff cleaner like in the other places where we do similar edits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok updated that to indent correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's fixed... If it was, the lines of diff would disappear. The outermost if
line is indented by 4 spaces but it was previously indented by 8 spaces and i think we should keep that, to make it appear correct in the for
cycle.
See how you did it in proc_migrating-ovn-data.adoc
, i think there it is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i look at the docs preview for this PR, this is how it renders:
echo "Stopping systemd OpenStack services"
for service in ${ServicesToStop[*]}; do
for i in {1..3}; do
SSH_CMD=CONTROLLER${i}_SSH
if [ ! -z "${!SSH_CMD}" ]; then
echo "Stopping the $service in controller $i"
if ${!SSH_CMD} sudo systemctl is-active $service; then
${!SSH_CMD} sudo systemctl stop $service
fi
fi
done
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0c79371
to
d38e7c2
Compare
@@ -26,6 +26,11 @@ $ STORAGE_CLASS=local-storage | |||
$ MARIADB_IMAGE=registry.redhat.io/rhoso/openstack-mariadb-rhel9:18.0 | |||
endif::[] | |||
|
|||
ifeval::["{build_variant}" == "ospdo"] | |||
$ MARIADB_CLIENT_ANNOTATIONS='[{"name": internalapi-static, "ips": ["10.2.120.9/24"]}]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align MARIADB_CLIENT_ANNOTATIONS in tests and docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pinikomarov I just have 2 very minor formatting changes for you to implement. Otherwise, this LGTM.
$ $CONTROLLER_SSH ip a s enp4s0 | ||
** Select the non /32 IP address | ||
---- | ||
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
$OS_CLIENT cat /home/cloud-admin/.ssh/id_rsa.pub > temp/ssh.pub | ||
echo "SSH private and public keys saved in temp/ssh.private and temp/ssh.pub" | ||
---- | ||
. Get the OVN configuration from each Compute node role, `OpenStackBaremetalSet`. This configuration is used later to build the `OpenStackDataPlaneNodeSet`(s). Repeat the following step for each `OpenStackBaremetalSet `: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
. Get the OVN configuration from each Compute node role, `OpenStackBaremetalSet`. This configuration is used later to build the `OpenStackDataPlaneNodeSet`(s). Repeat the following step for each `OpenStackBaremetalSet `: | |
. Get the OVN configuration from each Compute node role, `OpenStackBaremetalSet`. This configuration is used later to build the `OpenStackDataPlaneNodeSet`(s). Repeat the following step for each `OpenStackBaremetalSet`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
a07863f
to
853f6fc
Compare
853f6fc
to
09f90d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@jistr seems it needs approved label ? |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@pinikomarov I just added the approved label, since all reviewers have given their blessings. |
3c6bf64
into
openstack-k8s-operators:main
Jira: https://issues.redhat.com/browse/OSPRH-14644