Skip to content

OSDOCS-12690: Add OADP to ROSA docs#86003

Merged
mburke5678 merged 1 commit intoopenshift:mainfrom
bhardesty:osdocs-12690-oadp-rosa
Jan 10, 2025
Merged

OSDOCS-12690: Add OADP to ROSA docs#86003
mburke5678 merged 1 commit intoopenshift:mainfrom
bhardesty:osdocs-12690-oadp-rosa

Conversation

@bhardesty
Copy link
Contributor

@bhardesty bhardesty commented Dec 9, 2024

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 9, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 9, 2024

@bhardesty: This pull request references OSDOCS-12690 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

Details

In response to this:

This PR adds the OADP content from OCP to ROSA Classic and ROSA HCP. There is no new content.

Version(s):

  • enterprise-4.17+

Issue:
https://issues.redhat.com/browse/OSDOCS-12690

Link to docs preview:

  • OCP:
  • ROSA Classic:
  • ROSA HCP:

QE review:

  • QE has approved this change.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 9, 2024
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Dec 9, 2024

🤖 Tue Jan 07 23:09:50 - Prow CI generated the docs preview:
https://86003--ocpdocs-pr.netlify.app
Complete list of updated preview URLs: artifacts/updated_preview_urls.txt

@bhardesty bhardesty force-pushed the osdocs-12690-oadp-rosa branch 4 times, most recently from 449fc6d to 83843f6 Compare December 10, 2024 17:14
During the restore operation, the {ocp} controller updates the `spec.template.spec.containers[0].image` field in the `Deployment` resource with an updated `ImageStreamTag` hash. The update triggers the rollout of a new pod, terminating the pod on which `velero` runs the FSB along with the post-hook.
// TODO: Include this xref when the Images book is added to ROSA HCP.
ifndef::openshift-rosa-hcp[]
For more information about image stream trigger, see xref:../../../openshift_images/triggering-updates-on-imagestream-changes.adoc#triggering-updates-on-imagestream-changes[Triggering updates on image stream changes].
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] OpenShiftAsciiDoc.NoXrefInModules: Do not include xrefs in modules, only assemblies.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 10, 2024

@bhardesty: This pull request references OSDOCS-12690 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

Details

In response to this:

This PR adds the OADP content from OCP to ROSA Classic and ROSA HCP. There is no new content.

Version(s):

  • enterprise-4.17+

Issue:
https://issues.redhat.com/browse/OSDOCS-12690

Link to docs preview:

QE review:

  • QE has approved this change.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@bhardesty
Copy link
Contributor Author

@anarnold97 @weshayutin I've added what I believe is the relevant OADP content from the OCP docs to the ROSA docs. It should now all be reused properly, with single-sourcing. Let me know what you think. I'd suggest just focusing on the doc previews to see what the OADP content looks like in the ROSA docs.

@anarnold97
Copy link
Contributor

@bhardesty - thanks for the hard work. i will do a read-through tomorrow. slainte

@weshayutin
Copy link

weshayutin commented Dec 19, 2024

See: https://86003--ocpdocs-pr.netlify.app/openshift-rosa/latest/backup_and_restore/application_backup_and_restore/oadp-rosa/oadp-rosa-backing-up-applications#installing-oadp-rosa-sts_oadp-rosa-backing-up-applications

We had a bug come in for OADP 1.4.2
Essentially filesystembackup will fail if the secret is configured w/

$ cat <<EOF > ${SCRATCH}/credentials
  [default]
  role_arn = ${ROLE_ARN}
  web_identity_token_file = /var/run/secrets/openshift/serviceaccount/token
EOF

@anarnold97 @bhardesty we'll need to update to

$ cat <<EOF > ${SCRATCH}/credentials
  [default]
  role_arn = ${ROLE_ARN}
  web_identity_token_file = /var/run/secrets/openshift/serviceaccount/token
  region = <aws_region> # e.g. us-west-2
EOF

For details please see: https://issues.redhat.com/browse/OADP-5354
Thank you both

@weshayutin
Copy link

This is an OADP-1.2.x spec, no longer supported

  spec:
    backupImages: true 
    features:
      dataMover:
        enable: false

latest good DPA examples can be found here: https://docs.openshift.com/container-platform/4.17/backup_and_restore/application_backup_and_restore/installing/installing-oadp-aws.html#oadp-installing-dpa_installing-oadp-aws

@weshayutin
Copy link

Everything else looks very nicely streamlined for ROSA.. well done!

@anarnold97
Copy link
Contributor

@bhardesty - are you ok to make the changes or do you want to push to merge and then have me to make them?

Thanks

@bhardesty
Copy link
Contributor Author

@anarnold97 I made the first change (adding the AWS region). I'm not entirely sure how the supported OADP spec should look in step 6, so I'll leave that to you.

@bhardesty bhardesty force-pushed the osdocs-12690-oadp-rosa branch from 83843f6 to 1930e14 Compare January 7, 2025 22:47
@openshift-ci
Copy link

openshift-ci bot commented Jan 7, 2025

@bhardesty: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bhardesty
Copy link
Contributor Author

/label peer-review-needed

@openshift-ci openshift-ci bot added the peer-review-needed Signifies that the peer review team needs to review this PR label Jan 8, 2025
@mburke5678 mburke5678 added peer-review-in-progress Signifies that the peer review team is reviewing this PR peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR peer-review-needed Signifies that the peer review team needs to review this PR labels Jan 9, 2025
@mburke5678
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 9, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 10, 2025

@bhardesty: This pull request references OSDOCS-12690 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

Details

In response to this:

This PR adds the OADP content from OCP to ROSA Classic and ROSA HCP. There is no new content.

Version(s):

  • enterprise-4.17+

Issue:
https://issues.redhat.com/browse/OSDOCS-12690

Link to docs preview:

QE review:

  • N/A

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@bhardesty
Copy link
Contributor Author

/label merge-review-needed

@openshift-ci openshift-ci bot added the merge-review-needed Signifies that the merge review team needs to review this PR label Jan 10, 2025
@mburke5678 mburke5678 merged commit 770c92a into openshift:main Jan 10, 2025
2 checks passed
@mburke5678
Copy link
Contributor

/cherrypick enterprise-4.17

@mburke5678
Copy link
Contributor

/cherrypick enterprise-4.18

@openshift-cherrypick-robot

@mburke5678: #86003 failed to apply on top of branch "enterprise-4.17":

Applying: OSDOCS-12690: Add OADP to ROSA docs
.git/rebase-apply/patch:492: trailing whitespace.
During the restore operation, the {ocp} controller updates the `spec.template.spec.containers[0].image` field in the `Deployment` resource with an updated `ImageStreamTag` hash. The update triggers the rollout of a new pod, terminating the pod on which `velero` runs the FSB along with the post-hook. 
warning: 1 line adds whitespace errors.
Using index info to reconstruct a base tree...
M	_topic_maps/_topic_map_rosa.yml
M	backup_and_restore/application_backup_and_restore/oadp-features-plugins.adoc
M	welcome/about-hcp.adoc
Falling back to patching base and 3-way merge...
Auto-merging welcome/about-hcp.adoc
CONFLICT (content): Merge conflict in welcome/about-hcp.adoc
Removing rosa_backing_up_and_restoring_applications/snippets
Removing rosa_backing_up_and_restoring_applications/modules
Removing rosa_backing_up_and_restoring_applications/images
Removing rosa_backing_up_and_restoring_applications/backing-up-applications.adoc
Removing rosa_backing_up_and_restoring_applications/_attributes
Auto-merging backup_and_restore/application_backup_and_restore/oadp-features-plugins.adoc
Auto-merging _topic_maps/_topic_map_rosa.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 OSDOCS-12690: Add OADP to ROSA docs

Details

In response to this:

/cherrypick enterprise-4.17

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

@mburke5678: new pull request created: #86928

Details

In response to this:

/cherrypick enterprise-4.18

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. merge-review-needed Signifies that the merge review team needs to review this PR peer-review-done Signifies that the peer review team has reviewed this PR size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants