Bug 1483540

Summary: dnf can't load config-manager plugin in rawhide (and probably F27)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, mhatina, mhroncok, packaging-team-maint, pviktori, rpm-software-management, vmukhame
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: 2017-08-21 11:34:34 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 Kamil Páral 2017-08-21 11:22:52 UTC
Description of problem:
"dnf config-manager" command no longer works even though config-manager plugin is available:

$ dnf config-manager -h
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"

$ rpm -qa | grep dnf | sort
dnf-2.6.3-2.fc28.noarch
dnf-conf-2.6.3-2.fc28.noarch
dnf-plugins-core-2.1.3-2.fc27.noarch
dnf-yum-2.6.3-2.fc28.noarch
libdnf-0.9.3-7.fc28.x86_64
platform-python-dnf-2.6.3-2.fc28.noarch
python3-dnf-2.6.3-2.fc28.noarch
python3-dnf-plugins-core-2.1.3-2.fc27.noarch

$ rpm -ql python3-dnf-plugins-core | grep config_manager
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/config_manager.py

Comment 1 Kamil Páral 2017-08-21 11:30:19 UTC
This works with 
dnf-2.6.3-1.fc27
but breaks with
dnf-2.6.3-2.fc27/fc28

From changelog:
* Fri Aug 11 2017 Miro Hrončok <mhroncok> - 2.6.3-2 
- Add platform-python subpackage 
- Remove system_python macros 
- Switch /usr/bin/dnf to use platform-python

CC Miro.

Comment 2 Petr Viktorin (pviktori) 2017-08-21 11:34:34 UTC
We hope to fix this later today.

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