#2430 ipa migrate-ds :: Internal Server Error
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=796401 (Red Hat Enterprise Linux 6)

Description of problem:

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
:: [   LOG    ] :: ds-migration-cmd-003 Invalid Group Container
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:

:: [14:56:17] ::  EXECUTING: ipa migrate-ds --user-container="ou=People"
--group-container="ou=bad" ldap://dhcp-187-178.testrelm.com:389
ipa: ERROR: an internal error has occurred
:: [   FAIL   ] :: Check return code (Expected 2, got 1)
:: [   FAIL   ] :: File '/tmp/error.out' should contain 'ipa: ERROR: Container
for group not found'





http error-log ::

[Wed Feb 22 14:21:56 2012] [error] ipa: INFO: admin@TESTRELM.COM:
migrate_ds(u'ldap://dhcp-187-178.testrelm.com:389', u'********',
binddn=u'cn=directory manager', usercontainer=u'ou=People',
groupcontainer=u'ou=bad', userobjectclass=(u'person',),
groupobjectclass=(u'groupOfUniqueNames', u'groupOfNames'),
userignoreobjectclass=None, userignoreattribute=None,
groupignoreobjectclass=None, groupignoreattribute=None,
groupoverwritegid=False, schema=u'RFC2307bis', continue=False,
exclude_groups=None, exclude_users=None): DatabaseError
[Wed Feb 22 14:23:49 2012] [error] ipa: ERROR: non-public: KeyError:
'gidnumber'
[Wed Feb 22 14:23:49 2012] [error] Traceback (most recent call last):
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 232, in
wsgi_execute
[Wed Feb 22 14:23:49 2012] [error]     result = self.Command[name](*args,
**options)
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 438, in __call__
[Wed Feb 22 14:23:49 2012] [error]     ret = self.run(*args, **options)
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 696, in run
[Wed Feb 22 14:23:49 2012] [error]     return self.execute(*args, **options)
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipalib/plugins/migration.py", line 650, in
execute
[Wed Feb 22 14:23:49 2012] [error]     ldap, config, ds_ldap, ds_base_dn,
options
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipalib/plugins/migration.py", line 594, in
migrate
[Wed Feb 22 14:23:49 2012] [error]     **blacklists
[Wed Feb 22 14:23:49 2012] [error]   File
"/usr/lib/python2.6/site-packages/ipalib/plugins/migration.py", line 120, in
_pre_migrate_user
[Wed Feb 22 14:23:49 2012] [error]     ctx['def_group_gid'] =
g_attrs['gidnumber'][0]
[Wed Feb 22 14:23:49 2012] [error] KeyError: 'gidnumber'
[Wed Feb 22 14:23:49 2012] [error] ipa: INFO: admin@TESTRELM.COM:
migrate_ds(u'ldap://dhcp-187-178.testrelm.com:389', u'********',
binddn=u'cn=directory manager', usercontainer=u'ou=People',
groupcontainer=u'ou=bad', userobjectclass=(u'person',),
groupobjectclass=(u'groupOfUniqueNames', u'groupOfNames'),
userignoreobjectclass=None, userignoreattribute=None,
groupignoreobjectclass=None, groupignoreattribute=None,
groupoverwritegid=False, schema=u'RFC2307bis', continue=False,
exclude_groups=None, exclude_users=None): KeyError


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Metadata Update from @mkosek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03

7 years ago

Login to comment on this ticket.

Metadata