Bug 1506475

Summary: [modularity] inconsistent ordering in module listing
Product: [Fedora] Fedora Reporter: Karel Srot <ksrot>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 27CC: dmach, extras-qa, jmracek, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
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: 2018-03-13 08:03:28 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:
Bug Depends On:    
Bug Blocks: 1478068    

Description Karel Srot 2017-10-26 07:58:57 UTC
dnf-2 and dnf-3 differs in module order 

[root@7ac3247f4757 /]# rpm -q dnf
dnf-2.7.5-6.fc26.modularity.1.3fb9e5c.git.8056.9361b1aNone.noarch
[root@7ac3247f4757 /]# dnf-2 module list --enabled ModuleA
Last metadata expiration check: 0:06:58 ago on Thu Oct 26 07:50:53 2017.
modularityABDE
Name                 Stream             Version             Profiles                            
ModuleA              f26                1                   client, default, ...                
ModuleA              f26                2                   client [i], default, ...            

Hint: [d]efault, [i]nstalled, [l]ocked
[root@7ac3247f4757 /]# dnf-3 module list --enabled ModuleA
Last metadata expiration check: 0:07:00 ago on Thu Oct 26 07:50:53 2017.
modularityABDE
Name                 Stream             Version             Profiles                            
ModuleA              f26                2                   client [i], default, ...            
ModuleA              f26                1                   client, default, ...                

Hint: [d]efault, [i]nstalled, [l]ocked


This is an issue for upstream test dnf-module-list-1 which matches the cmd output.

Comment 1 Martin Hatina 2017-10-27 06:54:47 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/971

Comment 2 Jaroslav Mracek 2018-06-28 08:05:11 UTC
The issue is solved by dnf-3.0.1-1 that was released into rawhide.