Bug 2043742 - foreman-rake katello:approve_corrupted_migration_content fails with services
Summary: foreman-rake katello:approve_corrupted_migration_content fails with services
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.9.9
Assignee: Ian Ballou
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-21 21:57 UTC by Taft Sanders
Modified: 2022-04-20 20:35 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-katello-3.18.1.51-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 20:34:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34419 0 Normal Closed foreman-rake katello:approve_corrupted_migration_content fails with services 2022-02-23 19:06:16 UTC
Red Hat Knowledge Base (Solution) 6660801 0 None None None 2022-01-21 22:13:49 UTC
Red Hat Product Errata RHSA-2022:1478 0 None None None 2022-04-20 20:35:01 UTC

Description Taft Sanders 2022-01-21 21:57:59 UTC
Description of problem:
foreman-rake katello:approve_corrupted_migration_content fails with services reporting in error state because pulp3 is being checked.

Version-Release number of selected component (if applicable):
tfm-rubygem-katello-3.18.1.46-1.el7sat.noarch

How reproducible:
Unknown

Steps to Reproduce:
1. On a Satellite 6.9 pulp2to3 migration with corrupted content reported
2. Run the approve_corrupted_migration_content rake and see the services reported as error.
3.

Actual results:
Running the rake command shows services in error state while `hammer ping` and `foreman-maintain service status` show all services "OK"

Expected results:
- Rake to properly to provide "OK" or "FAIL" for each service checked when running with --trace.

- Remove pulp3 service from this check if not needed.

Additional info:

Comment 2 Justin Sherrill 2022-02-08 20:01:51 UTC
Created redmine issue https://projects.theforeman.org/issues/34419 from this bug

Comment 3 Bryan Kearney 2022-02-23 00:05:09 UTC
Upstream bug assigned to iballou

Comment 4 Bryan Kearney 2022-02-23 00:05:11 UTC
Upstream bug assigned to iballou

Comment 5 Bryan Kearney 2022-02-23 20:05:15 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34419 has been resolved.

Comment 12 errata-xmlrpc 2022-04-20 20:34:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.9.9 Async Bug Fix Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1478


Note You need to log in before you can comment on or make changes to this bug.