Bug 1456477 - engine-python-sdk4 still fails running until updating libcurl on fedora 25
Summary: engine-python-sdk4 still fails running until updating libcurl on fedora 25
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pycurl
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1456666
TreeView+ depends on / blocked
 
Reported: 2017-05-29 13:10 UTC by Dafna Ron
Modified: 2017-06-03 02:36 UTC (History)
5 users (show)

Fixed In Version: python-pycurl-7.43.0-6.fc25
Clone Of:
Environment:
Last Closed: 2017-06-03 02:36:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dafna Ron 2017-05-29 13:10:12 UTC
Description of problem:

I failed running lago after updating the sdk4 and checking the issue it seems that until we update libcurl the sdk4 will still get an error. 

 pycurl: libcurl link-time version (7.50.3) is older than compile-time version (7.51.0)

after update the error is gone. 

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

sdk4

How reproducible:

100%

Steps to Reproduce:
1. install sdk4 on fedora25 desktop
2. try to run lago 
3. after failure -> update libcurl

Actual results:

until we update libcurl we would fail to run the sdk

Expected results:

please update dependency between sdk4 to libcurl (newer packages) 

Additional info:

http://pastebin.test.redhat.com/488712

Comment 1 Juan Hernández 2017-05-29 13:56:32 UTC
Actually I think this may be a bug in the pycurl package, as it can be reproduced with a simple script like this (taken from the pycurl web package):

---8<---
import pycurl
from StringIO import StringIO

buffer = StringIO()
c = pycurl.Curl()
c.setopt(c.URL, 'http://pycurl.io/')
c.setopt(c.WRITEDATA, buffer)
c.perform()
c.close()

body = buffer.getvalue()
print(body)
--->8---

Kamil, what do you think? Should the pycurl RPM updated to require the newer version of libcurl?

Comment 2 Kamil Dudka 2017-05-29 14:48:23 UTC
Sure.  It used to be there.  The following commit broke it:

https://src.fedoraproject.org/cgit/rpms/python-pycurl.git/commit/?id=3e1f14a8

The following commit fixed it in f26+:

https://src.fedoraproject.org/cgit/rpms/python-pycurl.git/commit/?id=8c7e04aa

I will pick the commit for f25, too.  Sorry for the inconveniences!

Comment 3 Juan Hernández 2017-05-29 14:57:05 UTC
Thanks Kamil.

I think we should also update the oVirt Python SDK to require the new version of the python-pycurl RPM, once it is available. Ondra, can you take care of that?

Comment 5 Fedora Update System 2017-05-29 15:04:54 UTC
python-pycurl-7.43.0-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-01cceaebe9

Comment 6 Ondra Machacek 2017-05-30 06:39:03 UTC
Yes, I've created following bug 1456666

Comment 7 Fedora Update System 2017-05-31 01:04:18 UTC
python-pycurl-7.43.0-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-01cceaebe9

Comment 8 Fedora Update System 2017-06-03 02:36:08 UTC
python-pycurl-7.43.0-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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