Testing Debian packaging I ran into this issue, ipa-server-upgrade fails when trying to upgrade 4.0.5 to 4.3.0 with this in the log:
2016-01-05T16:18:58Z DEBUG [1/8]: saving configuration 2016-01-05T16:18:58Z DEBUG Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/ipaserver/install/service.py", line 447, in start_creation run_step(full_msg, method) File "/usr/lib/python2.7/dist-packages/ipaserver/install/service.py", line 437, in run_step method() File "/usr/lib/python2.7/dist-packages/ipaserver/install/upgradeinstance.py", line 128, in __save_config parser.parse() File "/usr/lib/python2.7/dist-packages/ldif.py", line 392, in parse return self.parse_entry_records() # parse() File "/usr/lib/python2.7/dist-packages/ldif.py", line 347, in parse_entry_records k,v = self._next_key_and_value() File "/usr/lib/python2.7/dist-packages/ldif.py", line 341, in _next_key_and_value return attr_type,attr_value UnboundLocalError: local variable 'attr_value' referenced before assignment
2016-01-05T16:18:58Z DEBUG [error] UnboundLocalError: local variable 'attr_value' referenced before assignment
This is caused by python-ldap version 2.4.20 on Debian (not yet in fedora).
It looks like the bug has been fixed in the latest source code of python-ldap http://python-ldap.cvs.sourceforge.net/viewvc/python-ldap/python-ldap/Lib/ldif.py?content-type=text%2Fplain
Closing ticket as this bug was caused by particular python-ldap.
Metadata Update from @tjaalton: - Issue assigned to someone - Issue set to the milestone: 0.0 NEEDS_TRIAGE
Login to comment on this ticket.