Bug 2223931 - In-place upgrade post-upgrade steps fail due to foreman-protector [NEEDINFO]
Summary: In-place upgrade post-upgrade steps fail due to foreman-protector
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.11.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Akshay Gadhave
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 10:01 UTC by Julio Entrena Perez
Modified: 2023-08-11 08:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
mportman: needinfo? (sjalgaon)
mportman: needinfo? (agadhave)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19212 0 None None None 2023-07-27 13:31:06 UTC

Description Julio Entrena Perez 2023-07-19 10:01:53 UTC
Description of problem:
"Chapter 4. Upgrading Satellite or Capsule to Red Hat Enterprise Linux 8 In-Place Using Leapp" in its step 10 points customers to post-upgrade tasks covered in RHEL 8 in-place upgrades documents.

These steps involve yum commands that fail due to foreman-protector blocking access to all content.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Follow link in step 10 that points to "Chapter 7. Performing post-upgrade tasks" of the "Upgrading from RHEL 7 to RHEL 8" document.
2. Attempt the yum commands
3.

Actual results:
# dnf reinstall -y kernel-core-$(uname -r)
Updating Subscription Management repositories.

This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

Last metadata expiration check: 2:03:09 ago on Tue Jul 11 14:03:37 2023.
Reading Foreman protector configuration
Excluded total: 43130

WARNING: Excluding 43130 packages due to foreman-protector.
Use foreman-maintain packages install/update <package>
to safely install packages without restrictions.
Use foreman-maintain upgrade run for full upgrade.

Installed package kernel-core-4.18.0-477.15.1.el8_8.x86_64 not available.
Error: No packages marked for reinstall.

Expected results:
Step 10 of "Chapter 4. Upgrading Satellite or Capsule to Red Hat Enterprise Linux 8 In-Place Using Leapp" should suggest users to temporarily disable foreman-protector before jumping to "Chapter 7. Performing post-upgrade tasks" or to explicitly disable foreman-protector in every yum/dnf command.

Additional info:


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