#9563 ipa-migrate: AttributeError: 'Namespace' object has no attribute 'reset_range'
Opened a month ago by sumenon. Modified a month ago

Issue

ipa-migrate stage-mode/prod-mode -e master2.ipa1.test -x displays the below error.
AttributeError: 'Namespace' object has no attribute 'reset_range'

Steps to Reproduce

  1. Install 2 IPA servers with same REALM.
  2. Run ipa-migrate with stage/prod-mode

Actual behavior

Enter the password for cn=directory manager:
IPA to IPA migration starting ...
Migrating schema ...
Migrating configuration ...
Migrating database ... (this make take a while)
Traceback (most recent call last):
File "/usr/sbin/ipa-migrate", line 10, in <module>
ipa_migrate.run()
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 2003, in run
self.do_migration()
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 1891, in do_migration
self.migrateDB()
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 1510, in migrateDB
self.processDBOnline()
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 1477, in processDBOnline
self.process_db_entry(entry_dn, entry_attrs)
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 1371, in process_db_entry
local_entry = self.update_local_entry(entry_type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/ipaserver/install/ipa_migrate.py", line 1268, in update_local_entry
if (self.args.reset_range or self.mode == "staging") \
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'reset_range'

Expected behavior

ipa-migrate is successful

Version/Release/Distribution

freeipa-server-4.12.0.dev-0.fc39.x86_64

Additional info:


Login to comment on this ticket.

Metadata
Attachments 1
Attached a month ago View Comment