-
Notifications
You must be signed in to change notification settings - Fork 124
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
"00000000" modular context chomped to "0" #3454
Comments
|
On one hand, sticking to the yaml guidelines is best since it already has a large ruleset defined. On the other hand, we know that modular context will always be a string. I suppose whatever we do, the upstream repo owner should consider adding quotes in the repodata if possible. It makes me wonder if the repodata generation tool is failing to do so... Edit: remi repo support forum for any future readers: https://forum.remirepo.net/viewforum.php |
I attempted to reproduce this on the latest master branch, unsuccessfully. I'll try 3.23 also. Any chance this could have happened a while back, on a much older version, and it just wasn't noticed until recently? |
Couldn't reproduce on 3.23 either. |
It looks like the latest 6.15 snap does NOT have this fix, or any other fixes, it's using 3.23.0 from last October. This BZ is on the 6.15.0 train (I think) and it's already pulling in 3.23.3, so we might not need to do anything, it will probably get pulled in at some point. |
Well I did try reverting that commit and I still wasn't able to reproduce. Maybe something else? IDK. In any case please confirm if this was a fresh system or not. |
in my case it is not a fresh system and the pulp rpm version is |
Would it be problematic to try deleting the repo, performing orphan cleanup, and then re-syncing it, to see if it is ultimately fixed? |
I tried this but the error still occurred |
@WerVa The RPM version that is truly relevant here isn't the |
Installed python3.11-pulp-rpm version: |
@quba42 So having an older binding should not interfere with using a newer version of a pulp component, right? I tried to reproduce on a pulp's development environment, but with no luck. I can see the zeroes chomped in |
So long as they use the same Y-version there should not normally be any problems. So 3.23.0 client would be expected to work with 3.23.3 plugin. Katello also has a battery of tests to ensure the particular client version they use does not have any issues with the particular plugin version they use. |
Well, without being able to reproduce this I'm going to close it. |
Version
Pulp-RPM 3.23 (maybe any version?)
Describe the bug
When syncing https://rpms.remirepo.net/enterprise/9/modular/x86_64/, the context for module streams like "php:remi-7.4" is indexed into Pulp as "0" when it should be "00000000".
This causes applicability bugs in Katello which makes things look upgradable when they aren't.
To Reproduce
Sync https://rpms.remirepo.net/enterprise/9/modular/x86_64/
Take a look at the modular context vs what's in the upstream repo's repodata.
Expected behavior
Context should be "00000000" instead of "0" to match the upstream
Additional context
Community issue: https://community.theforeman.org/t/excluding-php-updates-in-foreman/36181/9
The text was updated successfully, but these errors were encountered: