Introduce configurable timeout to Create NAS backup#12964
Introduce configurable timeout to Create NAS backup#12964abh1sar wants to merge 2 commits intoapache:4.22from
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12964 +/- ##
=============================================
- Coverage 17.60% 3.70% -13.91%
=============================================
Files 5918 448 -5470
Lines 531667 38042 -493625
Branches 65001 7038 -57963
=============================================
- Hits 93617 1409 -92208
+ Misses 427491 36446 -391045
+ Partials 10559 187 -10372
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
| @@ -211,6 +212,7 @@ public Pair<Boolean, Backup> takeBackup(final VirtualMachine vm, Boolean quiesce | |||
| command.setBackupRepoAddress(backupRepository.getAddress()); | |||
| command.setMountOptions(backupRepository.getMountOptions()); | |||
| command.setQuiesce(quiesceVM); | |||
| command.setTimeout(NASBackupCreateBackupTimeout.value()); | |||
There was a problem hiding this comment.
@abh1sar can this be addressed with the value 'TakeBackupCommand=14400' in commands.timeout global config? if so, we can document it and skip this new timeout config?
There was a problem hiding this comment.
Thanks @sureshanaparti . I'll test with commands.timeout and update
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17365 |
Description
Create backup used to take the default
cmds.timeout(7200s) in agent.properties as the timeout.This might not be enough for large images and slow networks.
Adding a configurable timeout for create backup.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?