Project

General

Profile

Actions

Bug #22229

closed

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

Added by Anurag Patel about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
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]

Actions #1

Updated by Amit Upadhye almost 6 years ago

  • Assignee changed from Anurag Patel to Amit Upadhye
Actions #2

Updated by The Foreman Bot over 5 years ago

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

Updated by Amit Upadhye over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ivan Necas over 5 years ago

  • Fixed in Releases foreman_maintain-0.3.0 added
Actions

Also available in: Atom PDF