Project

General

Profile

Feature #26216

Implement a yum version lock type of protections against upgrades

Added by Martin Bacovsky 3 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1512600

Breaking out part of the RFE from

https://bugzilla.redhat.com/show_bug.cgi?id=1184568

Specifically, that there should be a version lock so that a customer can not upgrade the satellite exception through approved tools like foreman maintain.


Related issues

Blocks Installer - Feature #26409: Lock package versions after installationClosed

Associated revisions

Revision 331cfe50 (diff)
Added by Martin Bacovsky 10 days ago

Fixes #26216 - Lock package versions to protect against upgrades

Adds ability to lock versions of packages of
Foreman/Katello/Satellite and its dependences to prevent it
from partial upgrade during common system update.

The locking consists of three parts:
- make sure the tooling is installed and configured properly
- collect list of packages to lock
- do the actual locking

New commands were added to foreman_maintain:

$ foreman-maintian packages lock
$ foreman-maintian packages unlock

New feature :package_manager is introduced. It serves as a proxy
for package manipulation commands and dispatches the calls to
the PackageManager implementation that match what is installed.
In the initial version only yum is supported. Apt is in progress though
and will be added soon. The system helpers were redirected to
the package manager which should allow seamless support for
debian once the apt manager is added.

The version locking itself is implemented in the package manager
and should match what system supports The same pays for checks
and instalation of the related tooling.

History

#1 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/249 added

#2 Updated by Martin Bacovsky 2 months ago

  • Assignee changed from Anurag Patel to Martin Bacovsky

#3 Updated by Martin Bacovsky 2 months ago

  • Blocks Feature #26409: Lock package versions after installation added

#4 Updated by Martin Bacovsky 2 months ago

  • Status changed from New to Assigned

#5 Updated by The Foreman Bot about 2 months ago

  • Status changed from Assigned to Ready For Testing

#6 Updated by Martin Bacovsky 10 days ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF