Skip to content
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

kubeadm: increase qemu disk size #482

Merged
merged 1 commit into from
Nov 10, 2023
Merged

kubeadm: increase qemu disk size #482

merged 1 commit into from
Nov 10, 2023

Conversation

tormath1
Copy link
Contributor

With recent addition of NFS test, 2.0GB for the root are not enough for supporting the Cilium and Calico CNI tests.

Here's the bin image root size:

Filesystem      Size  Used Avail Use% Mounted on
/dev/vda9       2.0G   25M  1.8G   2% /

Which leads to this kind of issue:

./qemu_uefi/_kola_temp/qemu-2023-11-09-2319-12/kubeadm.v1.26.5.cilium.base/fb58ff34-536c-45d3-9dcf-84a6e5f97606/journal.txt:2197:Nov  9 23:25:13.213761 kubelet[2155]: E1109 23:25:13.213543    2155 kuberuntime_image.go:53] "Failed to pull image" err="rpc error: code = Unknown desc = failed to pull and unpack image \"quay.io/cilium/cilium@sha256:06ce2b0a0a472e73334a7504ee5c5d8b2e2d7b72ef728ad94e564740dd505be5\": failed to extract layer sha256:e740935483f7a73330abd4cbc9a1d31fc068bd57fe9e037cb819828305ce43ec: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/51/fs/usr/bin/cilium: no space left on device: unknown" image="quay.io/cilium/cilium:v1.12.5@sha256:06ce2b0a0a472e73334a7504ee5c5d8b2e2d7b72ef728ad94e564740dd505be5"

or

cluster.go:125: Error: mkdir /home/core/.config: no space left on device
kubeadm.go:297: unable to add helm NFS repo: Process exited with status 1

On OpenStack, Cilium tests takes around 2.1Gb minimum.

With recent addition of NFS test, 2.0GB for the root are not enough
for supporting the Cilium and Calico CNI tests.

Here's the bin image root size:
```
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda9       2.0G   25M  1.8G   2% /
```

Which leads to this kind of issue:
```
./qemu_uefi/_kola_temp/qemu-2023-11-09-2319-12/kubeadm.v1.26.5.cilium.base/fb58ff34-536c-45d3-9dcf-84a6e5f97606/journal.txt:2197:Nov  9 23:25:13.213761 kubelet[2155]: E1109 23:25:13.213543    2155 kuberuntime_image.go:53] "Failed to pull image" err="rpc error: code = Unknown desc = failed to pull and unpack image \"quay.io/cilium/cilium@sha256:06ce2b0a0a472e73334a7504ee5c5d8b2e2d7b72ef728ad94e564740dd505be5\": failed to extract layer sha256:e740935483f7a73330abd4cbc9a1d31fc068bd57fe9e037cb819828305ce43ec: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/51/fs/usr/bin/cilium: no space left on device: unknown" image="quay.io/cilium/cilium:v1.12.5@sha256:06ce2b0a0a472e73334a7504ee5c5d8b2e2d7b72ef728ad94e564740dd505be5"
```

or
```
cluster.go:125: Error: mkdir /home/core/.config: no space left on device
kubeadm.go:297: unable to add helm NFS repo: Process exited with status 1
```

On OpenStack, Cilium tests takes around 2.1Gb minimum.

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 self-assigned this Nov 10, 2023
Copy link
Member

@pothos pothos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Member

@t-lo t-lo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smoke-tested this with the latest 3602 nightly OS image and the kubeadm.v1.28.1.calico.base test, works like a charm.

Thank you Mathieu for the quick turnaround!

@tormath1 tormath1 merged commit e602a9d into flatcar-master Nov 10, 2023
2 checks passed
@tormath1 tormath1 deleted the tormath1/qemu branch November 10, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants