Project

General

Profile

Actions

Bug #23152

closed

Fix validating availability of repositories error message

Added by Kavita Gaikwad about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

Steps to Reproduce:
1. Remove the satellite registration consumer in portal.
  1. subscription-manager refresh
    Unit 9f329be9-690e-4dc1-8f78-5c68b5d2e325 has been deleted
  1. 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:

Actions #1

Updated by Kavita Gaikwad about 6 years ago

  • Priority changed from Normal to Low
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/194 added
Actions #3

Updated by Amit Upadhye almost 6 years ago

  • Assignee changed from Kavita Gaikwad to Amit Upadhye
Actions #4

Updated by Amit Upadhye over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF