Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retain_package_versions not pulling RPM's in a few instances #3895

Closed
i-hate-picking-usernames opened this issue Feb 24, 2025 · 3 comments
Closed

Comments

@i-hate-picking-usernames

Version
pulppore = 3.69.2
pulp_rpm = 3.27.2

Describe the bug
Have cloned the "rhel-8-baseos-rpms" repo to a new repository with "retain_package_versions=1". After doing this, the rpm & python3-libselinux rpms are not found. If I set retain_package_versions=2 and perform the client, I get 2 versions of all RPM's and 1 version of the above RPM's published.

To Reproduce
Steps to reproduce the behavior:
Clone rhel-8-baseos-rpms into a new repository with retain_package_versions=1. You'll see the above two RPM's are not found.

Expected behavior
Would expect the new published repo to contain 1 version of each RPM. This is the case with the exception of these two RPM's.

Additional context
N/A.

@dralley
Copy link
Contributor

dralley commented Feb 25, 2025

So I tried this out and I don't seem to be able to reproduce

<a href="rpcbind-1.2.5-10.el8.x86_64.rpm">rpcbind-1.2.5-10.el8.x86_64.rpm</a>                                                                     25-Feb-2025 02:41  71.7 kB
<a href="rpm-4.14.3-32.el8_10.x86_64.rpm">rpm-4.14.3-32.el8_10.x86_64.rpm</a>                                                                     25-Feb-2025 02:41  557.7 kB
<a href="rpm-apidocs-4.14.3-32.el8_10.noarch.rpm">rpm-apidocs-4.14.3-32.el8_10.noarch.rpm</a>                                                             25-Feb-2025 02:41  1.8 MB
<a href="rpm-build-libs-4.14.3-32.el8_10.i686.rpm">rpm-build-libs-4.14.3-32.el8_10.i686.rpm</a>                                                            25-Feb-2025 02:41  171.6 kB
<a href="python3-libs-3.6.8-69.el8_10.x86_64.rpm">python3-libs-3.6.8-69.el8_10.x86_64.rpm</a>                                                             25-Feb-2025 02:41  8.3 MB
<a href="python3-libselinux-2.9-9.el8_10.x86_64.rpm">python3-libselinux-2.9-9.el8_10.x86_64.rpm</a>                                                          25-Feb-2025 02:41  290.3 kB
<a href="python3-libsemanage-2.9-10.el8_10.x86_64.rpm">python3-libsemanage-2.9-10.el8_10.x86_64.rpm</a>                                                        25-Feb-2025 02:41  131.5 kB
[root@6d1453b974cc src]# zcat fa90de5a66b98a2328342cdfc5a497685edcf6e8d82ebe19b4465f849206e6e8-primary.xml.gz | rg python3-libselinux
  <name>python3-libselinux</name>
  <location href="Packages/p/python3-libselinux-2.9-9.el8_10.x86_64.rpm"/>

That's syncing from the URL https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/

Granted, I didn't use the exact same versions as you, but the versions are very close and nothing has changed in that area lately

@dralley
Copy link
Contributor

dralley commented Feb 25, 2025

What precisely do you mean by "not found"? Are they in the repository but 404 when you try to download them, or are they not listed either?

@i-hate-picking-usernames
Copy link
Author

Thanks @dralley. I had been able to reproduce on 3 separate systems, however after re-cloning into an existing repo, these two RPM's pulled in last night. I'm at a loss as to what the issue is/was.

I also had looked at the pulp_rpm python code and couldn't find any reason for this. I'll close this issue and see if I consistently reproduce this. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants