Introduce configurable timeout to Create NAS backup#12964
Introduce configurable timeout to Create NAS backup#12964abh1sar wants to merge 3 commits intoapache:4.22from
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12964 +/- ##
============================================
- Coverage 17.60% 17.60% -0.01%
+ Complexity 15676 15675 -1
============================================
Files 5918 5918
Lines 531667 531682 +15
Branches 65001 65007 +6
============================================
- Hits 93617 93614 -3
- Misses 427491 427506 +15
- Partials 10559 10562 +3
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?