-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.7
-
None
-
None
-
None
-
rhel-idm-zta
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
Install IdM replica via redhat.rhel_idm.ipareplica role
What is the impact of this issue to you?
Unable to install replicas
Please provide the package NVR for which the bug is seen:
ipa-server-4.12.2-22.el9_7.1
How reproducible is this bug?:
Always
Steps to reproduce
- Install IdM primary server via redhat.rhel_idm.ipaserver role
- Attempt to install replica(s) via redhat.rhel_idm.ipareplica role
Expected results
Installed, functional replicas
Actual results
TASK [redhat.rhel_idm.ipareplica : Install - Replica preparation] **************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'Env' object has no attribute 'realm'
fatal: [ipa2.lab.jbho.me]: FAILED! => {"changed": false, "module_stderr": "Shared connection to ipa2.lab.jbho.me closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2870288-227-236229951992695/AnsiballZ_ipareplica_prepare.py\", line 107, in <module>\r\n _ansiballz_main()\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2870288-227-236229951992695/AnsiballZ_ipareplica_prepare.py\", line 99, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2870288-227-236229951992695/AnsiballZ_ipareplica_prepare.py\", line 47, in invoke_module\r\n runpy.run_module(mod_name='ansible_collections.redhat.rhel_idm.plugins.modules.ipareplica_prepare', init_globals=dict(_module_fqn='ansible_collections.redhat.rhel_idm.plugins.modules.ipareplica_prepare', _modlib_path=modlib_path),\r\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\r\n return _run_module_code(code, init_globals, run_name, mod_spec)\r\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\r\n _run_code(code, mod_globals, init_globals,\r\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\r\n exec(code, run_globals)\r\n File \"/tmp/ansible_redhat.rhel_idm.ipareplica_prepare_payload_miigi7vg/ansible_redhat.rhel_idm.ipareplica_prepare_payload.zip/ansible_collections/redhat/rhel_idm/plugins/modules/ipareplica_prepare.py\", line 1008, in <module>\r\n File \"/tmp/ansible_redhat.rhel_idm.ipareplica_prepare_payload_miigi7vg/ansible_redhat.rhel_idm.ipareplica_prepare_payload.zip/ansible_collections/redhat/rhel_idm/plugins/modules/ipareplica_prepare.py\", line 534, in main\r\nAttributeError: 'Env' object has no attribute 'realm'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'Env' object has no attribute 'realm'
fatal: [ipa3.lab.jbho.me]: FAILED! => {"changed": false, "module_stderr": "Shared connection to ipa3.lab.jbho.me closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2974973-228-107677755453663/AnsiballZ_ipareplica_prepare.py\", line 107, in <module>\r\n _ansiballz_main()\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2974973-228-107677755453663/AnsiballZ_ipareplica_prepare.py\", line 99, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/opie/.ansible/tmp/ansible-tmp-1763645839.2974973-228-107677755453663/AnsiballZ_ipareplica_prepare.py\", line 47, in invoke_module\r\n runpy.run_module(mod_name='ansible_collections.redhat.rhel_idm.plugins.modules.ipareplica_prepare', init_globals=dict(_module_fqn='ansible_collections.redhat.rhel_idm.plugins.modules.ipareplica_prepare', _modlib_path=modlib_path),\r\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\r\n return _run_module_code(code, init_globals, run_name, mod_spec)\r\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\r\n _run_code(code, mod_globals, init_globals,\r\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\r\n exec(code, run_globals)\r\n File \"/tmp/ansible_redhat.rhel_idm.ipareplica_prepare_payload_vbk2knhy/ansible_redhat.rhel_idm.ipareplica_prepare_payload.zip/ansible_collections/redhat/rhel_idm/plugins/modules/ipareplica_prepare.py\", line 1008, in <module>\r\n File \"/tmp/ansible_redhat.rhel_idm.ipareplica_prepare_payload_vbk2knhy/ansible_redhat.rhel_idm.ipareplica_prepare_payload.zip/ansible_collections/redhat/rhel_idm/plugins/modules/ipareplica_prepare.py\", line 534, in main\r\nAttributeError: 'Env' object has no attribute 'realm'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}