0
我被要求通過Azure的Twitter支持(而不是ServerFault.com)發佈此信息。如果Azure的存儲帳戶丟失,您如何重新連接VHD?
我們的Kubernetes環境一直運行一週而無需更改,其中24個VHD全部使用Azure上的Container Services。
然後我們突然收到所有服務都停止工作的提醒。所有使用持續性卷索賠的Pod都停留在ContainerCreating上。快速kubectl describe pod podname
顯示:
Unable to mount volumes for pod "***-1370023040-st581_default(9b050936-1baa-11e7-9b77-000d3ab513dc)": timeout expired waiting for volumes to attach/mount for pod "default"/"***-1370023040-st581". list of unattached/unmounted volumes=[***-persistent-storage]
所有艙體
和
Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "default"/"***-1370023040-st581". list of unattached/unmounted volumes=[***-persistent-storage]
。
在Azure門戶中,我可以看到代理只有代理OS VHD附加爲磁盤。手動嘗試添加磁盤失敗:
Failed to update disks for the virtual machine 'k8s-agent-CD93CDEA-0'. Error: A disk named '***mgmt-dynamic-pvc-018bdc6e-161a-11e7-8ca8-000d3ab513dc.vhd' already uses the same VHD URL …https://***.blob.core.windows.net/vhds/***mgmt-dynamic-pvc-018bdc6e-161a-11e7-8ca8-000d3ab513dc.vhd ….
重新啓動代理/主服務器也不能清除問題。
我們對支持32個數據磁盤的代理使用F16S。
如何重新附加VHD以重新開始?