Xun Jiang/Bruce Jiang
75962653c5
Merge pull request #7554 from blackpiglet/7357_fix
...
Support update the backup VolumeInfos by the Async ops result.
2024-04-01 11:05:33 +08:00
Matthieu MOREL
3d6dab0708
lint(ginkgolinter): expect (not)to HaveOccurred ( #7565 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-29 10:05:48 -04:00
lyndon-li
67bd694d1b
Merge pull request #7437 from Lyndon-Li/issue-fix-7036
...
Issue 7036: node selection for data mover backup
2024-03-29 17:04:40 +08:00
Xun Jiang
5462035469
Delete the unneeded pvRestorer action in
...
handleSkippedPVHasRetainPolicy
According to comment, calling executePVAction aims to reset PV's
claimRef, but the reset logic was moved into resetVolumeBindingInfo
since release-1.4.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-29 14:12:12 +08:00
Xun Jiang
b06d7a467f
Support update the backup VolumeInfos by the Async ops result.
...
1. Add PutBackupVolumeInfos method.
2. Add CompletionTimestamp in VolumeInfo.
3. Add Size in SnapshotDataMovementInfo.
4. Update CompletionTimpstmap, SnapshotHandle, RetainedSnapshot
and Size in VolumeInfo on DataUpload Operation completes.
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-28 19:52:44 +08:00
Xun Jiang/Bruce Jiang
d640cc16ab
Merge pull request #7573 from mmorel-35/golangci-lint-exclude-rules
...
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
2024-03-28 16:39:40 +08:00
qiuming
e80bdcf2e2
Merge pull request #7451 from qiuming-best/maintenance-job
...
Add repository maintenance job
2024-03-28 14:47:15 +08:00
Ming Qiu
8d63c76c92
Add maintenance job
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-03-28 03:22:06 +00:00
Matthieu MOREL
ef04ef6361
golangci-lint: use exclude-rules instead of skip-files and skip-dirs
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 20:17:34 +00:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00
lyndon-li
a2c87fc8b2
Merge pull request #7438 from Lyndon-Li/batch-delete-snapshot
...
Issue 7281: batch delete snapshot
2024-03-27 13:31:07 +08:00
Lyndon-Li
d538fc87ad
batch delete snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-03-27 11:21:51 +08:00
Xun Jiang
efb94ae610
Refactor the native snapshot definition code.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-03-20 15:38:07 +08:00
allenxu404
67b5e82d49
Patch newly dynamically provisioned PV with volume info to restore custom setting of PV
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-03-18 17:32:35 +08:00
Wenkai Yin(尹文开)
79e9e31d8d
Merge pull request #7489 from ywk253100/240229_lib
...
Bump up the versions of several Kubernetes-related libs
2024-03-12 16:12:56 +08:00
Wenkai Yin(尹文开)
8752c3a820
Bump up the versions of severel Kubernetes-related libs
...
Bump up the versions of severel Kubernetes-related libs
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-03-05 13:09:38 +08:00
allenxu404
2b8bb871d3
Add the finalization phase to the restore workflow
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2024-02-29 13:51:45 +08:00
Lyndon-Li
e1bcdf0f63
issue 7308: change the data path requeue time to 5 second
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-22 10:10:33 +08:00
Lyndon-Li
57879357fc
Merge branch 'main' into batch-delete-snapshot
2024-02-18 14:54:01 +08:00
Lyndon-Li
32d92ca964
batch delete snapshot
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:49:21 +08:00
Lyndon-Li
7bf7fb9fc1
issue 7036: fail early by peek expose
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-18 14:34:35 +08:00
Tiger Kaovilai
a5c72a4866
BackupRepositories associated with a BSL are invalidated when BSL is (re-)created. ( #7380 )
...
* Add BackupRepositories invalidation on BSL Create
Simplify comments
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
* Simplify
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
---------
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-06 10:13:30 -05:00
Lyndon-Li
9a907a21f2
issue-7036:data mover load affinties
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-02-05 14:13:10 +08:00
Karthick Udayakumar
198fbf6873
fix typo maintenance of log message
...
Signed-off-by: Karthick Udayakumar <kudayakumar@vmware.com >
2024-01-17 22:30:41 -05:00
Xun Jiang/Bruce Jiang
cbe5a36a3c
Merge pull request #7254 from learner0810/reduce-backup-deepCopy
...
Returns directly when backup status is BackupPhaseFailedValidation No need for DeepCopy
2024-01-17 21:41:24 +08:00
Lyndon-Li
200fd80448
isue 6928: remove snapshot deletion timeout for PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-01-08 11:28:23 +08:00
zhongjun.li
8e4cefbb0d
Reduce backup DeepCopy
...
Signed-off-by: zhongjun.li <zhongjun.li@daocloud.io >
2024-01-02 11:34:40 +08:00
Ming Qiu
7d2be128ae
Move velero server side default backup location setting logic to server startup
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-19 05:43:29 +00:00
Shubham Pampattiwar
ea6c8ca127
fix finalizer typo in logs ( #7204 )
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-12-13 11:46:21 -05:00
Shubham Pampattiwar
2bd9bf2903
Merge pull request #7076 from shubham-pampattiwar/update-backup-log
...
Update backup log to reflect appropriate backup phase
2023-12-11 12:49:06 -08:00
Daniel Jiang
804b9a8d91
Merge pull request #7171 from kaovilai/tests-explicit-enableCSI
...
Add explicit enableCSI to TestProcessBackupCompletions
2023-12-11 14:11:37 +08:00
Tiger Kaovilai
eaba99b92e
Add test skipImmediately is switched to false after reconcile
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-08 09:12:08 +07:00
Tiger Kaovilai
9e016c568a
Address requeue feedback
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-08 09:12:08 +07:00
Tiger Kaovilai
e4bd59727f
Schedule SkipImmediately
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-08 09:12:08 +07:00
Xun Jiang/Bruce Jiang
759e8a9c63
Merge pull request #7184 from blackpiglet/7163_fix
...
Update CSIVolumeSnapshotsCompleted in backup's status and the metric
2023-12-07 11:14:28 +08:00
Xun Jiang
edb0860dd2
Fix issue #7163 .
...
Update CSIVolumeSnapshotsCompleted in backup's status and the metric
during backup finalize stage according to async operations content.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-07 09:43:10 +08:00
lyndon-li
099acd2527
Merge pull request #7141 from qiuming-best/support-restore-sparse
...
Allow sparse option for Kopia & Restic restore
2023-12-06 18:25:34 +08:00
Ming Qiu
1a237d3e4c
Update API
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-06 08:59:12 +00:00
qiuming
ea04a86eb2
Merge pull request #6771 from qiuming-best/bsl-fix
...
Fix default BSL setting not work
2023-12-05 19:09:50 +08:00
qiuming
2fa785a3dd
Merge pull request #7052 from qiuming-best/data-mover-fail-early
...
Make data mover fail early
2023-12-05 16:33:46 +08:00
Xun Jiang
28df14d9d5
Modify restore logic.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-05 10:01:16 +08:00
Xun Jiang
c77bec73bb
Move VolumesInformation to an independant package.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-04 08:33:37 +08:00
Xun Jiang
ca97248f2a
Use VolumeInfo to help restore the PV.
...
Add VolumeInfo for left PVs during backup.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-04 08:33:37 +08:00
Tiger Kaovilai
2132506e8c
Add explicit enableCSI to TestProcessBackupCompletions
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-12-01 14:22:40 -05:00
Ming Qiu
c6cba300fb
Fix default BSL setting not work
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-12-01 02:06:35 +00:00
Ming Qiu
0afaa70e9b
Merge branch 'main' of https://github.com/qiuming-best/velero into support-restore-sparse
2023-11-30 10:55:55 +00:00
Xun Jiang
f5c159ce56
Resolve linter issues.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:15:43 +08:00
Xun Jiang
dbd1a12d9f
Add nilerr and ginkgolinter linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:13:46 +08:00
Xun Jiang
cddc11e000
Enable linter errchkjson.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:13:46 +08:00
Ming
03dff100a3
Make data mover fail early
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-11-29 03:03:53 +00:00