[Freeipa-devel] [freeipa PR#367][comment] Remove nsslib from IPA
HonzaCholasta
freeipa-github-notification at redhat.com
Tue Feb 28 07:08:48 UTC 2017
URL: https://github.com/freeipa/freeipa/pull/367
Title: #367: Remove nsslib from IPA
HonzaCholasta commented:
"""
Upgrade from 4.3 fails with:
```
2017-02-28T07:07:18Z DEBUG Starting external process
2017-02-28T07:07:18Z DEBUG args=/usr/bin/pk12util -d /etc/httpd/alias -o (6, '/etc/httpd/alias/tmpFNEJrK') -n ipaCert -k /etc/httpd/alias/pwdfile.txt
2017-02-28T07:07:18Z DEBUG Process execution failed
2017-02-28T07:07:18Z DEBUG Destroyed connection context.ldap2_139873144635088
2017-02-28T07:07:18Z ERROR Upgrade failed with coercing to Unicode: need string or buffer, tuple found
2017-02-28T07:07:18Z DEBUG Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 219, in __upgrade
self.modified = (ld.update(self.files) or self.modified)
File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 911, in update
self._run_updates(all_updates)
File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 883, in _run_updates
self._run_update_plugin(update['plugin'])
File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 859, in _run_update_plugin
restart_ds, updates = self.api.Updater[plugin_name]()
File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 1470, in __call__
return self.execute(**options)
File "/usr/lib/python2.7/site-packages/ipaserver/install/plugins/update_ra_cert_store.py", line 47, in execute
certdb.export_pkcs12(ra_nick, p12file)
File "/usr/lib/python2.7/site-packages/ipapython/certdb.py", line 232, in export_pkcs12
ipautil.run(args)
File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 442, in run
preexec_fn=preexec_fn)
File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
TypeError: coercing to Unicode: need string or buffer, tuple found
2017-02-28T07:07:18Z DEBUG Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 423, in start_creation
run_step(full_msg, method)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 413, in run_step
method()
File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 227, in __upgrade
raise RuntimeError(e)
RuntimeError: coercing to Unicode: need string or buffer, tuple found
2017-02-28T07:07:18Z DEBUG [error] RuntimeError: coercing to Unicode: need string or buffer, tuple found
```
"""
See the full comment at https://github.com/freeipa/freeipa/pull/367#issuecomment-282960429
More information about the Freeipa-devel
mailing list