Mirantis / Mirantis/cri-dockerd

[v1.31] ImageGCFailed due to missing image stats

Open
#408 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.4k
Forks
356
Avg merge
4d 4h
Merged PRs (30d)
3

Description

ImageGCFailed

 missing image stats: &ImageFsInfoResponse{ImageFilesystems:[]*FilesystemUsage{&FilesystemUsage{Timestamp:1729236001883118031,FsId:&FilesystemIdentifier{Mountpoint:/var/lib/docker,},UsedBytes:&UInt64Value{Value:3767446738,},InodesUsed:&UInt64Value{Value:227193,},},},ContainerFilesystems:[]*FilesystemUsage{},} 

In version v1.31, the feature gate KubeletSeparateDiskGC is enabled, and the ImageFsInfoResponse now includes container filesystem information. https://github.com/kubernetes/kubernetes/pull/120914

Workaround

Disable KubeletSeparateDiskGC

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by tracing the ImageFsInfoResponse handling related to KubeletSeparateDiskGC and compare the v1.31 response described here with the runtime's expectations. Done means ImageGC no longer fails when container filesystem information is included, and disabling KubeletSeparateDiskGC is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.