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

Fixes #37776 Improve available_space Check in foreman_maintain #924

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pafernanr
Copy link

Description of problem:

The / free-space check was included in foreman_maintain but it was from the perspective of yum not able to complete the package updates due to lack of disk space in /var/cache , under the assumption that it was residing under / itself.

Mostly people would have a seperate FS for /var or have a large enough / to work with. And those with separate /var partition may not even need 4 GB free space in /.

There are some scenarios where Check fails even when there is plenty of space to handle the yum transaction

How reproducible:

Always when / partition available space < 4096 and /var/ has enough partition

Is this issue a regression from an earlier version:

No

Actual behavior:
The space_available Check fails

@pafernanr
Copy link
Author

Hey @sayan3296, this is the PR we were talking about

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.

2 participants