Bug #23152
closedFix validating availability of repositories error message
Description
Description of problem:
Fix validating availability of repositories error message
Version-Release number of selected component (if applicable):
rubygem-foreman_maintain.noarch 0:0.1.5-1.el7sat
How reproducible:
Always
1. Remove the satellite registration consumer in portal.
- subscription-manager refresh
Unit 9f329be9-690e-4dc1-8f78-5c68b5d2e325 has been deleted
- foreman-maintain upgrade check --target-version 6.3
Running Checks before upgrading to Satellite 6.3 ================================================================================
Check for paused tasks: [OK]
--------------------------------------------------------------------------------
Check whether all services are running using hammer ping: [OK]
--------------------------------------------------------------------------------
Check to validate candlepin database: [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
Disk speed : 68 MB/sec [FAIL]
Slow disk detected /var/lib/pulp mounted on /dev/mapper/rhel_dhcp--10--12--211--51-root.
Actual disk speed: 68 MB/sec
Expected disk speed: 80 MB/sec.
--------------------------------------------------------------------------------
Check to verify remote_execution_ssh settings already exist: [OK]
--------------------------------------------------------------------------------
Validate availability of repositories:
/ Validating availability of repositories for 6.3Consumer profile "9f329be9-690e-4dc1-8f78-5c68b5d2e325" has been deleted from the server. You can use command clean or unregister to remove local profile.
/ Some repositories missing, calling `subscription-manager refresh` [FAIL]
Failed executing subscription-manager refresh, exit status 70:
Unit 9f329be9-690e-4dc1-8f78-5c68b5d2e325 has been deleted
--------------------------------------------------------------------------------
Scenario [Checks before upgrading to Satellite 6.3] failed.
The following steps ended up in failing state:
[disk-performance]
[repositories-validate]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="disk-performance,repositories-validate"
Actual results:
/ Validating availability of repositories for 6.3Consumer profile "9f329be9-690e-4dc1-8f78-5c68b5d2e325" has been deleted from the server. You can use command clean or unregister to remove local profile.
Expected results:
`/ Validating availability of repositories for 6.3` and `Consumer profile "9f329be9-690e-4dc1-8f78-5c68b5d2e325" has been deleted from the server. You can use command clean or unregister to remove local profile.` are separate statements, and should be displayed correctly.
Additional info:
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/194 added
Updated by Amit Upadhye over 6 years ago
- Assignee changed from Kavita Gaikwad to Amit Upadhye
Updated by Amit Upadhye about 6 years ago
- Status changed from New to Closed
Applied in changeset foreman_maintain|a4ae48c50dafa75130cfe372b42231b281146362.