Closed smileisak closed 5 years ago
Your issue could be related to https://github.com/andyzhangx/demo/blob/master/issues/azuredisk-issues.md#1-disk-attach-error
Could you help check whether disk https://****.blob.core.windows.net/1634572225/****-k8s-****-****-pvc-****-1250-11e8-976e-*****.vhd
is already attached to another VM?
You may also try the mitigation way in the above link.
@smileisak is this issue resolved?
@andyzhangx : I work with @smileisak. Yes it has been resolved.
After last sunday Azure crash in West Europe datacenter, when the cluster started up again, a few disks were attached to the wrong VM (sometimes to 2 VMs at the same time). After detaching those disks from all the servers they were on, the pod syncs again on its own and attach the disk to the correct server (note it can take a few minutes sometimes where the pod says something like "sync error timeout")
Thank you for your link and the question about whether the disk was attached to another VM. It was very helpful to us.
Note : I created a small script to detach disks that are mounted on multiple VMs https://gist.github.com/jbouzekri/11c56ed5ebb038e6166300ed294630e7
Is this a request for help?: It is a request.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Is this a BUG REPORT
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
What happened:
I'm in production environment, running some databases as a StatefulSets with dynamic provisioning. Since yesterday, some pods fails with
CrachLoopBackOff
state.This is the events from my Kafka pod:
What you expected to happen:
When pods fails, it will reschedule in another node, and volume should detach and attach successfully.
How to reproduce it (as minimally and precisely as possible):
It was produced suddenly, i can't tell exactlly how to reproduce it. I think it is related to
Multiple Azure Services impacted in West Europe
: https://azure.microsoft.com/en-us/status/history/Anything else we need to know: It is working fine before this bug. I mean detaching and attaching volumes was working perfectly.