cloudstack/scripts
jmsperu d64286b52b fix(nas-backup): fail fast on failure + don't delete successful backups (#12843)
Address review feedback on #12843 (verified with a stubbed self-test):
- domjobinfo 'Failed' branch: exit after cleanup instead of looping until
  BACKUP_TIMEOUT (the loop never broke on a failed virsh job).
- backup_stopped_vm qemu-img convert failure: exit after cleanup so a partial
  backup is not treated as success; append to the agent log instead of truncating.
- backup_stopped_vm success: unmount before returning, mirroring backup_running_vm/
  delete_backup. Without this the 'trap cleanup EXIT' fired on success and ran
  'rm -rf $dest', deleting the just-completed backup.
- mount_operation: test mount's own exit in an if-condition so 'set -eo pipefail'
  no longer aborts before the check and a piped tee can't mask a mount failure.
- cleanup: only umount when the path is actually a mount, so a non-mount umount
  error doesn't wrongly report EXIT_CLEANUP_FAILED via the EXIT trap.
2026-06-21 21:12:23 +03:00
..
installer removed code in comments (#11145) 2025-12-08 16:31:48 +01:00
network pre-commit: add `XML` files to the `trailing-whitespace` check (#9131) 2024-07-12 09:42:54 +02:00
storage Merge release branch 4.22 to main 2026-01-26 13:32:56 +01:00
util Add ROOT CAs to the trust store and allow force provisioning of certs hosts & systemVMs via ssh (#12911) 2026-05-21 13:19:13 +05:30
vm fix(nas-backup): fail fast on failure + don't delete successful backups (#12843) 2026-06-21 21:12:23 +03:00