Bug 1668052

Summary: [RFE] Add support for module dependency resolution
Product: Red Hat Satellite Reporter: Tanya Tereshchenko <ttereshc>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Brian Herring <bherring>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bherring, bmbouter, daviddavis, dkliban, egolov, ggainey, ipanova, pcreech, rchan, rochacbruno, ttereshc
Target Milestone: 6.7.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pulp-rpm-2.19.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:23:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1723590, 1725957, 1726139    
Bug Blocks:    

Description Tanya Tereshchenko 2019-01-21 19:43:04 UTC
Pulp lacks the ability to perform dependency solving at a module level and to copy dependent modules and their artifacts during recursive copy operation.

It's important for modules to have all their artifacts present in a repo.
Regardless of the depsolving strategy for RPMs, all module artifacts and related modules should be copied to a target repo. 
E.g if the target repository already contains units newer than a module requires, the module-required units need to be copied in the older version, in addition to the already present units.

Modules may depend on other modules, either for the build- or the run-time. 
https://docs.fedoraproject.org/en-US/modularity/making-modules/defining-modules/#_advanced_dependencies_optional.

Pulp should perform dependency solving based on runtime dependencies only.

Comment 2 pulp-infra@redhat.com 2019-01-21 20:01:46 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2019-01-21 20:01:47 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2019-01-22 17:31:38 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2019-01-22 18:02:33 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 6 Robin Chan 2019-01-22 18:55:11 UTC
Should this ticket explicitly include module errata as well? Or was that intentionally left out of the description?

Comment 7 pulp-infra@redhat.com 2019-03-20 09:32:14 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 8 pulp-infra@redhat.com 2019-04-02 21:01:59 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 14 errata-xmlrpc 2020-04-14 13:23:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1454