acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

"ImageGCFailed" on Windows nodes

Open wenwu449 opened this issue 9 years ago • 10 comments

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes 1.5.3

What happened: Seeing events for almost all Windows nodes with "ImageGCFailed" warning: LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE 4m 2d 763 13472acs9020 Node Warning ImageGCFailed {kubelet 13472acs9020} invalid capacity 0 on device "" at mount point "" 4m 2d 763 13472acs9021 Node Warning ImageGCFailed {kubelet 13472acs9021} invalid capacity 0 on device "" at mount point ""

What you expected to happen: ImageGC should succeeds.

How to reproduce it (as minimally and precisely as possible): Deploy cluster with Windows nodes, use kubectl get event to check node events.

Anything else we need to know: ACS engine used to generate ARM template: https://github.com/Azure/acs-engine/pull/595

wenwu449 avatar May 19 '17 18:05 wenwu449

Another user report of this in #SIG-Azure slack channel.

jdumars avatar Jul 05 '17 19:07 jdumars

Same issue with v1.6.6

Master

System Info:
 Machine ID:			d51d78572977e1688e52c5fcf9b253e7
 System UUID:			1532CF9E-11EA-1644-B1B7-EF87792E77F8
 Boot ID:			522c1756-c1e6-4f81-9550-d3d183793b26
 Kernel Version:		4.4.0-81-generic
 OS Image:			Debian GNU/Linux 8 (jessie)
 Operating System:		linux
 Architecture:			amd64
 Container Runtime Version:	docker://1.12.6
 Kubelet Version:		v1.6.6
 Kube-Proxy Version:		v1.6.6

Nodes

System Info:
 Machine ID:			
 System UUID:			
 Boot ID:			
 Kernel Version:		
 OS Image:			
 Operating System:		windows
 Architecture:			amd64
 Container Runtime Version:	docker://17.3.1
 Kubelet Version:		v1.6.4-beta.0.147+2b3fc68910b4dd
 Kube-Proxy Version:		v1.6.4-beta.0.147+2b3fc68910b4dd

splebel avatar Jul 05 '17 19:07 splebel

I'm having the same issue. I'm also now getting errors on certain nodes that there is insufficient disk space on the node. Could that be related to this issue?

BuairtRi avatar Aug 29 '17 07:08 BuairtRi

I am getting the same issue on acs-engine v0.8.0 with Kubernetes 1.8. Is there an update on this issue?

pdeligia avatar Oct 23 '17 12:10 pdeligia

it's due to cadivisor does not work well on Windows node, see: https://github.com/kubernetes/kubernetes/blob/release-1.7/pkg/kubelet/images/image_gc_manager.go#L261

andyzhangx avatar Nov 28 '17 09:11 andyzhangx

k8s v1.8.2 does not have this issue any more:

Events:
  Type    Reason                 Age              From                      Message
  ----    ------                 ----             ----                      -------
  Normal  NodeHasSufficientDisk  3m (x8 over 3m)  kubelet, 29914k8s9000     Node 29914k8s9000 status is now: NodeHasNoDiskPressure
  Normal  Starting               23s              kube-proxy, 29914k8s9000  Starting kube-proxy.
  Normal  Starting               17s              kubelet, 29914k8s9000     Starting kubelet.
  Normal  NodeHasSufficientDisk  17s              kubelet, 29914k8s9000     Node 29914k8s9000 status is now: NodeHasSufficientDisk

andyzhangx avatar Nov 28 '17 09:11 andyzhangx

Occurs on kubernetes 1.8.4 (hybrid cluster, on windows nodes)

Events:
  Type     Reason         Age               From                   Message
  ----     ------         ----              ----                   -------
  Warning  ImageGCFailed  2m (x22 over 1h)  kubelet, 22951k8s9011  rpc error: code = Unknown desc = not implemented
kubectl get nodes
NAME                        STATUS    AGE       VERSION
22951k8s9010                Ready     2h        v1.8.4-20+75463ace30b8ff
22951k8s9011                Ready     2h        v1.8.4-20+75463ace30b8ff
k8s-linuxpool1-22951374-0   Ready     2h        v1.8.4
k8s-linuxpool1-22951374-1   Ready     2h        v1.8.4
k8s-master-22951374-0       Ready     2h        v1.8.4

cypres avatar Jan 02 '18 22:01 cypres

@andyzhangx I am getting the above errors on a 1.8.2 cluster.

campbelldgunn avatar Mar 09 '18 17:03 campbelldgunn

@duedal @campbelldgunn sorry I was wrong, it was fixed in v1.8.6 You could find details about this issue here: https://github.com/andyzhangx/demo/tree/master/windows/cadvisor Anyway, it's a cadvisor warning issue, not a blocking issue.

andyzhangx avatar Mar 10 '18 03:03 andyzhangx

I'm closing this old issue since acs-engine is deprecated in favor of aks-engine.

mboersma avatar Jan 19 '19 14:01 mboersma