-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Description
I'm trying to import existing snapshot from ceph using following yamls:
apiVersion: snapshot.storage.k8s.io/v1alpha1
kind: VolumeSnapshotContent
metadata:
name: vsc-test
spec:
snapshotClassName: csi-rbdplugin-snapclass
volumeSnapshotSource:
csiVolumeSnapshotSource:
driver: rbd.csi.ceph.com
snapshotHandle: snapname
volumeSnapshotRef:
apiVersion: snapshot.storage.k8s.io/v1alpha1
kind: VolumeSnapshot
name: test
namespace: testapiVersion: snapshot.storage.k8s.io/v1alpha1
kind: VolumeSnapshot
metadata:
name: test
namespace: test
spec:
snapshotClassName: csi-rbdplugin-snapclass
snapshotContentName: vsc-testbut get following error:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning SnapshotContentMissing 46s (x6 over 4m47s) csi-snapshotter rbd.csi.ceph.com VolumeSnapshotContent is missing
I0822 11:49:48.704819 1 util.go:135] storeObjectUpdate updating snapshot "test/test" with version 2972558
I0822 11:49:48.704894 1 snapshot_controller.go:252] synchronizing unready snapshot[test/test]: snapshotcontent "vsc-test" requested and not found, will try again next time
E0822 11:49:48.704922 1 snapshot_controller_base.go:392] could not sync volume "test/test": snapshot test/test is bound to a non-existing content vsc-test
I0822 11:49:48.705025 1 event.go:221] Event(v1.ObjectReference{Kind:"VolumeSnapshot", Namespace:"test", Name:"test", UID:"1746e253-3a9e-46c8-8339-11f63591034e", APIVersion:"snapshot.storage.k8s.io/v1alpha1", ResourceVersion:"2972558", FieldPath:""}): type: 'Warning' reason: 'SnapshotContentMissing' VolumeSnapshotContent is missing
why?
Metadata
Metadata
Assignees
Labels
No labels