Bug 1680320
Summary: | Cannot install root with modular repos | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | mock-core-configs | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | gsgatlin, jdisnard, jkeating, kevin, mebrown, mhroncok, msuchy, praiskup, psabata, williams |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mock-core-configs-30.2-1.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-08 00:13: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
Orion Poplawski
2019-02-23 21:45:25 UTC
You are very likely missing this line in your mock config: config_opts['yum.conf'] = """ [main] .... module_platform_id=platform:f30 #^^^^^^^^^^^^^^^^^^^^^^^^^ this line ... Ahh, this is an issue. The reproducer is to run: mock -r fedora-rawhide-x86_64 shell And the error is: # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 31 --disableplugin=local --setopt=deltarpm=False install @buildsys-build --setopt=tsflags=nocontexts fedora 1.3 MB/s | 61 MB 00:46 Fedora - Modular Rawhide - Developmental packages for the next Fedora release 320 kB/s | 2.2 MB 00:06 Last metadata expiration check: 0:00:02 ago on Út 26. února 2019, 13:57:40 CET. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(platform:f30) needed by module stratis:1:20181215204600:a5b0195c-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:f30) needed by module standard-test-roles:3.0:3020190214144451:a5b0195c-0.x86_64 Problem 3: conflicting requests - nothing provides module(platform:f30) needed by module ripgrep:latest:3020190214090003:a5b0195c-0.x86_64 Modules stratis, ripgrep and other require module(platform:f30) but mock provide in config: module_platform_id=platform:f31 which is just fine, because fedora-release-31 has in /etc/os-release: PLATFORM_ID="platform:f31" I am not sure whose fault it is and what is the solution now. That "Problem N - conflicting requetss" used to be non-fatal, but with python3-dnf-4.1.0-1.fc29.noarch I see the same traceback as OP. So it might be also a problem in dnf. Note that the traceback part is being tracked in bug 1680966. So there are multiple issues here. The traceback part is what's causing the failure. These modules shouldn't be part of Rawhide. I'm going to follow up with releng to see why this happened and have that resolved. DNF spitting out these errors is also suboptimal but what exactly should be done about it is being discussed; either case, they are normally non-fatal. Anyway, I don't think this is a bug in mock. (In reply to Petr Šabata from comment #5) > These modules shouldn't be part of Rawhide. I'm going to follow up with > releng to see why this happened and have that resolved. These repos are part of fedora-rawhide-modular.repo. I just copy what is there. These modules come from this repo. So either those modules should not be in that repo, or that repo should not be in fedora-repos-rawhide package. Or they should be rebuilt. The problem is that we have yet to get a successful rawhide compose since branching, so on all the mirrors is 'f30' from before branching in the rawhide/ directory. Once we get a new rawhide compose things should at least become more clear. :) Based on the discussion on devel list I disabled modular repos in mock config until this gets resolved by modularity team. |