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(尹文开)
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(尹文开)
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
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 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
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
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
David Zaninovic and GitHub
c415fd4bcc
Add support for block volumes ( #6680 ) ( #6897 )
...
(cherry picked from commit 8e01d1b9be )
Signed-off-by: David Zaninovic <dzaninovic@catalogicsoftware.com >
2023-09-29 15:28:35 -04:00
yanggang and Scott Seago
6103073551
Fix some wrong logs and code clean.
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-09-28 13:27:51 -04:00
qiuming and GitHub
5b36cd7e83
Merge branch 'release-1.12' into finalizer-optimize
2023-09-12 11:57:07 +08:00
Ming Qiu
3240fb196c
Optimize of removing finalizer no matter the dataupload datadownload cr is been deleted or not
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-09-12 11:55:44 +08:00
Wenkai Yin(尹文开) and GitHub
fc653bdfbe
Update restore controller logic for restore deletion ( #6761 )
...
1. Skip deleting the restore files from storage if the backup/BSL is not found
2. Allow deleting the restore files from storage even though the BSL is readonly
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-06 08:38:45 +08:00
Lyndon-Li
93995bfd00
fix issue 6753
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-09-05 10:44:58 +08:00
Guang Jiong Lou and Anshul Ahuja
45165503ba
add label selector in Resource Modifiers ( #6704 )
...
* add label selector in resource modifier
Signed-off-by: lou <alex1988@outlook.com >
* add ut
Signed-off-by: lou <alex1988@outlook.com >
* update after review
Signed-off-by: lou <alex1988@outlook.com >
* update after review
Signed-off-by: lou <alex1988@outlook.com >
---------
Signed-off-by: lou <alex1988@outlook.com >
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-08-31 10:52:03 +05:30
Ming
5480acf0a0
[CherryPick v1.12] Fix delete dataupload datadownload failure when Velero uninstall
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-08-25 03:24:40 +00:00
qiuming and GitHub
411bd54920
Merge pull request #6616 from qiuming-best/add-accept-label
...
Fix data mover controller bugs
2023-08-15 12:04:31 +08:00
Ming Qiu
5485616abf
Fix data mover bugs #6550 #6563 #6600
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-08-14 08:37:19 +00:00
Lyndon-Li
b51d1a0202
fix issue 6614
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-08 09:46:35 +08:00
Xun Jiang/Bruce Jiang and GitHub
d027a1641d
Merge pull request #6591 from allenxu404/finalizer-enhance
...
Enhance uninstall and backup deletion for restore finalizer
2023-08-03 17:23:07 +08:00
allenxu404
846f0de178
enhance uninstall and backup deletion for restore finalizer
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-08-03 16:43:33 +08:00
Lyndon-Li
69bc84cf0c
fix issue 6571
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-03 14:46:02 +08:00
Lyndon-Li
d6134ec444
fix issue 6561
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-08-01 21:10:01 +08:00
Xun Jiang/Bruce Jiang and GitHub
f666667e5b
Merge pull request #6547 from reasonerjt/del-moved-snapshot
...
Delete moved snapshots when the backup is deleted
2023-07-27 15:10:33 +08:00
Daniel Jiang
b0a343cd48
Delete moved snapshots when the backup is deleted
...
This commit introduces a deleteItemAction which writes a temporary configmap to
record the snapshot info so that the controller can trigger repo manager
to remove the snapshot
This process is a bit chatty and we should consider to refactor the code
so it's easier to connect to the repo directly in the DIA
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-07-27 13:27:33 +08:00
Xun Jiang/Bruce Jiang and GitHub
6997e4a694
Merge pull request #6476 from reasonerjt/del-inprog-dbr
...
Delete the expired deletebackuprequests that are stuck in "InProgress"
2023-07-26 16:13:58 +08:00
lyndon and GitHub
9c8275eda7
Merge pull request #6533 from Lyndon-Li/data-mover-wrong-bsl-after-sync
...
Data mover wrong bsl after sync
2023-07-25 14:20:10 +08:00
Lyndon-Li
74bf03b272
data mover wrong bsl after sync
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-25 12:38:09 +08:00
Shubham Pampattiwar and GitHub
eb35f127e2
Merge pull request #6524 from yanggangtony/fix-log-scheduler
2023-07-23 18:44:47 -07:00
Xun Jiang/Bruce Jiang and GitHub
605eab1eb8
Merge pull request #6531 from yanggangtony/delete-io-util
...
delete io/ioutil package as it is deprecated
2023-07-24 09:42:55 +08:00
Efim Smykov and GitHub
8396163e77
add missing CompletionTimestamp and metrics when restore moved into terminal phase ( #6397 )
...
Signed-off-by: Nutrymaco <efim7299@icloud.com >
2023-07-21 17:22:01 -04:00
yanggang
bcc69f33f9
delete io/ioutil package as it is deprecated
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-07-21 15:18:31 +08:00
qiuming and GitHub
32262babc4
Merge pull request #6479 from allenxu404/i2697
...
add restore finalizer to clean up external resources
2023-07-20 19:07:02 +08:00
Daniel Jiang and GitHub
2548b20db9
Track the skipped PV in a backup and print the summary in backup log ( #6496 )
...
Partially address the requirements in #5834
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-07-20 16:13:48 +08:00
yanggang
c5af315d19
fix scheduleReconciler log info
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-07-20 13:46:08 +08:00
allenxu404
0bb509ccdd
add restore finalizer to clean up external resources
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-19 18:56:35 +08:00
Anshul Ahuja and GitHub
c8f970a4f1
Merge branch 'main' into resourcemodifier
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2023-07-19 11:11:40 +05:30
lyndon and GitHub
b5bd55fc56
fix issue 6490 ( #6491 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-14 14:05:51 -04:00
allenxu404
084fd66586
add data upload/download metrics
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-14 10:47:53 +08:00
Anshul Ahuja
9fe7a1d136
lint
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-13 13:59:37 +05:30
Anshul Ahuja
c0ca69dc87
Improve test coverage
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-13 13:52:49 +05:30
Anshul Ahuja
ce7d2bfc87
add more logs
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-11 11:16:44 +05:30
Ming
e0bfd676cc
Merge branch 'main' of https://github.com/qiuming-best/velero into mark-crs-failed
2023-07-11 02:42:46 +00:00
Lyndon-Li
9f5162ece3
add wait timeout for expose prepare
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-10 17:32:10 +08:00
Ming Qiu
480fe445b1
Mark dataupload datadownload status failed when velero pod restart
...
Signed-off-by: Ming Qiu <mqiu@vmware.com >
2023-07-10 07:14:24 +00:00