lyndon
a6d79fc272
Merge pull request #6481 from blackpiglet/6444_fix
...
Remove PVC's selector in backup's PVC action.
2023-07-27 15:43:27 +08:00
Xun Jiang/Bruce Jiang
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
33b21a380c
Remove PVC's selector in backup's PVC action.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-27 10:09:00 +08:00
Xun Jiang/Bruce Jiang
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
allenxu404
6dbdc54dc7
check if restore crd exist before operating restore
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-25 18:54:42 +08:00
lyndon
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
Mateus Oliveira
913b610196
fix: Typos and add more spell checking rules to CI ( #6415 )
...
* fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
* fixup! fix: Typos and add more spell checking rules to CI
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
---------
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
2023-07-21 17:25:24 -04:00
Efim Smykov
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
qiuming
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
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
lyndon
b4181ef803
restict namespace to node-agent cache ( #6523 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-19 16:23:28 -04: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
c8f970a4f1
Merge branch 'main' into resourcemodifier
...
Signed-off-by: Anshul Ahuja <anshul.ahu@gmail.com >
2023-07-19 11:11:40 +05:30
Xun Jiang
9e515ac397
Remove dependency of the legacy client code from pkg/cmd directory part 2.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-17 17:04:53 +08:00
lyndon
b5bd55fc56
fix issue 6490 ( #6491 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-07-14 14:05:51 -04:00
lyndon
dfd7970219
Merge pull request #6469 from blackpiglet/6190_fix
...
Remove dependency of the legacy client code from pkg/cmd directory part 1
2023-07-14 17:15:56 +08:00
Xun Jiang
89d3ad4864
Remove dependency of the legacy client code from pkg/cmd directory.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-14 15:55:09 +08:00
allenxu404
084fd66586
add data upload/download metrics
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-07-14 10:47:53 +08:00
Tiger Kaovilai
05722876b9
Moving kopia logging to remove kopia from indirect dependency in velero plugins
...
when running `go mod why -m github.com/kopia/kopia` in velero-plugins prior to this change you will see following
```
❯ go mod why -m github.com/kopia/kopia
github.com/konveyor/openshift-velero-plugin/velero-plugins
github.com/vmware-tanzu/velero/pkg/plugin/framework
github.com/vmware-tanzu/velero/pkg/util/logging
github.com/kopia/kopia/repo/logging
```
after
```
❯ go mod why -m github.com/kopia/kopia
(main module does not need module github.com/kopia/kopia)
```
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-07-12 10:44:33 -04:00
Anshul Ahuja
8db88bd392
Merge branch 'main' into resourcemodifier
2023-07-10 11:33:49 +05:30
Daniel Jiang
c500e8dc34
Delete the expired deletebackuprequests that are stuck in "InProgress"
...
state
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2023-07-10 10:15:19 +08:00
lyndon
7deae4cbf5
Merge pull request #6459 from blackpiglet/6001_fix
...
Add exit code log and possible memory shortage warning log for Restic command failure
2023-07-07 09:24:16 +08:00
kayrus
e71ee0cc5f
Add support for OpenStack CSI drivers topology keys
...
Signed-off-by: kayrus <kayrus@users.noreply.github.com >
2023-07-05 17:27:24 +02:00
Xun Jiang
d7f1ea4fbd
Add exit code log and possible memory shortage warning log for Restic command failure.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-05 21:35:52 +08:00
Xun Jiang/Bruce Jiang
e54a8af0ad
Merge pull request #6433 from blackpiglet/6010_fix
...
Modify DownloadRequest controller logic
2023-07-05 10:48:13 +08:00
Xun Jiang/Bruce Jiang
5171ab0dca
Merge pull request #6434 from allenxu404/i6038
...
Fix hook filter display issue for backup describer
2023-07-03 17:54:40 +08:00
Xun Jiang
40b2ee1323
Modify DownloadRequest controller logic
...
1. Avoid patch DownloadRequest when it's deleted.
2. Add periodic enqueue resource for reconcile.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-07-03 17:11:48 +08:00
Anshul Ahuja
bb20d0d2f2
add changelog
...
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com >
2023-07-03 14:02:58 +05:30
Xun Jiang/Bruce Jiang
3bdca9fe63
Merge pull request #5774 from anshulahuja98/csimultivscprop
...
Design to add support for Multiple VolumeSnapshotClasses in CSI Plugin
2023-07-03 14:56:47 +08:00
Xun Jiang
ec4bb42117
Retrieve DataUpload into backup result ConfigMap during volume snapshot restore.
...
Fix issue #6117 .
Add CSI plugin needs builder functions.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-06-30 11:13:04 +08:00
allenxu404
75833eaa5b
fix hook filter display issue for backup describer
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-06-29 16:37:34 +08:00
allenxu404
c1ca9a0245
clarify the deletion frequency for gc controller
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-06-21 19:14:29 +08:00
Wenkai Yin(尹文开)
6f3adcf728
Restore Endpoints before Services ( #6315 )
...
Restore Endpoints before Services
Fixes #6280
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-06-20 14:35:25 +08:00
Xun Jiang/Bruce Jiang
d3785e529f
Merge pull request #6396 from allenxu404/archive-ut
...
Add unit test for pkg/archive
2023-06-16 17:52:10 +08:00
allenxu404
41ab949659
add unit test for pkg/archive
...
Signed-off-by: allenxu404 <qix2@vmware.com >
2023-06-15 18:58:30 +08:00
lyndon
e3e0ce32ed
Merge pull request #6368 from Lyndon-Li/issue-fix-6341
...
Add UT for pkg/util
2023-06-15 14:05:53 +08:00
Lyndon-Li
75b7599178
add UT for pkg/util 02
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-15 12:17:05 +08:00
qiuming
cace72787e
Merge pull request #6394 from qiuming-best/UT-pkg/discovry
...
Add UT for pkg/discovery
2023-06-15 11:17:19 +08:00
Ming
e2bb5b3fe8
Add UT for pkg/discovery
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-06-15 02:45:34 +00:00
lyndon
6bbdc846ff
Merge pull request #6357 from Lyndon-Li/data-mover-restore-expose-03
...
Data mover restore expose
2023-06-15 09:48:17 +08:00
Shubham Pampattiwar
57bcd8c8dc
Merge pull request #6298 from shubham-pampattiwar/add-default-values
...
Add default values for defaultItemOperationTimeout and itemOperationSyncFrequency in velero CLI
2023-06-13 23:14:14 -07:00
qiuming
78025a09b6
Add UT for uploader ( #6374 )
...
Signed-off-by: Ming <mqiu@vmware.com >
2023-06-13 16:58:47 +08:00
Xun Jiang
a5c28ad423
Add warning message for volume snapshotter in data mover case.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-06-12 17:57:01 +08:00
Wenkai Yin(尹文开)
89c10ddcc0
Update metrics when backup failed with validation error ( #6318 )
...
Update metrics when backup failed with validation error
Fixes #6265
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-06-09 11:19:26 +08:00
Xun Jiang/Bruce Jiang
9743a7ce56
Fix #6118 : Do not persist VolumeSnapshot and VolumeSnapshotContent for snapshot DataMover case. ( #6366 )
...
1. Because VolumeSnapshot and VolumeSnapshotContent CRs are not kept after backup completed,
don't persist them in the backup metadata.
2. Add some builder methods needed by CSI plugin.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-06-08 17:05:17 +08:00
Lyndon-Li
7175283b19
change kopia as the default path of PVB
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-06-08 13:57:24 +08:00
lyndon
b2f2ba0d0a
Merge pull request #6365 from ywk253100/230607_cli
...
Add data mover related options in CLI
2023-06-08 09:28:34 +08:00
Wenkai Yin(尹文开)
9f2f563568
Add data mover related options in CLI
...
Add data mover related options in CLI
Fixes #6128
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-06-07 16:34:40 +08:00