foreman-maintain not checking disk space during health check or upgrade check
Description of problem:
foreman-maintain tool not checking disk space during health check or upgrade check.
Version-Release number of selected component (if applicable):
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:
- foreman-maintain health check
- foreman-maintain upgrade check --target-version 6.2.z
upgrade check pass with no fail or warning.
Should fail or warn about the disk space
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]
#3 Updated by Amit Upadhye 8 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|d632ddeacb415b228886f3352999adf9b4a0fa0f.