Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem creating VolumeSnapshotContent: sourceVolumeMode is required once set #146

Open
witalijx opened this issue Nov 25, 2024 · 0 comments

Comments

@witalijx
Copy link

witalijx commented Nov 25, 2024

Hello

We are experiencing issues when creating Snapshots of PVCs. The Snapshots are created from the Openshift 4.17 Virtualization GUI, if thats relevant.

Logs of the csi-snapshotter container:

I1125 13:45:30.437264       1 reflector.go:535] github.com/kubernetes-csi/external-snapshotter/client/v4/informers/externalversions/factory.go:117: Watch close - *v1.VolumeSnapshotClass total 10 items received

I1125 13:48:25.042435       1 snapshot_controller_base.go:178] syncContentByKey[snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0]

I1125 13:48:25.042546       1 util.go:215] storeObjectUpdate updating content "snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0" with version 13352625

I1125 13:48:25.042623       1 snapshot_controller.go:56] synchronizing VolumeSnapshotContent[snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0]

I1125 13:48:25.042633       1 snapshot_controller.go:542] Check if VolumeSnapshotContent[snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0] should be deleted.

I1125 13:48:25.042643       1 snapshot_controller.go:59] VolumeSnapshotContent[snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0]: the policy is Delete

E1125 13:48:25.049007       1 snapshot_controller_base.go:265] could not sync content "snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0": snapshot controller failed to update snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0 on API server: VolumeSnapshotContent.snapshot.storage.k8s.io "snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0" is invalid: spec: Invalid value: "object": sourceVolumeMode is required once set

I1125 13:48:25.049047       1 snapshot_controller_base.go:167] Failed to sync content "snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0", will retry again: snapshot controller failed to update snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0 on API server: VolumeSnapshotContent.snapshot.storage.k8s.io "snapcontent-32df5dab-c63f-4cbb-8f39-4cff66fd7aa0" is invalid: spec: Invalid value: "object": sourceVolumeMode is required once set

Any help is greatly appreciated!
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant