Bug 1627372
| Summary: | [RFE] Satellite 6 is unable to sync third party repository if upstream provides primary.xml only | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sunayana <suarora> |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED WONTFIX | QA Contact: | Kersom <koliveir> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.2 | CC: | bkearney, bmbouter, daviddavis, dhjoshi, dkliban, fperalta, ggainey, ipanova, m, mvanderw, rchan, satellite6-bugs, ttereshc |
| Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-20 16:19:47 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: | |||
|
Description
Sunayana
2018-09-10 15:30:42 UTC
It's not only about filelists.xml, the same requirement is for other.xml. The repomd.xml in the description has reference to the primary.xml only. It was discussed before and it was advised by the yum devs that such repository is treated as malformed since not all functionality will be available in that case, e.g. files search. See BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1267579#c8 And the upstream discussion: https://pulp.plan.io/issues/1287#note-15 Satellite6/Pulp relies on the remote metadata, one of the main use cases is on_demand download, so all search and content management happens based on metadata, without access to the rpms themselves. There are more complexities to this request, e.g. one day user decides to create a repo without filelists and the other day with, and the expectation would be that rpms are updated accordingly in Satellite6 and now contain filelists information. RPMs are identified by NEVRA and the way currently the de-duplication works those rpms will stay without filelists after update. Just to set proper expectations: it's not a small and quick change and it's a question whether to do it or not. Let's discuss it here. Tanya, does yum and|or dnf support this repo? if so, pulp should. Bryan, yum is able to sync such repos and install content from them. The file search functionality won't work. I haven't tried dnf but here is a reply from them: "DNF could eventually work with primary.xml only assuming there are no file dependencies. filelists.xml is typically required for deps and necessary for file queries. At this moment filelists are required by DNF." It seems tome that it's not safe to accept a repo without filelists.xml. I'll ask DNF team for more details and if there is a way to identify in primary.xml whether we should require filelists or not. Tanya: Thanks for the response. I think the customers POV is that if yum works, then pulp should handle it. That's probably fair. If yum/dnf doesn't work properly with the upstream repo and with a repo from Satellite in a same way, it's ok. David, should we create a new upstream issue for that? Or any other opinions? Adding upstream issue. https://pulp.plan.io/issues/4070 The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. I talked with RPM team and the general feeling is that Pulp shouldn't support this. While yum may support this, it introduces data integrity problems that yum probably doesn't have to contend with. For example, RPMs are immutable in Pulp and Pulp de-duplicates RPMs by NEVRA so if a package gets synced without its filelist, it will remain that way even if another source has a filelist for the package. We're hesitant to support this feature because of the potential bugs it'll create for users. Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you. The Pulp upstream bug status is at CLOSED - WONTFIX. Updating the external tracker on this bug. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |