#4066 user-status command crashes
Closed: Fixed None Opened 7 years ago by mkosek.

This happened to me on master branch on Fedora 20:

# ipa user-status admin
ipa: ERROR: an internal error has occurred

Traceback:

[Wed Dec 04 13:24:10.579073 2013] [:error] [pid 27018] Traceback (most recent call last):
[Wed Dec 04 13:24:10.579077 2013] [:error] [pid 27018]   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 336, in wsgi_execute
[Wed Dec 04 13:24:10.579082 2013] [:error] [pid 27018]     result = self.Command[name](*args, **options)
[Wed Dec 04 13:24:10.579086 2013] [:error] [pid 27018]   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 447, in __call__
[Wed Dec 04 13:24:10.579090 2013] [:error] [pid 27018]     self.validate_output(ret)
[Wed Dec 04 13:24:10.579094 2013] [:error] [pid 27018]   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 950, in validate_output
[Wed Dec 04 13:24:10.579099 2013] [:error] [pid 27018]     o.validate(self, value)
[Wed Dec 04 13:24:10.579103 2013] [:error] [pid 27018]   File "/usr/lib/python2.7/site-packages/ipalib/output.py", line 107, in validate
[Wed Dec 04 13:24:10.579107 2013] [:error] [pid 27018]     self.name, i, dict, type(entry), entry)
[Wed Dec 04 13:24:10.579111 2013] [:error] [pid 27018] TypeError: user_status.validate_output() => ListOfEntries.validate():
[Wed Dec 04 13:24:10.579116 2013] [:error] [pid 27018]   output['result'][0]: need a <type 'dict'>; got a <class 'ipapython.ipaldap.LDAPEntry'>: LDAPEntry(ipapython.dn.DN('uid=admin,cn=users,cn=accounts,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com'), {u'krbloginfailedcount': [u'0'], u'krblastsuccessfulauth': [u'2013-12-04T09:32:41Z'], u'now': [u'2013-12-04T12:24:10Z'], u'krblastfailedauth': [u'N/A'], u'server': [u'vm-236.idm.lab.eng.brq.redhat.com']})

Metadata Update from @mkosek:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.0 - 2013/12

4 years ago

Login to comment on this ticket.

Metadata