Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1341947

Summary: Got an error from DNF about the 'logging' function
Product: [Fedora] Fedora Reporter: Robin Lee <robinlee.sysu>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 24CC: anaconda-maint-list, bcl, bugzilla, gmarr, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: lorax-25.9-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1342654 (view as bug list) Environment:
Last Closed: 2016-06-16 00:14:51 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: 1230436, 1342654    

Description Robin Lee 2016-06-02 06:30:34 UTC
Description of problem:
Run 'pungi -c kvm.ks' and then failed with:
Pungi:INFO: lorax --workdir /builddir/work/x86_64 --logfile /builddir/logs/lorax-x86_64.log --source http://XXXX/centos/7/os/$basearch/ --source file:///builddir/20160602/x86_64/os --product Fedora --version 20160602 --release Fedora 20160602 --bugurl https://bugzilla.redhat.com --volid Fedora-20160602-x86_64 --macboot --force /builddir/20160602/x86_64/os
Pungi:INFO: Running lorax --workdir /builddir/work/x86_64 --logfile /builddir/logs/lorax-x86_64.log --source http://XXXX/centos/7/os/$basearch/ --source file:///builddir/20160602/x86_64/os --product Fedora --version 20160602 --release "Fedora 20160602" --bugurl https://bugzilla.redhat.com --volid Fedora-20160602-x86_64 --macboot --force /builddir/20160602/x86_64/os
Pungi:ERROR: Got an error from lorax
Pungi:ERROR: The 'logging' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html.

kvm.ks is a trivial config:
repo --name=base --baseurl=http://XXXX/centos/7/os/$basearch/
%packages --default
kernel
libvirt-daemon-kvm
%end

The CentOS repo is just local mirror of the official one.

Version-Release number of selected component (if applicable):
pungi-4.0.14-3.fc24.noarch
lorax-24.18-1.fc24.x86_64
dnf-1.1.9-2.fc24.noarch

Comment 1 Brian Lane 2016-06-02 16:12:01 UTC
That's a warning from DNF and isn't fatal. There must be something else going on, check the other logs.

Comment 2 Robin Lee 2016-06-03 02:21:33 UTC
Yes, I checked again. This did not break the process. BZ#1342041 may be the real problem. Keep this issue as warning should be fixed still.

Comment 3 Brian Lane 2016-06-03 18:59:01 UTC
https://github.com/rhinstaller/lorax/pull/127

Comment 4 Fedora Blocker Bugs Application 2016-06-03 19:02:06 UTC
Proposed as a Freeze Exception for 24-final by Fedora user bcl using the blocker tracking app because:

 Would be nice to not show deprecation messages.

Comment 5 Chris Murphy 2016-06-04 00:38:08 UTC
+1FE seems safe by just increasing logging level

Comment 6 Geoffrey Marr 2016-06-06 19:44:54 UTC
This bug was discussed at the 2016-06-06 blocker review meeting [1] and determined to be an AcceptedFreezeException, but we will not release a new build unless it fixes something more serious, but we're OK with this if there's a slip.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2016-06-06/f24-blocker-review.2016-06-06-16.00.txt