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

Combustion fails when combustion directory content is larger than half of the RAM of the system #319

Closed
dbw7 opened this issue Mar 14, 2024 · 2 comments · Fixed by #336
Closed
Assignees
Labels
bug Something isn't working triaged The team has reviewed the issue
Milestone

Comments

@dbw7
Copy link
Contributor

dbw7 commented Mar 14, 2024

Combustion works by copying all of the contents of the combustion directory into /dev/shm/combustion/config. During combustion, /dev/shm can use up to half of the system's RAM. In the situation where the size of the contents of the combustion directory exceeds half of the system's RAM, combustion will fail with this error:

[   18.546874] localhost combustion[725]: cp: error writing '/dev/shm/combustion//config/MYFILE': No space left on device

The current recommended solution is:

Place big files outside of that folder (/combustion) and inside the combustion script do mount /dev/disk/by-label/combustion /mnt and access the drive directly

@dbw7 dbw7 added bug Something isn't working triaged The team has reviewed the issue labels Mar 14, 2024
@dbw7 dbw7 added this to the 1.0.0 milestone Mar 14, 2024
@ipetrov117
Copy link
Contributor

This applies to the rpm-repo directory that is currently at /combustion. It has the potential to seriously grow in size, depending on how many RPMs does the user want to install. I am sure you have this in mind, but I wanted to put this here so we do not miss it.

@e-minguez
Copy link
Contributor

Just FYI I've been trying to deploy a cluster with a few helm charts for edge components (metal3, longhorn, cert-manager & rancher, the only one left was the neuvector one) and this happened to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged The team has reviewed the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants