Bug 1561140
| Summary: | Fix validating availability of repositories error message | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | sthirugn <sthirugn> |
| Component: | Satellite Maintain | Assignee: | Amit Upadhye <aupadhye> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | apatel, aupadhye, bkearney, inecas, jpathan, kgaikwad |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | foreman_maintain-0.2.8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-05 16:25:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream bug assigned to kgaikwad Upstream bug assigned to kgaikwad Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/23152 has been resolved. Verified
@satellite 6.5.0 snap 9
rubygem-foreman_maintain-0.3.0-1.el7sat.noarch
steps:
1. Remove the satellite registration consumer in portal.
# subscription-manager refresh
# foreman-maintain upgrade check --target-version 6.5.z
Running Checks before upgrading to Satellite 6.5.z
================================================================================
Check for verifying syntax for ISP DHCP configurations: [OK]
--------------------------------------------------------------------------------
Check whether all services are running: [OK]
--------------------------------------------------------------------------------
Check whether all services are running using hammer ping: [OK]
--------------------------------------------------------------------------------
Check for paused tasks: [OK]
--------------------------------------------------------------------------------
Check to make sure root(/) partition has enough space: [OK]
--------------------------------------------------------------------------------
Check to validate candlepin database: [OK]
--------------------------------------------------------------------------------
Check if EPEL repository enabled on system:
/ Checking for presence of EPEL repository [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 : 38 MB/sec [FAIL]
Slow disk detected /var/lib/pulp mounted on /dev/mapper/rhel_dell--pe--fm120--1b-root.
Actual disk speed: 38 MB/sec
Expected disk speed: 60 MB/sec.
--------------------------------------------------------------------------------
Check whether reports have correct associations: [OK]
--------------------------------------------------------------------------------
Validate availability of repositories:
/ Some repositories missing, calling `subscription-manager refresh` [FAIL]
Failed executing subscription-manager refresh, exit status 70:
Unit 07220899-69b1-4e08-9dbe-958a95ec57e7 has been deleted
--------------------------------------------------------------------------------
Scenario [Checks before upgrading to Satellite 6.5.z] 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"
The current version of foreman_maintain includes this fix. |
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 Steps to Reproduce: 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: