Project

General

Profile

Bug #22229

foreman-maintain not checking disk space during health check or upgrade check

Added by Anurag Patel over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

From Bugzilla:

Description of problem:
foreman-maintain tool not checking disk space during health check or upgrade check.

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.0.11-1.el7sat.noarch

How reproducible:

Always

Steps to Reproduce:

1. Create a dummy file with dd command to fill up the / or any other partition
2. Execute below command to check the health check or upgrade check:
~~~
  1. foreman-maintain health check
  2. foreman-maintain upgrade check --target-version 6.2.z
    ~~~

Actual results:
upgrade check pass with no fail or warning.

Expected results:
Should fail or warn about the disk space

Additional info:
foreman-maintain checking the disk speed but not the disk space.

[root@satellite ~]# foreman-maintain health list
[foreman-tasks-not-paused] Check for paused tasks [default]
[foreman-tasks-not-running] Check for running tasks [pre-upgrade]
[check-old-foreman-tasks] Check for old tasks in paused/stopped state [pre-upgrade]
[check-foreman-tasks-in-pending-state] Check for pending tasks which are safe to delete [pre-upgrade]
[check-foreman-tasks-in-planning-state] Check for tasks in planning state [pre-upgrade]
[disk-io] Check for recommended disk speed of pulp, mongodb, pgsql dir. [pre-upgrade]
[hammer-ping] Check whether all services are running using hammer ping [default]

Associated revisions

Revision d632ddea (diff)
Added by Amit Upadhye 10 months ago

Fixes #22229 - Check For Available Disk Space

History

#1 Updated by Amit Upadhye about 1 year ago

  • Assignee changed from Anurag Patel to Amit Upadhye

#2 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/213 added

#3 Updated by Amit Upadhye 10 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ivan Necas 8 months ago

  • Fixed in Releases foreman_maintain-0.3.0 added

Also available in: Atom PDF