Project

General

Profile

Feature #21904

Add support for the katello-agent actions to use DNF and manage consumers without Pulp triggering actions

Added by Brian Bouterse over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Pulp may not convert the goferd consumer actions to support dnf commands. This means that in environments that don't have yum, goferd won't be able to trigger consumer actions. Perhaps that same code can be shipped with katello-agent and updated to also support dnf. It doesn't make sense for Pulp to add the dnf support. Pulp3 doesn't have any consumers, so adding new goferd dnf support only to drop it doesn't make sense (to me).

I'm proposing that issue be closed on the Pulp side as WONTFIX https://pulp.plan.io/issues/1875.


Related issues

Related to Katello - Bug #21806: Create dnf versions of our yum pluginsRejected2017-11-29

Associated revisions

Revision 0b287ce7 (diff)
Added by Jeff Ortel about 1 year ago

Support DNF and pulp handler. closes #21904.

Revision 0b287ce7 (diff)
Added by Jeff Ortel about 1 year ago

Support DNF and pulp handler. closes #21904.

History

#1 Updated by Andrew Kofink over 1 year ago

  • Legacy Backlogs Release (now unused) set to 114
  • Category set to Client/Agent

#2 Updated by Justin Sherrill over 1 year ago

  • Related to Bug #21806: Create dnf versions of our yum plugins added

#3 Updated by Jeff Ortel over 1 year ago

Plan

Add libdnf.py which will provide the same API as rpmtools (renamed: libyum.py).

Since the katello-agent plugin disables progress reporting through goferd, the dnf support will not include
progress reporting. Further, the progress reporting will be stripped from the yum code.

  • Package
    • install
    • update (all, specific packages, advisories)
    • uninstall
  • PackageGroup
    • install
    • uninstall

Add conditional import in the rpm.py handler to detect when DNF is available.

Open PR in https://github.com/Katello/katello that includes:

  • Refactor handler framework from pulp core to minimal.
  • RPM handler from the RPM plugin.
  • Port handler code to run on python 2.7+ and 3.

Hand off to katello team. This includes a developer deep dive.

Notes:

  • It may be challenging to support python 2.4 (EL5) and python3 (EL8).
  • This will require that the pulp2 agent API conform to semantic versioning.

#4 Updated by Jeff Ortel about 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF