This message was deleted.
# longhorn-storage
a
This message was deleted.
l
I also tried to manually create a snapshot with the CSI snapshooter (described https://longhorn.io/docs/1.1.0/snapshots-and-backups/csi-snapshot-support/create-a-backup-via-csi/). I got these errors: Failed to create snapshot content with error snapshot controller failed to update test-snapshot-pvc on API server: cannot get claim from snapshot. Not sure what that's telling me either.
Manually running a backup in longhorn does work, so my backup area is functional.
I got further on the manual snapshotting by making sure I identified the namespace that the pvc was on, but it's stuck Waiting for a snapshot namespace/test-snapshot-pvc to be created by the CSI driver.
Still no luck with doing a CSI snapshot of a longhorn volume. I recreated the cluster with RKE1 instead of RKE2 and no difference. I followed the specific directions on the latest longhorn documentation: https://longhorn.io/docs/1.3.1/snapshots-and-backups/csi-snapshot-support/enable-csi-snapshot-support/. Used the same version of the snapshotter, and nothing. Kubernetes accepts the snapshot config but it just sits, and longhorn does not actually do a snapshot.
I think I'm in business now. Part of my issue was that I forgot a couple of namespace changes in the external-snapshotter configuration and it was making it not work across the entire cluster.
👍 1
m
Hi KT, I am having issues as well. What were the namespace changes that you needed to use in the external-snapshotter configuration? thanks
l
Not sure if this is correct or not (it's been awhile), I modified (in the external-snapshotter directory) deploy/kubernetes/snapshot-controller/*.yaml and changed all instances of namespace: default to namespace: kube-system
🙌 1
m
Ah ok in fact that rings a bell, I must have seen something similar. I will give that a try thanks
It seems now by default it is set to kube-system anyways. I will try again and check the logs.
105 Views