Comments (10)
It sounds like SnapScheduler is working properly--- You're getting the VolumeSnapshot objects as expected, but they aren't being bound to VolumeSnapshotContent objects.
Some things to try:
- Manually creating VolumeSnapshot objects for the PVCs that you are having trouble with. If this works, then perhaps there's a rate-limiting issue
- Compare the PVC, PV, and VolumeSnapshot objects that work w/ those that don't. There must be some difference.
- Take a look at the logs from the CSI driver. Perhaps it will show a more detailed error message.
Yes, you are correct, while taking snapshot backup manually, it is not working. I will debug the issues and update you.
you can close the bug.
from snapscheduler.
Where do you see the error? This looks like an error that would be reported by the CSI driver, perhaps as an event on the VolumeSnapshot object?
(assuming the above...)
SnapScheduler creates the VolumeSnapshot object, but it's up to the other controllers in the cluster to actually respond to that. Since you're getting snapshots for most of your volumes, all the components are probably present and working.
I'd suggest taking a look at the PVCs that you're having trouble with... Is it always the same ones? Is there something different about those? (Are they using a different StorageClass?)
from snapscheduler.
Where do you see the error? This looks like an error that would be reported by the CSI driver, perhaps as an event on the VolumeSnapshot object? "I am checking this error on volume sanpshort status tag"
(assuming the above...) SnapScheduler creates the VolumeSnapshot object, but it's up to the other controllers in the cluster to actually respond to that. Since you're getting snapshots for most of your volumes, all the components are probably present and working.
I'd suggest taking a look at the PVCs that you're having trouble with... Is it always the same ones? Is there something different about those? (Are they using a different StorageClass?)
1) I am getting errors in same PV and I am using same storage class disk.csi.azure.com
2) Volumesnapshotcontent are not available for all failed pv
from snapscheduler.
It sounds like SnapScheduler is working properly--- You're getting the VolumeSnapshot objects as expected, but they aren't being bound to VolumeSnapshotContent objects.
Some things to try:
- Manually creating VolumeSnapshot objects for the PVCs that you are having trouble with. If this works, then perhaps there's a rate-limiting issue
- Compare the PVC, PV, and VolumeSnapshot objects that work w/ those that don't. There must be some difference.
- Take a look at the logs from the CSI driver. Perhaps it will show a more detailed error message.
from snapscheduler.
HI John,
Let me know if you have any idea. If disk was provisioned-by: kubernetes.io/azure-disk then it is not working and if disk is provisioned-by: disk.csi.azure.com it is working.
do you have any idea how to migrate the disk?
Thanks in advance.
from snapscheduler.
The kubernetes.io/azure-disk
is the old in-tree driver, whereas disk.csi.azure.com
is the (new) CSI driver. Snapshots are only supported for CSI drivers, so that's why it's not working.
All the in-tree drivers are being deprecated in favor of CSI--- each has its own timeline.
Fortunately, Azure Disk is supporting volume migration, allowing you to convert to the CSI driver. It looks like migration was declared stable in 1.24. I'm not sure what you need to do, but hopefully this at least gives you a starting point. Once you get the PVs switched over, I'd expect snapshots to start working.
from snapscheduler.
Hi John,
Just want to quick check. is there any way to tag the snapshot while taking the backup using snapscheduler.
Thanks in advance.
from snapscheduler.
The snapshotTemplate
allows specifying labels. See: https://backube.github.io/snapscheduler/usage.html
from snapscheduler.
The
snapshotTemplate
allows specifying labels. See: https://backube.github.io/snapscheduler/usage.html
Thanks. I am looking for dynamic labeling like Velero do while taking backup. it will give complete snap information. please refer image.
from snapscheduler.
Feel free to open an issue for it w/ the labels you'd like to have. PRs welcome also.
from snapscheduler.
Related Issues (20)
- Support Pod Security Admission
- Add topology spread constraints to control HOT 3
- Regex evaluating cron is too restrictive HOT 2
- Allow setting annotations on VolumeSnapshots
- Allow specifying SHA hash for container images
- Helm chart should manage CRDs
- name of the snapshot not showing in aws. HOT 1
- Update kube-rbac-proxy to latest
- Create immediate snapshot ability and boolean for schedules with longer intervals. HOT 2
- The continuous rotation of the snapshot will never complete the shooting. HOT 2
- Helm chart: A Kubernetes PriorityClassName cannot be set HOT 1
- Add metadata.ownerReferences to all created VolumeSnapshots HOT 2
- multiarch support (arm64 specifically) HOT 5
- Unable to schedule every X hours following the cron expression
- Dependency Dashboard
- (question) How many concurrent snapshots?
- Latest helm chart is required HOT 1
- Image with architecture ARM
- Application-aware backups: pre / post hooks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapscheduler.