#6034 ipa migrate-ds command fails for IPA in RHEL 7.3
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353506

Created attachment 1177248
Console Output log for migrate ds command

Description of problem:
ipa migrate-ds command fails for IPA in RHEL 7.3 as a result migration of users
fails.

Version-Release number of selected component (if applicable):
ipa server version: ipa-server-4.4.0-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup DS server.
2. Setup IPA server on RHEL 7.3
3. Run following command
"ipa migrate-ds --user-container="ou=People" --group-container="ou=groups"
--with-compat ldap://ldap_server.example.com:389"

Actual results:
After step3, following error message is received:
ipa: ERROR: TypeError: output_for_cli() takes exactly 5 arguments (4 given)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1350, in run
    sys.exit(api.Backend.cli.run(argv))
  File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1115, in run
    rv = cmd.output_for_cli(self.api.Backend.textui, result, *args, **options)
TypeError: output_for_cli() takes exactly 5 arguments (4 given)
ipa: ERROR: an internal error has occurred

Expected results:
No error messages should be observed and the command should execute correctly.

Additional info:
The same command when run on RHEL 7.2z, runs correctly.
Refer attachment.

master:

  • 6c74bd2 Removed unused method parameter from migrate-ds

Metadata Update from @pvoborni:
- Issue assigned to stlaz
- Issue set to the milestone: FreeIPA 4.4.1

7 years ago

Login to comment on this ticket.

Metadata