Bug 2070168
Summary: | Error 'modulemd-yaml-error-quark' while synchronizing fedora modular repository on Satellite 6.10. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Akshay Kapse <akapse> | |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lai <ltran> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.10.3 | CC: | dalley, iballou, matthew.lesieur, osousa | |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libmodulemd2-2.12.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2105047 2105048 (view as bug list) | Environment: | ||
Last Closed: | 2022-10-06 16:04:50 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
Akshay Kapse
2022-03-30 14:24:11 UTC
This same error is returned when synchronizing Fedora 36 Modular releases and Fedora 36 Modular updates. https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Modular/x86_64/os/ https://dl.fedoraproject.org/pub/fedora/linux/updates/36/Modular/x86_64/ I think I may have found the cause of the "Unexpected YAML" error when processing the Fedora Modular repositories. I took a closer look at the modules.yaml file in the repodata directory for each repository in question, and found Pulp is stopping on the first instance of "modulemd-obsoletes" document type. The code below is from https://dl.fedoraproject.org/pub/fedora/linux/updates/36/Modular/x86_64/repodata/e3de024b0b47bdbec20a8bbe79e879538099cee9db3af3f00731f6ab92bf9e34-modules.yaml.gz line 2438 (downloaded 2022-05-19 ~10:55 EDT): --- document: modulemd-obsoletes version: 1 data: modified: 2022-03-03T15:28Z module: perl-IO-Socket-SSL stream: "2.068" eol_date: 2022-06-01T00:00Z message: Module stream perl-IO-Socket-SSL:2.068 is no longer supported. Please switch to perl-IO-Socket-SSL:2.074 obsoleted_by: module: perl-IO-Socket-SSL stream: "2.074" ... It seems the "modulemd-obsoletes" document type was introduced into Fedora as per BZ 1834844. The BZ calls out libmodulemd-2.10.0, but Satellite 6.10.5 only includes version libmodulemd2-2.9.3-1.el7pc.x86_64. So, at a minimum, a newer version of libmodulemd2 is required before Satellite can synchronize repositories using modulemd-obsoletes. That's exactly the issue - and it definitely needs to be addressed because I believe EPEL 8 may be impacted by a similar issue (it doesn't outright fail but it doesn't do exactly the right thing either) Will keep you updated On EL8, the package name is just libmodulemd rather than libmodulemd2 It seems like at some point in the past month or two Fedora and EPEL removed the modular-obsoletes metadata from their repos, so maybe this has been "resolved" by that. But we still need the upgrade anyway to prevent further issues from https://bugzilla.redhat.com/show_bug.cgi?id=2105107 I still see the "modulemd-obsoletes" document type in the Fedora 36 Release Modular repository. Satellite 6.10.6 is still unable to synchronize this repository. Satellite can synchronize the Update Modular repository, which was failing last I checked a month or two ago. https://dl.fedoraproject.org/pub/fedora/linux/releases/36/Modular/x86_64/os/repodata/ --- document: modulemd-obsoletes version: 1 data: modified: 2022-01-24T08:54Z module: perl stream: "5.30" eol_date: 2021-06-01T00:00Z message: Module stream perl:5.30 is no longer supported. Please switch to perl:5.32 obsoleted_by: module: perl stream: "5.32" ... --- You're right, I may have gotten the files mixed up. Anyway this is moving forwards and ought to be resolved in the next release(s) I verified syncing the Fedora repositories is fixed after installing Satellite 6.11.2. 6.11 was fixed in 2105047. Great! At this time, there isn't another 6.10.z planned. As this is resolved in 6.11.z, I am closing this bugzilla as 'currentrelease'. |