Tiger Kaovilai
e0b437e2e1
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 11:00:45 -05:00
Wenkai Yin(尹文开)
4d1c20bbab
Check whether the API resource exists before creating the informer cache
...
Check whether the API resource exists before creating the informer cache
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-01-24 12:39:05 +08:00
Wenkai Yin(尹文开)
7295609bd6
Log the error got from the discovery helper
...
Log the error got from the discovery helper
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-01-22 15:25:26 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
bd0ea3a648
Do not attempt restore resource with no available GVK in cluster ( #7322 )
...
Check for GVK before attempting restore.
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-01-22 10:05:33 +08:00
Wenkai Yin(尹文开)
509ceaafbf
Specify the Kind explicitly in the API resource
...
Specify the Kind explicitly in the API resource to avoid wrong Kind conversion
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-01-22 10:04:54 +08:00
Wenkai Yin(尹文开)
1cc6f74341
Make "disable-informer-cache" option false(enabled) by default to keep it consistent with the help message
...
Make "disable-informer-cache" option false(enabled) by default to keep it consi
stent with the help message
Fixes #7264
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-01-18 13:20:33 +08:00
Wenkai Yin(尹文开)
85189a0dc6
Create informer per resources to avoid huge memory consumption
...
Create informer per resources to avoid huge memory consumption
Fixes #7323
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-01-18 10:48:55 +08:00
Xun Jiang/Bruce Jiang and GitHub
6886ff6643
Merge branch 'release-1.12' into add-desc-markers-1.12-rel
2024-01-17 14:50:23 +08:00
Lyndon-Li
0722927df2
isue 6928: remove snapshot deletion timeout for PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-01-08 13:01:47 +08:00
Ming Qiu
9a093a7b75
Fix intermediate pv delete for data mover
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-01-04 07:47:51 +00:00
qiuming and GitHub
1da7f30fba
Merge branch 'release-1.12' into node-agent-recoverability
2024-01-04 09:42:54 +08:00
Ming Qiu
6ff9dfab33
Node agent restart enhancement
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2024-01-03 09:48:27 +00:00
Anshul Ahuja and Ming Qiu
c3b5b1fadd
Don't fail backup/restore on velero server restart in PhaseWaitingForPluginOperation
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2024-01-03 09:28:36 +00:00
Lyndon-Li
5ff8a4f2a3
Issue 7244: delete incomplete snapshot automatically for kopia uploader
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-12-22 17:02:02 +08:00
Lyndon-Li
33e3c9589b
issue 7244: delete incomplete snapshot automatically for kopia uploader
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-12-22 16:48:32 +08:00
Xun Jiang
ecb8e80f30
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-18 15:59:40 +08:00
Lyndon-Li
5e71b38993
issue 7189: generic restore - don't assume the first volume as the restore volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-12-12 19:19:06 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
c8fd9d4d62
revert test changes
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
ccfbcc5455
make update
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
2d6578635d
CSIFeatureFlag enable check
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
fc44f3b8f0
remove waiting during finalize
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
df72745909
skip this if SnapshotMoveData
...
https://github.com/vmware-tanzu/velero/pull/7046/files#r1380708644
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
453bd93c90
refactor backup snapshot status updates into UpdateBackupSnapshotsStatus() and run in backup_finalizer_controller
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Tiger Kaovilai and Wenkai Yin(尹文开)
65939c920e
Add PatchResource unit test for backup status
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-17 10:45:35 +08:00
Guang Jiong Lou and GitHub
5c44ed49a5
Merge branch 'release-1.12' into cherry-pick-6917
2023-11-17 09:21:40 +08:00
Lyndon-Li
25fc2f4d6e
Issue 7068: add a finalizer to protect retained VSC
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-16 18:53:34 +08:00
Guang Jiong Lou and GitHub
0531dbb1a2
Merge branch 'release-1.12' into cherry-pick-6917
2023-11-16 10:38:11 +08:00
Wenkai Yin(尹文开) and lou
d7b4b0a770
Merge pull request #6917 from 27149chen/rm-improvement
...
support JSON Merge Patch and Strategic Merge Patch in Resource Modifiers
Signed-off-by: lou <alex1988@outlook.com >
2023-11-15 17:20:15 +08:00
yanggang and allenxu404
06e3773b22
Fix node-agent missing metrics-addr parms to define the server start.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-11-14 16:27:43 +08:00
Lyndon-Li
84d8bbda24
issue 7094: fallback to full backup if previous snapshot is not found
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-14 11:48:44 +08:00
Xun Jiang
5923046471
Add DataUpload Result and CSI VolumeSnapshot check for restore PV.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-11 11:44:01 +08:00
lyndon-li and GitHub
88732e9b51
Merge branch 'release-1.12' into add-desc-markers-1.12-rel
2023-11-08 07:59:02 +08:00
Shubham Pampattiwar
dd9de76381
add description markers for dataupload and datadownload CRDs ( #7028 )
...
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
(cherry picked from commit 23921e5d29 )
rename changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix PR CI validation errors
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-11-07 06:52:05 -08:00
Lyndon-Li
bb4f9094fd
issue 7027: backup exposer -- don't assume first volume as the backup volume
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-11-06 16:59:34 +08:00
Tiger Kaovilai
7e35fd3261
restore: Use warning when Create IsAlreadyExist and Get error ( #7004 )
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-11-02 16:05:50 -04:00
Wenkai Yin(尹文开)
dd825ef8bb
Read information from the credential specified by BSL
...
Read information from the credential specified by BSL
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-10-30 17:29:43 +08:00
lyndon and GitHub
36ad5dafa9
Merge branch 'release-1.12' into cp-fix-ducr-cancel
...
Signed-off-by: lyndon <98304688+Lyndon-Li@users.noreply.github.com >
2023-10-27 10:47:38 +08:00
7b76047596
Make configmapref check case insensitive ( #6804 ) ( #7023 )
...
* Make configmapref check case insensitive
* update resourcemodfier test case to validate case
---------
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
Co-authored-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-10-26 16:40:43 -04:00
Shubham Pampattiwar
f1fcec3514
Fix issue 6913
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
keep canceling phase const
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix data download as well
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
address PR feedback
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor fixes
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
(cherry picked from commit ee271b7b69 )
update changelog filename
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2023-10-26 07:50:58 -07:00
Tiger Kaovilai
72b5e7aad6
kopia/repository/config/aws.go: Set session.Options profile from config
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-10-24 21:51:07 -04:00
Lyndon-Li
10744ec516
udmrepo use region specified in BSL when s3URL is empty
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-20 20:14:01 +08:00
Xun Jiang
3034cdb448
Make Windows build skip BlockMode code.
...
PVC block mode backup and restore introduced some OS specific
system calls. Those calls are not available for Windows, so
add both non Windows version and Windows version code, and
return error for block mode on the Windows platform.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-20 17:44:38 +08:00
Sebastian Glab and Wenkai Yin(尹文开)
7a909d8ff5
Import auth provider plugins
...
Signed-off-by: Sebastian Glab <sglab@catalogicsoftware.com >
2023-10-18 16:06:18 +08:00
Scott Seago
457fcc6893
issue #6807 : Retry failed create when using generateName
...
When creating resources with generateName, apimachinery
does not guarantee uniqueness when it appends the random
suffix to the generateName stub, so if it fails with
already exists error, we need to retry.
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-10-13 10:29:46 -04:00
Scott Seago
a3cb39d62e
Perf improvements for existing resource restore
...
Use informer cache with dynamic client for Get calls on restore
When enabled, also make the Get call before create.
Add server and install parameter to allow disabling this feature,
but enable by default
Signed-off-by: Scott Seago <sseago@redhat.com >
2023-10-12 15:07:55 -04:00
Lyndon-Li
8bf98e8895
fix issue 6647
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-11 17:43:38 +08:00
Lyndon-Li
877592194b
issue 6734: spread backup pod evenly
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-10-10 11:04:04 +08:00
qiuming and GitHub
52878de077
Merge branch 'release-1.12' into target-v1.12.1
2023-10-08 11:08:07 +08:00
yanggang and Ming
432a5fe566
[Cherry-pick v1.12]Keep the logs info ns/name is the same with other modules.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-10-08 03:07:43 +00:00
Yang Gang and Xun Jiang
0eaf14ed19
Code clean for backup cmd client. ( #6750 )
...
Address some code spell check errors.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-03 23:55:25 +08:00