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
Bug 1341947 - Got an error from DNF about the 'logging' function
Summary: Got an error from DNF about the 'logging' function
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 24
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F24FinalFreezeException 1342654
TreeView+ depends on / blocked
Reported: 2016-06-02 06:30 UTC by Robin Lee
Modified: 2016-06-16 00:14 UTC (History)
5 users (show)

Fixed In Version: lorax-25.9-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1342654 (view as bug list)
Last Closed: 2016-06-16 00:14:51 UTC
Type: Bug

Attachments (Terms of Use)

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 --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 --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

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

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

Version-Release number of selected component (if applicable):

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

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.


Note You need to log in before you can comment on or make changes to this bug.