Bug 1511039

Summary: [modularity] error msg doesn't say what profile is missing
Product: [Fedora] Fedora Reporter: Irina Gulina <igulina>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 28CC: dmach, jmracek, mhatina, packaging-team-maint, rpm-software-management, sgallagh, 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:04:43 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, 1492243    

Description Irina Gulina 2017-11-08 15:19:33 UTC
Description of problem:
The following error message on `docker run --rm -it jamesantill/boltron-27 dnf module install python3-ecosystem` doesn't say what profile is missing: 
Error: No such profile: python3-ecosystem:master:20171011080225

In [1] Stephen Gallagher said: "The error message for the missing profile doesn't say which profile was requested (which would be obvious if the user had supplied it themselves, but if it's a bad default, we should indicate that clearly so it's easy for the user to identify the source of the problem). This will also result in bug reports if we ever accidentally or intentionally get out of sync between defaults and available profiles."

[1] Bug 1503030 comment 6

Comment 1 Martin Hatina 2017-11-09 08:26:31 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/976

Comment 2 Stephen Gallagher 2017-11-20 21:12:22 UTC
Fixed by dnf-2.7.5-1.module_be8b6f4c.modularity.1.c5b0496.noarch which is included in compose Fedora-Modular-27-20171120.n.3

Comment 3 Fedora End Of Life 2018-02-20 15:35:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.