Bug 1132089
| Summary: | [abrt] yum: grabber.py:1161:_set_opts:error: (43, 'CURLOPT_SSL_VERIFYHOST no longer supports 1 as value!') | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rick Kasten <rickkasten> | ||||||||
| Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 20 | CC: | admiller, packaging-team-maint, rickkasten, vmukhame | ||||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/2694a8bad5fbf1543a8f9111845124e279c8960c | ||||||||||
| Whiteboard: | abrt_hash:035ee4cbed07ac0094180d00109b2f20ad05b1f0 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-01-06 15:31:51 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Rick Kasten
2014-08-20 16:03:39 UTC
Created attachment 928875 [details]
File: backtrace
Created attachment 928876 [details]
File: dso_list
Created attachment 928877 [details]
File: environ
Hello, you are using python-urlgrabber 3.9.1, this issue is fixed in later releases. No, I am using 3.10.1 # rpm -qi python-urlgrabber-3.10.1-0.fc20.noarch Name : python-urlgrabber Version : 3.10.1 Release : 0.fc20 Architecture: noarch Install Date: Fri 20 Jun 2014 11:12:31 PM EDT This issue was caused by pip. Consider the following (I cut some of this output short for the sake of concise reporting, but I now think I may have left out critical information): ##### From /usr/lib/python2.7/site-packages/urlgrabber/grabber.py: 1155 # ssl options 1156 if self.scheme == 'https': 1157 if opts.ssl_ca_cert: # this may do ZERO with nss according to curl docs 1158 self.curl_obj.setopt(pycurl.CAPATH, opts.ssl_ca_cert) 1159 self.curl_obj.setopt(pycurl.CAINFO, opts.ssl_ca_cert) 1160 self.curl_obj.setopt(pycurl.SSL_VERIFYPEER, opts.ssl_verify_peer) 1161 self.curl_obj.setopt(pycurl.SSL_VERIFYHOST, opts.ssl_verify_host) 1162 if opts.ssl_key: 1163 self.curl_obj.setopt(pycurl.SSLKEY, opts.ssl_key) 1164 if opts.ssl_key_type: 1165 self.curl_obj.setopt(pycurl.SSLKEYTYPE, opts.ssl_key_type) 1166 if opts.ssl_cert: 1167 self.curl_obj.setopt(pycurl.SSLCERT, opts.ssl_cert) 1168 if opts.ssl_cert_type: 1169 self.curl_obj.setopt(pycurl.SSLCERTTYPE, opts.ssl_cert_type) 1170 if opts.ssl_key_pass: 1171 self.curl_obj.setopt(pycurl.SSLKEYPASSWD, opts.ssl_key_pass) $ rpm -qi python-pycurl-7.19.3-1.fc20.x86_64 Name : python-pycurl Version : 7.19.3 Release : 1.fc20 Architecture: x86_64 Install Date: Thu 13 Mar 2014 09:39:03 PM EDT $ pip show pycurl --- Name: pycurl Version: 7.19.5 Location: /usr/lib64/python2.7/site-packages Requires: $ pip uninstall pycurl # For package information only Uninstalling pycurl: /usr/lib64/python2.7/site-packages/curl/__init__.py /usr/lib64/python2.7/site-packages/curl/__init__.pyc /usr/lib64/python2.7/site-packages/pycurl-7.19.5-py2.7.egg-info /usr/lib64/python2.7/site-packages/pycurl.so $ rpm -ql python-pycurl-7.19.3-1.fc20.x86_64 /usr/lib64/python2.7/site-packages/curl /usr/lib64/python2.7/site-packages/curl/__init__.py /usr/lib64/python2.7/site-packages/curl/__init__.pyc /usr/lib64/python2.7/site-packages/curl/__init__.pyo /usr/lib64/python2.7/site-packages/pycurl-7.19.3-py2.7.egg-info /usr/lib64/python2.7/site-packages/pycurl.so ##### So clearly 'pip pycurl' and python-pycurl are stepping on each other's toes... ##### $ pip uninstall pycurl Successfully uninstalled pycurl $ yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named pycurl ##### At this point, `yum update` continued to fail with the same exact error as reported. I reinstalled python-pycurl (`rpm -Uvh --verbose --replacepkgs python-pycurl-7.19.3-1.fc20.x86_64.rpm`), but `yum update` continued to fail with the same exact error. So I reinstalled python-urlgrabber (`rpm -Uvh --verbose --replacepkgs python-urlgrabber-3.10.1-0.fc20.noarch.rpm`), and now `yum update` works. I'm not sure where 'pip pycurl' is stepping on python-urlgrabber, but it seems to me that that is where the issue lies. Reinstalling 'pip pycurl' did not reintroduce the problem... |