Bug 1719729

Summary: libgit2 module dependency issues break all Fedora installs using the modular repo as installation source
Product: [Fedora] Fedora Reporter: Martin Kolman <mkolman>
Component: libgit2Assignee: Igor Raits <igor.raits>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: asamalik, dmach, i, icq, igor.raits, jmracek, mkolman, psabata, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-12 12:41:12 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:
Attachments:
Description Flags
full journal dump from the failed installation run none

Description Martin Kolman 2019-06-12 12:30:41 UTC
Created attachment 1579818 [details]
full journal dump from the failed installation run

Description of problem:
Any Rawhide installation that has the Fedora modular repo enabled as one of the installation sources will fail due to libgit2 module related dpendency issues.

This will happen even if no module is marked for installation in the kickstart.



Version-Release number of selected component (if applicable):
libgit2:0.27:3120190407181414:f636be4b-0.x86_64 & libgit2:0.28

How reproducible:
always

Steps to Reproduce:
1. start an installation with the following kickstart:


url --url=https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/$basearch/os/
repo --name=modular --baseurl https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Modular/$basearch/os/

lang en_US.UTF-8
keyboard us
rootpw 12345
timezone America/New_York --nontp
zerombr
clearpart --all --initlabel
autopart

%packages
bash
%end


(Note that no modules are being requested for installation.)


Actual results:


The installation crashes at package installation time with the following error:

Jun 12 12:14:05 localhost anaconda[2036]: packaging: ModuleBase.enable(): some packages, groups or modules are missing or broken:
                                          Problems in request:
                                          Modular dependency problems with Defaults:
                                          
                                           Problem 1: module tokei:rolling:3120190424130518:c3f9a127-0.x86_64 requires module(libgit2:0.27), but none of the providers can be installed
                                            - module libgit2:0.27:3120190407181414:f636be4b-0.x86_64 conflicts with module(libgit2:0.28) provided by libgit2:0.28:3120190606170438:f636be4b-0.x86_64
                                            - module libgit2:0.28:3120190606170438:f636be4b-0.x86_64 conflicts with module(libgit2:0.27) provided by libgit2:0.27:3120190407181414:f636be4b-0.x86_64
                                            - conflicting requests
                                           Problem 2: module tokei:rolling:3120190424130518:c3f9a127-0.x86_64 requires module(libgit2:0.27), but none of the providers can be installed
                                            - module libgit2:0.27:3120190407181414:f636be4b-0.x86_64 conflicts with module(libgit2:0.28) provided by libgit2:0.28:3120190606170438:f636be4b-0.x86_64
                                            - module libgit2:0.28:3120190606170438:f636be4b-0.x86_64 conflicts with module(libgit2:0.27) provided by libgit2:0.27:3120190407181414:f636be4b-0.x86_64
                                            - module bat:latest:3120190608081801:36e279aa-0.x86_64 requires module(libgit2:0.28), but none of the providers can be installed
                                            - conflicting requests
Jun 12 12:14:05 localhost anaconda[2036]: packaging: Payload setup error: MarkingErrors()



Expected results:

the installation will not be interrupted due to module dependency issue, especially given that no modules are requested to be installed.



Additional info:

This basically completely broke the Anaconda integration tests. As quite a few test (which are basically instrumented kickstart installations) test module installation, all the testing kickstarts have both the regular and modular Fedora Rawhide repositories as installation sources.

Due to this bug, all tests now fail, even though most don't attempt to enable or install any modules.

We could drop the modular repository from the test kickstarts, but that would make all the tests that actually enable and/or install modules fail.

Also one would generally assume adding the modular repository should be a safe operation.

Comment 1 Igor Raits 2019-06-12 12:41:12 UTC

*** This bug has been marked as a duplicate of bug 1717117 ***