Project

General

Profile

Actions

Feature #21904

closed

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

Added by Brian Bouterse over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Katello - Bug #21806: Create dnf versions of our yum pluginsRejectedJonathon Turel11/29/2017Actions
Actions #1

Updated by Andrew Kofink over 6 years ago

  • Category set to Client/Agent
  • translation missing: en.field_release set to 114
Actions #2

Updated by Justin Sherrill about 6 years ago

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

Updated by Jeff Ortel about 6 years 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.
Actions #4

Updated by Jeff Ortel almost 6 years ago

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

Also available in: Atom PDF