-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
OADP - 2041 Timeouts #62805
OADP - 2041 Timeouts #62805
Conversation
🤖 Updated build preview is available at: Build log: https://circleci.com/gh/ocpdocs-previewbot/openshift-docs/21566 |
0598611
to
36e7937
Compare
/lgtm |
Thank you @CarmiWisemon! |
@CarmiWisemon
|
There is also the timeout:
Which is the equivalent of the same one you added for restore, please add it as well. |
36e7937
to
144f3b5
Compare
New changes are detected. LGTM label has been removed. |
Thanks @CarmiWisemon |
@CarmiWisemon |
dc667ee
to
03db427
Compare
90c8436
to
aa132ae
Compare
54cd0a3
to
881281c
Compare
@kalexand-rh @mburke5678 @dfitzmau @sheriff-rh |
/label merge-review-needed |
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.
The deadline for this PR is Wed. August 9th. I appreciate your help to get this published in time.
@CarmiWisemon Due to the publishing deadline and because the PR does build fine, I am going to go ahead and merge, but I would ask that you please consider my review comments for a follow-up PR to address some remaining style guide issues. Thank you!
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc | ||
|
||
:_content-type: PROCEDURE | ||
[id="CSIsnapshot-timeout_{context}"] |
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.
IDs should be all lowercase per repo guidelines.
I see most of the other IDs in this PR have some uppercases in them, so please address throughout.
Ensure that you balance timeout extensions in a logical manner so that you do not configure excessively long timeouts that might hide underlying issues in the process. Carefully consider and monitor an appropriate timeout value that meets the needs of the process and the overall system performance. | ||
|
||
The following are various OADP timeouts, with instructions of how and when to implement these parameters: | ||
//// |
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.
It looks like you've commented out the sections here that were broken out into separate modules. If this is now duplicated content that is represented by the other modules, please clean up / remove the content between the ////
s.
|
||
* Only with Data Mover 1.2.x. | ||
* To specify the amount of time a particular backup or restore should wait for the Asynchronous actions to complete. In the context of OADP features, this value is used for the Asynchronous actions involved in the Container Storage Interface (CSI) Data Mover feature. | ||
* When `defaultItemOperationTimeout` is defined in the Data Protection Application (DPA) using the `defaultItemOperationTimeout`, it applies to both backup and restore operations. You can use `itemOperationTimeout` to define only the backup or only the restore of those CRs, as described in the following *Item operation timeout - restore*, and *Item operation timeout - backup* sections. |
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.
Use double-quotes for referencing section titles when you can't link to them:
* When `defaultItemOperationTimeout` is defined in the Data Protection Application (DPA) using the `defaultItemOperationTimeout`, it applies to both backup and restore operations. You can use `itemOperationTimeout` to define only the backup or only the restore of those CRs, as described in the following *Item operation timeout - restore*, and *Item operation timeout - backup* sections. | |
* When `defaultItemOperationTimeout` is defined in the Data Protection Application (DPA) using the `defaultItemOperationTimeout`, it applies to both backup and restore operations. You can use `itemOperationTimeout` to define only the backup or only the restore of those CRs, as described in the following "Item operation timeout - restore", and "Item operation timeout - backup" sections. |
[id="Velero-timeout_{context}"] | ||
= Velereo resource timeout | ||
|
||
`resourceTimeout` defines how long to wait for several Velero resources before timeout occurs, such as Velero CRD availability, `volumeSnapshot` deletion, and repository availability. The default is `10m`. |
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.
Consider spelling out CRD in this first instance (I see CR gets spelled out later):
`resourceTimeout` defines how long to wait for several Velero resources before timeout occurs, such as Velero CRD availability, `volumeSnapshot` deletion, and repository availability. The default is `10m`. | |
`resourceTimeout` defines how long to wait for several Velero resources before timeout occurs, such as Velero custom resource definition (CRD) availability, `volumeSnapshot` deletion, and repository availability. The default is `10m`. |
|
||
Use the `resourceTimeout` for the following scenarios: | ||
|
||
* For backups with total PV data usage that is greater than 1TB. This parameter is used as a timeout value when Velero tries to clean-up or delete the Container Storage Interface (CSI) snapshots, before marking the backup as complete. |
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.
"Clean up" two words when a verb, per IBM Style Guide:
* For backups with total PV data usage that is greater than 1TB. This parameter is used as a timeout value when Velero tries to clean-up or delete the Container Storage Interface (CSI) snapshots, before marking the backup as complete. | |
* For backups with total PV data usage that is greater than 1TB. This parameter is used as a timeout value when Velero tries to clean up or delete the Container Storage Interface (CSI) snapshots, before marking the backup as complete. |
|
||
Ensure that you balance timeout extensions in a logical manner so that you do not configure excessively long timeouts that might hide underlying issues in the process. Carefully consider and monitor an appropriate timeout value that meets the needs of the process and the overall system performance. | ||
|
||
The following are various OADP timeouts, with instructions of how and when to implement these parameters: |
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.
Usually we wouldn't lead into a section heading with a :
, but also maybe this line should be at the assembly-level (between the include
s for this oadp-timeouts.adoc
and the next module), since theoretically this module could get used in another assembly and might not have the exact modules in the same include
order.
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 possible I'd like to leave this the way it is.
/cherrypick enterprise-4.14 |
/cherrypick enterprise-4.13 |
/cherrypick enterprise-4.12 |
/cherrypick enterprise-4.11 |
@adellape: new pull request created: #63397 In response to this:
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/test-infra repository. |
@adellape: new pull request created: #63398 In response to this:
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/test-infra repository. |
@adellape: new pull request created: #63399 In response to this:
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/test-infra repository. |
@adellape: new pull request created: #63400 In response to this:
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/test-infra repository. |
OADP 1.2.1
OCP 4.11+
Resolves - https://issues.redhat.com/browse/OADP-2041
Deploy preview - https://62805--docspreview.netlify.app/openshift-enterprise/latest/backup_and_restore/application_backup_and_restore/troubleshooting.html#oadp-timeouts_oadp-troubleshooting