ceph-csi/internal/rbd
Niels de Vos 57d3183cb1 rbd: restart thick-provisioned PVC cloning after aborting
In case cloning a thick-PVC failed during DeepCopy(), the image will
exist, but have partial contents. Only when the image has the
thick-provisioned metadata set, it has completed DeepCopy().

When the metadata is missing, the image is deleted, and an error is
returned to the caller. Kubernetes will automatically retry provisioning
on the ABORTED error, and the cloning will get restarted from the
beginning.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-06-18 06:25:56 +00:00
..
clone.go rbd: restart thick-provisioned PVC cloning after aborting 2021-06-18 06:25:56 +00:00
controllerserver_test.go rbd: no need to flatten thick-provisioned images 2021-06-18 06:25:56 +00:00
controllerserver.go rbd: restart thick-provisioned PVC cloning after aborting 2021-06-18 06:25:56 +00:00
driver.go util: enable golang profiling 2021-05-25 10:41:22 +00:00
encryption.go cleanup: remove unnecessary calling of .String() when logging 2021-05-25 18:02:11 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
mirror.go cleanup: remove unnecessary calling of .String() when logging 2021-05-25 18:02:11 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go rbd: no need to flatten thick-provisioned images 2021-06-18 06:25:56 +00:00
rbd_attach.go cleanup: remove unnecessary calling of .String() when logging 2021-05-25 18:02:11 +00:00
rbd_journal.go rbd: pass parent volume to undoSnapshotCloning function 2021-06-10 21:46:53 +00:00
rbd_util_test.go rbd: Add failing test when no features are provided 2021-06-10 15:43:09 +00:00
rbd_util.go rbd: disable FeatureDeepFlatten when doing DeepCopy() 2021-06-18 06:25:56 +00:00
replicationcontrollerserver.go cleanup: gocyclo being unused for linter 2021-06-15 02:54:16 +00:00
snapshot.go rbd: add support to create clone in different pool 2021-06-10 21:46:53 +00:00