[Freeipa-devel] [PATCH] 884 migration context and logging

Martin Kosek mkosek at redhat.com
Tue Sep 27 14:58:01 UTC 2011


On Mon, 2011-09-26 at 22:24 -0400, Rob Crittenden wrote:
> We can't assume that there will be only one naming context. Look at each 
> one until we find an IPA one.
> 
> Add logging so you can know that a migration attempt fails and why.
> 
> rob

Looks good, its just difficult to set up a proper environment for
reproduction. So far, I found just this problem:

[Tue Sep 27 10:30:39 2011] [error] [client 10.34.25.52] mod_wsgi (pid=32705): Exception occurred processing WSGI script '/usr/share/ipa/migration/migration.py'.
[Tue Sep 27 10:30:40 2011] [error] [client 10.34.25.52] Traceback (most recent call last):
[Tue Sep 27 10:30:40 2011] [error] [client 10.34.25.52]   File "/usr/share/ipa/migration/migration.py", line 127, in application
[Tue Sep 27 10:30:40 2011] [error] [client 10.34.25.52]     bind(form_data['username'].value, form_data['password'].value)
[Tue Sep 27 10:30:40 2011] [error] [client 10.34.25.52]   File "/usr/share/ipa/migration/migration.py", line 107, in bind
[Tue Sep 27 10:30:40 2011] [error] [client 10.34.25.52]     logging.error('migration bind failed: %s' % convert_exception(e))

Martin




More information about the Freeipa-devel mailing list