-
Notifications
You must be signed in to change notification settings - Fork 97
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
/run/cos/active doesn't correctly size based on the ISO #1942
Comments
this is kairos 2.3.1 which ships agent v2.1.12 which doesnt have a lot of the improvements required for the auto-size or override of system size via cloud-config values. talked to @cog-nick in slack and recommended bumping the agent to latest stable version which should fix this. If this doesnt work or bumping the agent doesnt work for you we can still workaround this. The old method was to have a /etc/elemental/config.yaml file with those values, which kairos-agent read and use for setting several values. We can override those values by creating a file under that path with the following values: /etc/elemental/config.yaml
Notice that this file does not need the |
This seems like it would be fixed based on the feedback and improvements to the size calculation. Feel free to reopen if needed. |
Kairos version:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
CPU architecture, OS, and Version:
Linux controller 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
When I use a custom base Docker Image (Ubuntu + Packages), /run/cos/active runs out of size (the loopback) on the initial install. This is likely due to it not being sized correctly w.r.t to the ISO
To Reproduce
Docker Image:
I think you'll see the same issue without the Helm charts since until adding packages from apt, packaging helm charts for air gap install worked without a hitch.
Cloud Init:
Expected behavior
That it successfully installs by correct sizing
/run/cos/active
to be larger than a 3.0GB loopback device.Logs
I can't capture it when from the target device, but it's your standard "out of space" error when you fill a disk on Linux.
Additional context
The text was updated successfully, but these errors were encountered: