Description of problem: This behaviour started with this mornings build. Syntax error upon running most cli commands Version-Release number of selected component (if applicable): 2.0-2.20090505.el5ipa How reproducible: always Steps to Reproduce: 1. Install ipa 2. kinit as admin 3. ipa user-find admin Actual results: /usr/bin/ipa user-find admin ipa: ERROR: could not load plugin module '/usr/lib/python2.4/site-packages/ipalib/plugins/join.py' ipa: ERROR: SyntaxError: invalid syntax (certdb.py, line 27) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/ipalib/cli.py", line 739, in run api.load_plugins() File "/usr/lib/python2.4/site-packages/ipalib/plugable.py", line 649, in load_plugins self.import_plugins('ipalib') File "/usr/lib/python2.4/site-packages/ipalib/plugable.py", line 685, in import_plugins raise e File "/usr/lib/python2.4/site-packages/ipapython/certdb.py", line 27 class CertDB(): ^ SyntaxError: invalid syntax ipa: ERROR: an internal error has occured
A python 2.4-ism. For a quick fix you can edit /usr/lib/python2.4/site-packages/ipapython/certdb.py And change it to: class CertDB(object): You'll need to restart the httpd service too.
master: 82223f3ed1893ee4bd6b1276cc9bcf82711bfc7a
Adding the change to certdb.py looks good. Thanks for the quick fix.