IPA migration plan interrupted during replica Rhel8 install process using Ansible

Solution Verified - Updated -

Issue

During the migration plan from IPA Rhel 7 to Rhel8, the IPA replica insllation is being interrupted with below message:

File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\r\n    return _run_module_code(code, init_globals, run_name, mod_spec)\r\n  File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\r\n    mod_name, mod_spec, pkg_name, script_name)\r\n  File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/tmp/ansible_ipareplica_prepare_payload_yczg0oxd/ansible_ipareplica_prepare_payload.zip/ansible/modules/ipareplica_prepare.py\", line 855, in <module>\r\n  File \"/tmp/ansible_ipareplica_prepare_payload_yczg0oxd/ansible_ipareplica_prepare_payload.zip/ansible/modules/ipareplica_prepare.py\", line 392, in main\r\nAttributeError: 'Env' object has no attribute 'realm'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8
  • IPA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content