Skip to content

Problem creating VolumeSnapshotContent: sourceVolumeMode is required once set #146

@witalijx

Description

@witalijx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions