Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: Client installation failing with keytab and OTP due to latest ansible pulling python-3.8.12 Ansible-freeipa was working fine with ansible 2.9.27 and python version = 3.6.8 [root@ansible ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.6 Beta (Ootpa) [root@ansible ~]# ansible --version ansible [core 2.12.1] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.8.12 (default, Sep 16 2021, 10:46:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 Console-output: =============== transport.py 563 DEBUG PLAY [Playbook to configure IPA clients] *************************************** transport.py 563 DEBUG transport.py 563 DEBUG TASK [Gathering Facts] ********************************************************* transport.py 563 DEBUG task path: /root/install-clients.yaml:2 transport.py 563 DEBUG ok: [client1.ipadomain.test] transport.py 563 DEBUG META: ran handlers transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Import variables specific to distribution] ******************* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:4 transport.py 563 DEBUG ok: [client1.ipadomain.test] => (item=/usr/share/ansible/roles/ipaclient/vars/RedHat-8.yml) => {"ansible_facts": {"ipaclient_packages": ["@idm:DL1/client"]}, "ansible_included_var_files": ["/usr/share/ansible/roles/ipaclient/vars/RedHat-8.yml"], "ansible_loop_var": "item", "changed": false, "item": "/usr/share/ansible/roles/ipaclient/vars/RedHat-8.yml"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install IPA client] ****************************************** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/main.yml:19 transport.py 563 DEBUG included: /usr/share/ansible/roles/ipaclient/tasks/install.yml for client1.ipadomain.test transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Ensure that IPA client packages are installed] ***** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:4 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Set ipaclient_servers] ***************************** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:10 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Set ipaclient_servers from cluster inventory] ****** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:15 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Check that either principal or keytab is set] ****** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:21 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Set default principal if no keytab is given] ******* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:25 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"ansible_facts": {"ipaadmin_principal": "admin"}, "changed": false} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - IPA client test] *********************************** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:30 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"basedn": "dc=ipadomain,dc=test", "changed": false, "client_already_configured": false, "client_domain": "ipadomain.test", "dnsok": true, "domain": "ipadomain.test", "hostname": "client1.ipadomain.test", "ipa_python_version": 40908, "kdc": "master.ipadomain.test", "nosssd_files": {}, "ntp_pool": null, "ntp_servers": null, "realm": "IPADOMAIN.TEST", "servers": ["master.ipadomain.test"], "sssd": true} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Cleanup leftover ccache] *************************** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:56 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Configure NTP] ************************************* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:61 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"changed": false} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Make sure One-Time Password is enabled if it's already defined] *** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:73 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Disable One-Time Password for on_master] *********** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:78 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Test if IPA client has working krb5.keytab] ******** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:83 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"ca_crt_exists": false, "changed": false, "krb5_conf_ok": false, "krb5_keytab_ok": false, "ping_test_ok": false} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Disable One-Time Password for client with working krb5.keytab] *** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:93 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Keytab or password is required for getting otp] **** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:109 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"changed": false, "skip_reason": "Conditional result was False"} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Get One-Time Password for client enrollment] ******* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:113 transport.py 563 DEBUG fatal: [client1.ipadomain.test -> master.ipadomain.test]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} transport.py 563 DEBUG ...ignoring transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Report error for OTP generation] ******************* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:132 transport.py 563 DEBUG fatal: [client1.ipadomain.test]: FAILED! => { transport.py 563 DEBUG "msg": "kinit admin with keytab /root/ipaadmin.keytab failed: gssapi is not available" transport.py 563 DEBUG } transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Install - Restore original admin password if overwritten by OTP] *** transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:372 transport.py 563 DEBUG skipping: [client1.ipadomain.test] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} transport.py 563 DEBUG transport.py 563 DEBUG TASK [ipaclient : Cleanup leftover ccache] ************************************* transport.py 563 DEBUG task path: /usr/share/ansible/roles/ipaclient/tasks/install.yml:378 transport.py 563 DEBUG ok: [client1.ipadomain.test] => {"changed": false, "path": "/etc/ipa/.dns_ccache", "state": "absent"} transport.py 563 DEBUG transport.py 563 DEBUG PLAY RECAP ********************************************************************* transport.py 563 DEBUG client1.ipadomain.test : ok=11 changed=0 unreachable=0 failed=1 skipped=8 rescued=0 ignored=1 transport.py 563 DEBUG channel.py 1212 DEBUG [chan 21] EOF received (21)