Project

General

Profile

Actions

Bug #37776

open

Improve available_space Check in foreman_maintain

Added by Pablo Fernández Rodríguez 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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 patition

Is this issue a regression from an earlier version:

No

Actual behavior:
The space_available Check fails

Expected behavior:
Check should be success as long as /var/cache had enough space

Actions #1

Updated by Pablo Fernández Rodríguez 3 months ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/924 added
Actions

Also available in: Atom PDF