Bug #22244
closed[Satellite - 6.3 - Beta] "--whitelist" option is not honoured for "foreman-maintain upgrade check"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1525454
Description of problem:
[Satellite - 6.3 - Beta] "--whitelist" option is not honoured for "foreman-maintain upgrade check"
Version-Release number of selected component (if applicable):
Satellite Server v.6.3 Beta
rubygem-foreman_maintain-0.0.11-1.el7sat.noarch
How reproducible:
Steps to Reproduce:
1. When we execute "foreman-maintain upgrade check", with --whitelist="disk-io", even though whitelist is specified the option is not honoured.
2.# foreman-maintain upgrade check --target-version 6.2.z --whitelist="disk-io"
Running preparation steps required to run the next scenarios
================================================================================
Procedures::Packages::Install:
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package hdparm-9.43-5.el7.x86_64 already installed and latest version
No package fio available.
Nothing to do
[OK]
--------------------------------------------------------------------------------
Running Checks before upgrading to Satellite 6.2.z
================================================================================
Check for paused tasks: [OK]
--------------------------------------------------------------------------------
Check whether all services are running using hammer ping: [OK]
--------------------------------------------------------------------------------
Check for running tasks: [OK]
--------------------------------------------------------------------------------
Check for old tasks in paused/stopped state: [OK]
--------------------------------------------------------------------------------
Check for pending tasks which are safe to delete: [OK]
--------------------------------------------------------------------------------
Check for tasks in planning state: [OK]
--------------------------------------------------------------------------------
Check for recommended disk speed of pulp, mongodb, pgsql dir.:
\ Finished [FAIL]
Slow disk detected /var/lib/pulp mounted on /dev/mapper/rhel-root.
Actual disk speed: 32 MB/sec
Expected disk speed: 80 MB/sec.
Actual results:
From the above result we can see that even though "--whitelist" option was specified it wasn't honoured and still, upgrade check failed for the same.
Expected results:
"--whitelist" option should be honoured for "foreman-maintain upgrade check"
Additional info: