Repository navigation
Commit 2a9bbbb
committed
Merge 4.22 into fix/nasbackup-enhancements-combined
Resolves conflicts with the incremental NAS backup backport (apache#13877) and the
restore mount/unmount timeout fix (apache#14006). Both sets of zone settings and
command fields are kept; the agent wrappers carry both the mount timeout and
the LUKS key file, and the enhancement flags plus temporary passphrase file
move into upstream's new runBackupScript.
Compression and LUKS encryption rewrite each backup file with qemu-img
convert, which would flatten an incremental through its backing chain (or
leave an encrypted child whose parent needs its own secret). So a zone with
either enabled now takes full backups (decideChain returns legacy-full), and
nasbackup.sh refuses incremental mode combined with -c/-e as a backstop.
Covered by decideChainReturnsLegacyFullWhenCompressionOrEncryptionEnabled.
Claude-Session: https://claude.ai/code/session_011MtPDN3Yg3DR8wu4EN8nkp108 files changed
Lines changed: 6224 additions & 408 deletions
File tree
- api/src
- main/java
- com/cloud
- host
- resource
- org/apache/cloudstack
- api
- command
- admin
- vm
- volume
- user/vmsnapshot
- response
- backup
- test/java/org/apache/cloudstack/api/response
- core/src
- main/java
- com/cloud
- agent
- api/storage
- transport/compat
- serializer
- org/apache/cloudstack/backup
- test/java/com/cloud/agent/transport
- engine
- api/src/main/java/org/apache/cloudstack/engine/orchestration/service
- orchestration/src
- main/java
- com/cloud/agent/manager
- org/apache/cloudstack/engine/orchestration
- test/java
- com/cloud/agent/manager
- org/apache/cloudstack/engine/orchestration
- schema/src/main/java/org/apache/cloudstack/backup
- storage
- datamotion/src
- main/java/org/apache/cloudstack/storage/motion
- test/java/org/apache/cloudstack/storage/motion
- snapshot/src
- main/java/org/apache/cloudstack/storage/vmsnapshot
- test/java/org/apache/cloudstack/storage/vmsnapshot
- framework
- config/src
- main/java/org/apache/cloudstack/framework/config/impl
- test/java/org/apache/cloudstack/framework/config/impl
- jobs/src/main/java/org/apache/cloudstack/framework/jobs/impl
- plugins
- backup/nas/src
- main/java/org/apache/cloudstack/backup
- test/java/org/apache/cloudstack/backup
- hypervisors
- kvm/src
- main/java
- com/cloud/hypervisor/kvm
- resource
- wrapper
- storage
- org/apache/cloudstack/utils/linux
- test/java/com/cloud/hypervisor/kvm
- resource/wrapper
- storage
- vmware/src/main/java/com/cloud/hypervisor/guru
- scripts/vm/hypervisor/kvm
- server/src
- main/java
- com/cloud
- api
- consoleproxy
- hypervisor
- network
- lb
- vpn
- resource
- server
- vm
- org/apache/cloudstack
- backup
- storage/volume
- vm
- test/java
- com/cloud
- network
- lb
- vpn
- resource
- server
- vm
- org/apache/cloudstack
- storage/volume
- vm
- services/console-proxy/server/src/main/java/com/cloud/consoleproxy
- vnc
- network
- test/integration/smoke
- tools
- checkstyle/src/main/resources
- marvin
- ui
- public/locales
- src
- components/view
- config/section
- utils
- views
- compute
- dashboard
- iam
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
330 | 334 | | |
331 | 335 | | |
332 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
333 | 345 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| |||
0 commit comments