Xun Jiang
c8e76f4602
Fix the DownloadRequest context error.
...
Clean the DownloadRequest Stream function.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-05 13:29:23 +08:00
Daniel Jiang
f2ba625229
Merge pull request #7138 from blackpiglet/6595_volumeinfo_restore
...
Use VolumeInfo to help restore the PV.
2023-12-05 10:19:16 +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/Bruce Jiang
3b42abd139
Merge pull request #7174 from reasonerjt/snapshot-flag-skip-csi
...
Make sure the PVs skipped by CSI plugin due to settings in backup spec are tracked
2023-12-05 09:31:21 +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
Daniel Jiang
266ea5d55a
Make sure the PVs skipped by CSI plugin due to settings in backup spec
...
are tracked
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-12-01 14:19:54 +08:00
Shashank Singh
a318e1da99
Fix floatation of error/message in the backup result. ( #7159 )
...
* Fix floatation of error/message in the backup/restore result
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
* fix for checkgates
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
* refactoring
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
---------
Signed-off-by: Shashank Singh <shashank1306s@gmail.com >
2023-12-01 09:50:01 +05:30
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
Daniel Jiang
5cbfd9fffd
Merge pull request #7150 from Lyndon-Li/issue-fix-7135
...
Issue 7135: check pod status before checking node-agent pod status
2023-11-29 15:47:23 +08:00
Lyndon-Li
81183f683e
Merge branch 'main' into issue-fix-6695
2023-11-29 15:12:21 +08:00
Xun Jiang/Bruce Jiang
f5bbe82e78
Merge pull request #7152 from reasonerjt/track-skipped-SnapshotVolumes-false
...
Track the skipped PV when SnapshotVolumes set as false
2023-11-29 14:46:23 +08:00
Lyndon-Li
33b570d5cd
Merge branch 'main' into node-agent-config-doc
2023-11-29 14:45:20 +08:00
Lyndon-Li
8968ae5ec4
add node-agent concurrency doc
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-29 14:33:51 +08:00
Lyndon-Li
e416b20148
issue 7135: check pod status before checking node-agent pod status
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-29 13:46:50 +08: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
d70535b6d2
Add nolintlint linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:13:46 +08:00
Xun Jiang
ec03d1ebce
Add noctx linter.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:13:46 +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
Xun Jiang
3805a470a9
Enable dupword linter.
...
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
Daniel Jiang
b8604b6a89
Treat namespace as a regular restorable item ( #7143 )
...
Fixes #1970
Namespaces will be handled as cluster-scope resource, but for
consistency they will still created via "Ensure namespace" flow for
consistency.
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-11-28 11:20:36 -05:00
Daniel Jiang
b759877f5b
Track the skipped PV when SnapshotVolumes set as false
...
This commit makes sure if a PV is not taken snapshot b/c the flag
SnapshotVolumes is set to false in a backup CR, the PV is also also
tracked as skipped in the tracker.
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-11-28 22:52:17 +08:00
Ming Qiu
b57dde1572
Allow sparse option for Kopia & Restic restore
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-11-28 13:48:09 +00:00
Daniel Jiang
85482aefaf
Merge pull request #7117 from allenxu404/issue6567
...
Add hook status to backup/restore CR
2023-11-28 16:54:11 +08:00
allenxu404
5d1a632be4
Add hook status to backup/restore CR
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-11-28 14:47:31 +08:00
Wenkai Yin(尹文开)
6ac7ff1230
Merge pull request #7130 from qiuming-best/data-mover-recoverbility
...
Node agent restart enhancement
2023-11-28 14:25:47 +08:00
Ming Qiu
98a56eb5c7
Node agent restart enhancement
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-11-28 05:50:46 +00:00
qiuming
3fdb3ec7c5
Merge pull request #7069 from 27149chen/imporve-discovery-refresh
...
improve discoveryHelper.Refresh() in restore
2023-11-27 18:02:36 +08:00
lou
179faf3e33
update after review
...
Signed-off-by: lou <alex1988@outlook.com >
2023-11-27 17:39:37 +08:00
Xun Jiang/Bruce Jiang
d336e2812e
Merge pull request #6958 from blackpiglet/5156_list_option_fix
...
Change controller-runtime List option from MatchingFields to ListOpti…
2023-11-27 17:38:12 +08:00
Lyndon-Li
8ab0c017a9
issue 6695: add backup description for data mover
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-27 16:19:34 +08:00
qiuming
ccd3f220ad
Merge pull request #7090 from qiuming-best/perf-test-0
...
Enhance perf test
2023-11-27 16:10:26 +08:00
Ming
507157f812
Add perf test namespace mapping when restore
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-11-27 02:11:13 +00:00
Lyndon-Li
1815c1691f
Merge branch 'main' into issue-fix-6695
2023-11-27 09:46:22 +08:00
Ming Qiu
c2d4495efe
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 03:52:20 +00:00
Wenkai Yin(尹文开)
5c958d820d
Merge pull request #7100 from blackpiglet/6595_volumeinfo_generate
...
6595 volumeinfo generate
2023-11-22 11:14:36 +08:00
Ming Qiu
fea22bbbc9
Merge branch 'main' of https://github.com/qiuming-best/velero into kopia-parallelism
2023-11-22 01:42:39 +00:00
Xun Jiang
7f52321772
Generate VolumeInfo.
...
Remove CSI VolumeSnapshot listter and the informer.
Add download the VolumeInfos metadata for backup.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-22 09:40:38 +08:00
qiuming
b8a5859fe7
Merge pull request #7091 from anshulahuja98/recoverplugin
...
Don't fail backup/restore on velero server restart in PhaseWaitingFor…
2023-11-20 14:49:15 +08:00
Daniel Jiang
e0edc8ee93
Merge pull request #7107 from yanggangtony/update-configmaps
...
Fix docs: Use camel case for API objects: configmaps and secrets
2023-11-20 14:48:47 +08:00
Wenkai Yin(尹文开)
e3fb94833d
Merge pull request #7115 from reasonerjt/wrap-bia-err
...
Include plugin name in the error message by operations
2023-11-20 14:48:18 +08:00
Daniel Jiang
ca57756ff6
Include plugin name in the error message by operations
...
fixes #6512
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-11-20 12:12:02 +08:00
Lyndon-Li
4e4f0aa1da
issue 6695: add backup describe for CSI snapshot data movement 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-20 12:11:21 +08:00
Lyndon-Li
582be97a63
Merge branch 'main' into issue-fix-6695
2023-11-18 00:12:25 +08:00
Lyndon-Li
b99ac448ae
issue 6695: add backup describe for CSI snapshot data movement
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-18 00:11:29 +08:00
Wenkai Yin(尹文开)
939dd7149a
Merge pull request #7070 from blackpiglet/6595_interface
...
Add VolumeInfo metadata structures.
2023-11-17 19:31:29 +08:00