Created attachment 983387 [details] reproducer (with changed url - not working) Description of problem: When using urllib2_kerberos.py in script, I see in stdout debug information like this: 2015-01-23 11:13:12,860 DEBUG inside http_error_401 2015-01-23 11:13:12,860 DEBUG authreqs = ['Negotiate'] File /usr/lib/python2.7/site-packages/urllib2_kerberos.py from package python-urllib2_kerberos-0.1.6-13.fc21 contains: "log.setLevel(logging.DEBUG)". I think that there should be other value, such as "logging.WARNING". Debug information appeared in Version-Release number of selected component (if applicable): python-urllib2_kerberos-0.1.6-13.fc21 How reproducible: always Steps to Reproduce: Run attached reproducer. Actual results: 2015-01-23 12:48:24,663 DEBUG inside http_error_401 2015-01-23 12:48:24,664 DEBUG authreqs = ['Negotiate'] 2015-01-23 12:48:24,664 DEBUG retry count: 1 2015-01-23 12:48:24,665 DEBUG req.get_host() returned some.server.com 2015-01-23 12:48:24,665 DEBUG authGSSClientInit() succeeded 2015-01-23 12:48:24,968 DEBUG authGSSClientStep() succeeded 2015-01-23 12:48:24,969 DEBUG authGSSClientResponse() succeeded 2015-01-23 12:48:25,749 DEBUG resp = <addinfourl at 140317978867760 whose fp = <socket._fileobject object at 0x7f9e53b6ccd0>> 2015-01-23 12:48:25,749 DEBUG resp = type <type 'instance'> 2015-01-23 12:48:25,749 DEBUG cleaning context Expected results: <empty output> Additional info: * URL was changed, probably there has to be some kerberos server . * I can confirm fix or help with debugging. * This works for me as fix, though I'm not sure this is the right approach: sudo sed -i "s/setLevel(logging.DEBUG)/setLevel(logging.WARNING)/" /usr/lib/python2.7/site-packages/urllib2_kerberos.py
Created attachment 983388 [details] reproducer (with changed url - not working) corretting reproducer
python-urllib2_kerberos-0.1.6-16.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-urllib2_kerberos-0.1.6-16.el6
python-urllib2_kerberos-0.1.6-16.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/python-urllib2_kerberos-0.1.6-16.el7
python-urllib2_kerberos-0.1.6-16.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-urllib2_kerberos-0.1.6-16.fc20
python-urllib2_kerberos-0.1.6-16.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-urllib2_kerberos-0.1.6-16.fc21
Package python-urllib2_kerberos-0.1.6-16.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-urllib2_kerberos-0.1.6-16.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0440/python-urllib2_kerberos-0.1.6-16.el6 then log in and leave karma (feedback).
python-urllib2_kerberos-0.1.6-16.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
python-urllib2_kerberos-0.1.6-16.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
python-urllib2_kerberos-0.1.6-16.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
python-urllib2_kerberos-0.1.6-16.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.