#2383 ipa-server-install fails during updates
Closed: Fixed None Opened 12 years ago by simo.

In master I see the following error when installing:

2012-02-13T23:02:19Z DEBUG 'set' object does not support item assignment
  File "/sbin/ipa-server-install", line 1096, in <module>
    rval = main()

  File "/sbin/ipa-server-install", line 1009, in main
    ds.apply_updates()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py", line 425, in apply_updates
    ld.update(files)

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 817, in update
    self.__run_updates(dn_list, all_updates)

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 771, in __run_updates
    self.__update_record(all_updates[dn])

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 657, in __update_record
    updated = self.is_schema_updated(entry.toDict())

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 589, in is_schema_updated
    s = ldap.schema.SubSchema(s)

  File "/usr/lib64/python2.7/site-packages/ldap/schema/subentry.py", line 125, in __init__
    self.non_unique_names[se_class][se_id] = None

It looks like a python-ldap issue in F17, but I am not an expert on this part of the code.


I've filed a bug against Fedora's python-ldap package as this is a bug in upstream python-ldap that is fixed in 2.4.8. Package update is welcome. https://bugzilla.redhat.com/show_bug.cgi?id=796227

Use introspection to see if check_uniqueness is available and if so, tell it to not do it!

The python-ldap patch is not required for this code to fix the problem.

Metadata Update from @simo:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02

7 years ago

Login to comment on this ticket.

Metadata