Uzor Ide wrote:
Hi All

I upgraded fedora 17 with freeipa server to fedora 18, afterwards the
webui now comes back with error for every login attempt.
Error dialog box reports IPA Error 903
description: An internal error has occured.

Checking the /var/log/httpd/error_log, shows
<Begin snip>

7451 2013] [:error] [pid 29533] ipa: INFO: ad...@mydomain.com
<mailto:ad...@mydomain.com>: batch: i18n_messages(): SUCCESS
[Sun Mar 10 23:39:09.013825 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: batch: config_show():
SUCCESS
[Sun Mar 10 23:39:09.137789 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: batch: user_find(None,
whoami=True, all=True): SUCCESS
[Sun Mar 10 23:39:09.140607 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: batch: env(None): SUCCESS
[Sun Mar 10 23:39:09.151762 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: batch: dns_is_enabled():
SUCCESS
[Sun Mar 10 23:39:09.153293 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: batch(({u'params': [[],
{}], u'method': u'i18n_messages'}, {u'params': [[], {}], u'method':
u'config_show'}, {u'params': [[], {u'all': True, u'whoami': True}],
u'method': u'user_find'}, {u'params': [[], {}], u'method': u'env'},
{u'params': [[], {}], u'method': u'dns_is_enabled'})): SUCCESS
[Sun Mar 10 23:39:12.272579 2013] [:error] [pid 29534] ipa: ERROR:
non-public: KeyError: 'ipadnszone'
[Sun Mar 10 23:39:12.272737 2013] [:error] [pid 29534] Traceback (most
recent call last):
[Sun Mar 10 23:39:12.272757 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 334, in
wsgi_execute
[Sun Mar 10 23:39:12.272775 2013] [:error] [pid 29534]     result =
self.Command[name](*args, **options)
[Sun Mar 10 23:39:12.272791 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 435, in __call__
[Sun Mar 10 23:39:12.272808 2013] [:error] [pid 29534]     ret =
self.run(*args, **options)
[Sun Mar 10 23:39:12.272825 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 747, in run
[Sun Mar 10 23:39:12.272841 2013] [:error] [pid 29534]     return
self.execute(*args, **options)
[Sun Mar 10 23:39:12.272858 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/plugins/internal.py", line 119,
in execute
[Sun Mar 10 23:39:12.272874 2013] [:error] [pid 29534]     (o.name
<http://o.name>, json_serialize(o)) for o in self.api.Object()
[Sun Mar 10 23:39:12.272892 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/plugins/internal.py", line 119,
in <genexpr>
[Sun Mar 10 23:39:12.272908 2013] [:error] [pid 29534]     (o.name
<http://o.name>, json_serialize(o)) for o in self.api.Object()
[Sun Mar 10 23:39:12.272924 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/util.py", line 56, in
json_serialize
[Sun Mar 10 23:39:12.272941 2013] [:error] [pid 29534]     return
json_serialize(obj.__json__())
[Sun Mar 10 23:39:12.272956 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ipalib/plugins/baseldap.py", line 600,
in __json__
[Sun Mar 10 23:39:12.272973 2013] [:error] [pid 29534]     attrs =
self.api.Backend.ldap2.schema.attribute_types(objectclasses)
[Sun Mar 10 23:39:12.272989 2013] [:error] [pid 29534]   File
"/usr/lib/python2.7/site-packages/ldap/schema/subentry.py", line 377, in
attribute_types
[Sun Mar 10 23:39:12.273006 2013] [:error] [pid 29534]     object_class
= self.sed[ObjectClass][object_class_oid]
[Sun Mar 10 23:39:12.273022 2013] [:error] [pid 29534] KeyError:
'ipadnszone'
[Sun Mar 10 23:39:12.278460 2013] [:error] [pid 29534] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: json_metadata(None,
None, object=u'all'): KeyError
[Sun Mar 10 23:39:14.201686 2013] [:error] [pid 29533] ipa: INFO:
ad...@mydomain.com <mailto:ad...@mydomain.com>: json_metadata(None,
None, command=u'all'): SUCCESS

<end snip>

I will appreciate any help I can get.

Thanks

Ide


The problem is that your schema was not upgraded properly. Can you look in /var/log/ipaupgrade.log for any errors?

What version did you upgrade from?

rob

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to