Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2095506 - foreman-protector locking plugin should allow leapp to be installed
Summary: foreman-protector locking plugin should allow leapp to be installed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-09 19:46 UTC by Lukas Pramuk
Modified: 2023-05-19 20:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
*Installing the Leapp utility does not work with the `foreman-protector locking` plugin* As of the current release, you cannot install the Leapp utility using ‘yum install leapp` while simultaneously using the `foreman-protector` locking plugin. To install the Leapp utility under these conditions, run `satellite-maintain packages install leapp`.
Clone Of:
Environment:
Last Closed: 2023-05-19 20:16:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-14346 0 None None None 2022-12-08 15:50:07 UTC
Red Hat Knowledge Base (Solution) 6966649 0 None None None 2022-07-06 17:21:23 UTC

Description Lukas Pramuk 2022-06-09 19:46:25 UTC
Description of problem:
foreman-protector locking plugin should allow leapp to be installed.
There is no need to run installer if leapp gets installed.

In documentation we can't advise "yum --disableplugin=foreman-protector install leapp" while advisable  "satellite-maintain packages install leapp" involves an extra unnecessary installer run.

Lets add an exception for leapp & co. in order to be able to document just
"yum install leapp"


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

How reproducible:
deterministic

Steps to Reproduce:
1. Have a Satellite on EL7
2. Enable extras repo and try to install leapp

# yum install leapp
...

WARNING: Excluding 13043 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.

No package leapp available.
Error: Nothing to do


Actual results:
foreman-protector locking plugin prevents yum to install leapp

Expected results:
foreman-protector locking plugin allows to install leapp by yum

Additional info:

RPMs to be added on whitelist:
leapp
leapp-deps
python2-leapp
leapp-upgrade-el7toel8
leapp-upgrade-el7toel8-deps
dnf
dnf-data
python2-dnf
libdnf
python2-libdnf
libmodulemd
librepo
libreport-filesystem
librhsm
libsolv0
python2-hawkey
python2-libcomps
json-glib

Comment 2 sabuchan 2022-06-14 19:05:36 UTC
RN draft:
You can not currently install LEAPP while using the `foreman-protector` locking plugin simultaneously. In order to install LEAPP under these conditions… (tagged @lpramuk both here & in the BZ doc to find out if this information is correct and whether there is either a workaround or a fix planned for a future release.)

doc: https://docs.google.com/document/d/1xMkjPbkwF9ZJ95tEcWYmRRqVdusIZENHZsL3-B3YvJw/edit

Comment 3 Lukas Pramuk 2022-06-15 14:07:09 UTC
We would like to fix it in 6.11.z so that users can run just:

# yum install leapp

In the meantime they are instead required to run:

# satellite-maintain packages install leapp

(which takes some time as it involves extra installer run)

Comment 4 sabuchan 2022-06-15 20:42:08 UTC
Final RN:
*Installing the Leapp utility does not work with the `foreman-protector locking` plugin*

As of the current release, you cannot install the Leapp utility using ‘yum install leapp` while simultaneously using the `foreman-protector` locking plugin. 
To install the Leapp utility under these conditions, run `satellite-maintain packages install leapp`.

Comment 6 Eric Helms 2023-05-19 20:16:07 UTC
Given the release note, work around and this being on Satellite 6.11 I am going to opt to close this.


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