-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Disk snapshots fail on GCP regional volumes #765
Comments
Thanks for reporting this @robbyt, we'll look into it and let you know when we can get it fixed |
@skriss I put this against the backup replication Epic |
@rosskukulinski given that this appears to be a bug, I'm not sure putting in under replication is appropriate? |
This bug is still present in 0.9.7. According to the docs, the snapshot API request should be sent to only one of the regions. |
@wwitzel3 PTAL |
The problem is that in GKE, when using a regional volume we get two labels:
Ark looks for I came up with a solution, but after testing it and doing a bit more research, my fix of parsing the combined zones out of the Edit: I think we need to look in to checking for the double-under |
Is the region label only present with regional disks and absent otherwise? |
No, we would have to look for the double-under |
Sounds like that will have to be the way forward, doesn't it? |
So I'm thinking then, we could leave the plugin interface as it, and just special case this in the gcp plugin, checking the incoming volumeAZ for |
Most definitely - this is quite GCP specific |
Also worth mentioning that regional disks in GCP are beta at this time |
Should we add a I keep writing stuff and then just deleting. I can just pick an approach, put up the PR, and let people digest it and see if we want to change it. |
What is the status on this? It is still a problem in my version of ark |
@BartiMar we have a PR in flight for this -- look for it in an upcoming patch release (we do these every 2 weeks on thursdays) |
What steps did you take and what happened:
When using regional volumes on GCP, backups fail with the error below. Here is a basic configuration for creating a PVC backed by a regional volume.
What did you expect to happen:
I expected the snapshots to be created similarly as they are for non-regional volumes.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Ark version (use
ark version
): 0.9.3Kubernetes version (use
kubectl version
):The text was updated successfully, but these errors were encountered: