-
Notifications
You must be signed in to change notification settings - Fork 85
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
Crash when launching a backup session with volume snapshot #1072
Comments
What is your Kubernetes version? |
@hossainemruz I'm using k3s version v1.17.3+k3s1, so based on k8s v1.17.3. |
That might causing the problem. VolumeSnapshot is now a beta features. We haven't updated yet. We are still using VolumeSnapshot's alpha API. |
@hossainemruz the code that crashed seems to refer to v1beta1 api not alpha Line 449 in 81be166
This was done in PR #987 |
You are right. The problem is the |
In Thank you for bringing it to our attention. This should be fixed by #1073. I have already built an custom docker image with this fix. You can try that with the following installation process: helm install stash-operator appscode/stash \
--version v0.9.0-rc.6 \
--namespace kube-system \
--set operator.registry=appscodeci \
--set operator.tag=fix-vs-nil-ptr-exception_linux_amd64 |
Can confirm the problem is gone. In the logs:
Backupsession is also in Succeeded phase. |
Hi,
Got this error in the job that is implementing the backup session:
Stash version is v0.9.0-rc.6.
On the cloud provider (Scaleway), the volume snapshot have been created. It's also displayed as a volumesnapshot resource in Kubernetes:
The text was updated successfully, but these errors were encountered: