Bug 508953

Summary: Can't install FreeIPA on F11
Product: [Retired] freeIPA Reporter: Martin Nagy <mnagy>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 2.0CC: benl, dpal, hripps, jgalipea, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:28:35 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:
Bug Depends On:    
Bug Blocks: 431022    
Attachments:
Description Flags
forward port httplib.SSLFile and httplib.FakeSocket none

Description Martin Nagy 2009-06-30 16:07:07 UTC
Description of problem:
FreeIPA fails to install on Fedora 11.

How reproducible:
Run ipa-server-install

Actual results:
[root@server freeipa]# ipa-server-install
/usr/lib/python2.6/site-packages/ipaserver/install/certs.py:21: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
Traceback (most recent call last):
  File "/usr/sbin/ipa-server-install", line 40, in <module>
    from ipaserver.install import dsinstance
  File "/usr/lib/python2.6/site-packages/ipaserver/install/dsinstance.py", line 35, in <module>
    import certs
  File "/usr/lib/python2.6/site-packages/ipaserver/install/certs.py", line 31, in <module>
    from ipapython import nsslib
  File "/usr/lib/python2.6/site-packages/ipapython/nsslib.py", line 52, in <module>
    class SSLFile(httplib.SSLFile):
AttributeError: 'module' object has no attribute 'SSLFile'

Comment 1 Rob Crittenden 2009-06-30 19:39:49 UTC
It seems that python 2.6 has a new httplib implementation that is quite different from 2.4 and 2.5.

I think the least-invasive fix is to forward port the SSLFile/FakeSocket code.

Comment 2 Rob Crittenden 2009-06-30 20:36:58 UTC
Created attachment 350019 [details]
forward port httplib.SSLFile and httplib.FakeSocket

provide our own forward-ported implementation of the missing functions.

Comment 3 Rob Crittenden 2009-07-01 12:52:06 UTC
master: 9352d2fc10dde6ed8cc57f2acee3e27ed7e340c2