Bug 2211967
Summary: | Pulp_rpm publishes incorrect location_href for manually uploaded rpm's in custom repositories. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Caleb Denney <caleb.denney> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED DUPLICATE | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.12.3 | CC: | dalley, rlavi |
Target Milestone: | Unspecified | Keywords: | 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: | 2023-09-04 22:46:07 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
Caleb Denney
2023-06-02 19:00:04 UTC
Looking at pulp_rpm in github and in their docs, it appears that the location_href for manually uploaded files follows their NEVRA naming scheme (name, epoch, version, release, arch), which is what we're seeing in the metadata as intended. Therefore, the package names appearing in the published_at url are incorrect and should be following the NEVRA naming scheme. Not sure if this is pulp issue or a katello issue. *** This bug has been marked as a duplicate of bug 2161993 *** Keep in mind the repositories need to be republished for any effect to be taken. I believe there were also some instructions here regarding fixing data that is already in Pulp which may be "wrong" with respect to the intended behaviors. https://bugzilla.redhat.com/show_bug.cgi?id=2151657#c18 Actually @caleb, it looks like this was fixed in 6.12.4, not 6.12.3. Were you looking at the version for which there was a hotfix delivered? Thank you for the 2151657 link, I thought the pulp data was supposed to be immutable to the point that the href relative paths weren't editable. As for 2161993, this does appear to be a duplicate of that bug, but the bug is still present in 6.12.4 according to Jens Rudolf. Fixes present in 6.13.0 and 6.14.0 snap 8 according to Paul Donohue and Shweta Singh respectively. We are on build 6.12.4.1 now. I will try to verify if the behavior is fixed and report back. Otherwise, we plan to do a 6.13 upgrade in Q4. It should be fixed going forwards, but it doesn't automatically fix packages which were already saved with the wrong value. You should work with support to resolve that issue for any existing saved content - I think there is already (or at least there can be) some automated way to do this rather than relying on the manual method described in that comment.
>> I thought the pulp data was supposed to be immutable to the point that the href relative paths weren't editable
In terms of the operation of the app, yes, but of course if there's incorrect data that can be fixed in the database.
|