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.
Bug 2150332 - [ansible-freeipa] Not able to reset the maxrepeat in the pwpolicy module
Summary: [ansible-freeipa] Not able to reset the maxrepeat in the pwpolicy module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rafael Jeffman
QA Contact: Varun Mylaraiah
URL:
Whiteboard:
Depends On:
Blocks: 2150334
TreeView+ depends on / blocked
 
Reported: 2022-12-02 14:26 UTC by Varun Mylaraiah
Modified: 2023-05-16 08:53 UTC (History)
2 users (show)

Fixed In Version: ansible-freeipa-1.9.1-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2150334 (view as bug list)
Environment:
Last Closed: 2023-05-16 08:15:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-9110 0 None None None 2022-12-02 14:29:59 UTC
Red Hat Issue Tracker RHELPLAN-141195 0 None None None 2022-12-02 14:30:05 UTC
Red Hat Product Errata RHEA-2023:2752 0 None None None 2023-05-16 08:16:15 UTC

Description Varun Mylaraiah 2022-12-02 14:26:06 UTC
Description of problem:
Not able to reset the maxrepeat in the ansible-freeipa pwpolicy module.


How reproducible:


Steps to Reproduce:
# cat pwpolicy_module.yml
---
- name: Playbook to ensure maxrepeat reset.
  hosts: ipaserver
  become: true

  tasks:
  - ipapwpolicy:
      ipaadmin_password: <xxxxxxx>
      name: 10newpolicygroup
      maxrepeat: ""

PLAY [Playbook to ensure maxrepeat reset.] ********************************************************************

TASK [Gathering Facts] ****************************************************************************************
task path: /root/pwpolicy_module.yml:2
ok: [master.ipadomain.test]

TASK [ipapwpolicy] ********************************************************************************************
task path: /root/pwpolicy_module.yml:7
fatal: [master.ipadomain.test]: FAILED! => {"changed": false, "msg": "argument 'maxrepeat' is of type <class 'str'> and we were unable to convert to int: <class 'str'> cannot be converted to an int"}

PLAY RECAP ****************************************************************************************************
master.ipadomain.test      : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

Actual results:
FAILED! => {"changed": false, "msg": "argument 'maxrepeat' is of type <class 'str'> and we were unable to convert to int: <class 'str'> cannot be converted to an int"}

Expected results:
pwpolicy maxreset should work with the reset.

Additional info:
[root@master ~]# ipa pwpolicy-show global_policy
  Group: global_policy
  Max lifetime (days): 90
  Min lifetime (hours): 1
  History size: 0
  Character classes: 0
  Min length: 8
  Max failures: 6
  Failure reset interval: 60
  Lockout duration: 600
  Max repeat: 100
  Grace login limit: -1


[root@master ~]# ipa pwpolicy-mod global_policy --maxrepeat=
  Group: global_policy
  Max lifetime (days): 90
  Min lifetime (hours): 1
  History size: 0
  Character classes: 0
  Min length: 8
  Max failures: 6
  Failure reset interval: 60
  Lockout duration: 600
  Grace login limit: -1

Comment 1 Rafael Jeffman 2022-12-02 17:44:46 UTC
Changing DTM/ITM back to 22/24 as the fix for this issue will require more changes as nearly all fields can be cleared with an empty string on CLI. The only field that failed to clear is 'minlength'.

Comment 2 Rafael Jeffman 2023-01-04 22:09:59 UTC
Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/1012

Comment 3 Rafael Jeffman 2023-01-05 13:42:40 UTC
Upstream PR has been merged.

Comment 4 Rafael Jeffman 2023-01-05 19:05:29 UTC
Sorry, marked the wrong PR as merged.

Marking BZ back to "ASSIGNED".

Comment 5 Rafael Jeffman 2023-01-13 22:45:20 UTC
Upstream PR has been merged.

Comment 9 Varun Mylaraiah 2023-02-06 12:56:12 UTC
Verified
ansible-2.9.27-1.el8ae.noarch
ansible-freeipa-1.9.2-1.el8.noarch

Passed	ansible_freeipa_tests/pwpolicy/test_pwpolicy.py::Testpwpolicy::test_pwpolicy_update_maxrepeat_reset

INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG    pytest_multihost.host.Host.master.cmd90:transport.py:519 RUN ['kinit', 'admin']
DEBUG    paramiko.transport:channel.py:1212 [chan 89] Sesch channel 89 request ok
DEBUG    pytest_multihost.host.Host.master.cmd90:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd90:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd90:transport.py:563 Password for admin: 
DEBUG    paramiko.transport:channel.py:1212 [chan 89] EOF received (89)
DEBUG    paramiko.transport:channel.py:1212 [chan 89] EOF sent (89)
DEBUG    pytest_multihost.host.Host.master.cmd90:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 90] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 90] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 90 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-add', '10newpolicygroup', '--priority=14', '--maxrepeat=14']
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:519 RUN ['ipa', 'pwpolicy-add', '10newpolicygroup', '--priority=14', '--maxrepeat=14']
DEBUG    paramiko.transport:channel.py:1212 [chan 90] Sesch channel 90 request ok
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563   Group: 10newpolicygroup
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563   Priority: 14
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563   Max repeat: 14
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:563   Grace login limit: -1
DEBUG    paramiko.transport:channel.py:1212 [chan 90] EOF received (90)
DEBUG    paramiko.transport:channel.py:1212 [chan 90] EOF sent (90)
DEBUG    pytest_multihost.host.Host.master.cmd91:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 91] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 91] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 91 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG    pytest_multihost.host.Host.master.cmd92:transport.py:519 RUN ['kinit', 'admin']
DEBUG    paramiko.transport:channel.py:1212 [chan 91] Sesch channel 91 request ok
DEBUG    pytest_multihost.host.Host.master.cmd92:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd92:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd92:transport.py:563 Password for admin: 
DEBUG    paramiko.transport:channel.py:1212 [chan 91] EOF received (91)
DEBUG    paramiko.transport:channel.py:1212 [chan 91] EOF sent (91)
DEBUG    pytest_multihost.host.Host.master.cmd92:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 92] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 92] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 92 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-find', '10newpolicygroup']
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:519 RUN ['ipa', 'pwpolicy-find', '10newpolicygroup']
DEBUG    paramiko.transport:channel.py:1212 [chan 92] Sesch channel 92 request ok
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563   Group: 10newpolicygroup
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563   Priority: 14
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563   Max repeat: 14
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563   Grace login limit: -1
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563 ----------------------------
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563 Number of entries returned 1
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:563 ----------------------------
DEBUG    paramiko.transport:channel.py:1212 [chan 92] EOF received (92)
DEBUG    paramiko.transport:channel.py:1212 [chan 92] EOF sent (92)
DEBUG    pytest_multihost.host.Host.master.cmd93:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 93] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 93] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 93 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kdestroy', '-A']
DEBUG    pytest_multihost.host.Host.master.cmd94:transport.py:519 RUN ['kdestroy', '-A']
DEBUG    paramiko.transport:channel.py:1212 [chan 93] Sesch channel 93 request ok
DEBUG    pytest_multihost.host.Host.master.cmd94:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd94:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    paramiko.transport:channel.py:1212 [chan 93] EOF received (93)
DEBUG    paramiko.transport:channel.py:1212 [chan 93] EOF sent (93)
DEBUG    pytest_multihost.host.Host.master.cmd94:transport.py:217 Exit code: 0
INFO     pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:293 WRITE inventory/pwpolicy.hosts
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'inventory/pwpolicy.hosts', 'wb')
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'inventory/pwpolicy.hosts', 'wb') -> 00000000
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] close(00000000)
INFO     pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:329 PUT pwpolicy_module.yml
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'pwpolicy_module.yml', 'wb')
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] open(b'pwpolicy_module.yml', 'wb') -> 00000000
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] close(00000000)
DEBUG    paramiko.transport.sftp:sftp.py:158 [chan 0] stat(b'pwpolicy_module.yml')
DEBUG    paramiko.transport:channel.py:1212 [chan 18] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 18] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 18 opened.
INFO     pytest_multihost.host.Host.ansible.ParamikoTransport:transport.py:318 RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/pwpolicy.hosts', 'pwpolicy_module.yml']
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:519 RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/pwpolicy.hosts', 'pwpolicy_module.yml']
DEBUG    paramiko.transport:channel.py:1212 [chan 18] Sesch channel 18 request ok
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 ansible-playbook 2.9.27
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563   config file = /etc/ansible/ansible.cfg
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563   configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563   ansible python module location = /usr/lib/python3.6/site-packages/ansible
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563   executable location = /usr/bin/ansible-playbook
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563   python version = 3.6.8 (default, Jan 23 2023, 22:31:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)]
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Using /etc/ansible/ansible.cfg as config file
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'actionable', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'counter_enabled', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'debug', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'dense', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'dense', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'full_skip', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'json', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'minimal', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'null', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'oneline', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'selective', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'skippy', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'stderr', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'unixy', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 Skipping callback 'yaml', as we already have a stdout callback.
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAYBOOK: pwpolicy_module.yml **************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 1 plays in pwpolicy_module.yml
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAY [Playbook to ensure maxrepeat reset.] *************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 TASK [Gathering Facts] *********************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 task path: /root/pwpolicy_module.yml:2
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 ok: [master.ipadomain.test]
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 TASK [ipapwpolicy] *************************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 task path: /root/pwpolicy_module.yml:7
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 changed: [master.ipadomain.test] => {"changed": true}
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 META: ran handlers
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 PLAY RECAP *********************************************************************
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 master.ipadomain.test      : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:563 
DEBUG    paramiko.transport:channel.py:1212 [chan 18] EOF received (18)
DEBUG    paramiko.transport:channel.py:1212 [chan 18] EOF sent (18)
DEBUG    pytest_multihost.host.Host.ansible.cmd18:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 94] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 94] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 94 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG    pytest_multihost.host.Host.master.cmd95:transport.py:519 RUN ['kinit', 'admin']
DEBUG    paramiko.transport:channel.py:1212 [chan 94] Sesch channel 94 request ok
DEBUG    pytest_multihost.host.Host.master.cmd95:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd95:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd95:transport.py:563 Password for admin: 
DEBUG    paramiko.transport:channel.py:1212 [chan 94] EOF received (94)
DEBUG    paramiko.transport:channel.py:1212 [chan 94] EOF sent (94)
DEBUG    pytest_multihost.host.Host.master.cmd95:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 95] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 95] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 95 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-show', '10newpolicygroup']
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:519 RUN ['ipa', 'pwpolicy-show', '10newpolicygroup']
DEBUG    paramiko.transport:channel.py:1212 [chan 95] Sesch channel 95 request ok
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:563   Group: 10newpolicygroup
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:563   Priority: 14
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:563   Grace login limit: -1
DEBUG    paramiko.transport:channel.py:1212 [chan 95] EOF received (95)
DEBUG    paramiko.transport:channel.py:1212 [chan 95] EOF sent (95)
DEBUG    pytest_multihost.host.Host.master.cmd96:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 96] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 96] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 96 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kdestroy', '-A']
DEBUG    pytest_multihost.host.Host.master.cmd97:transport.py:519 RUN ['kdestroy', '-A']
DEBUG    paramiko.transport:channel.py:1212 [chan 96] Sesch channel 96 request ok
DEBUG    pytest_multihost.host.Host.master.cmd97:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd97:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    paramiko.transport:channel.py:1212 [chan 96] EOF received (96)
DEBUG    paramiko.transport:channel.py:1212 [chan 96] EOF sent (96)
DEBUG    pytest_multihost.host.Host.master.cmd97:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 97] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 97] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 97 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['kinit', 'admin']
DEBUG    pytest_multihost.host.Host.master.cmd98:transport.py:519 RUN ['kinit', 'admin']
DEBUG    paramiko.transport:channel.py:1212 [chan 97] Sesch channel 97 request ok
DEBUG    pytest_multihost.host.Host.master.cmd98:transport.py:563 -bash: line 1: cd: /root/multihost_tests: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd98:transport.py:563 -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
DEBUG    pytest_multihost.host.Host.master.cmd98:transport.py:563 Password for admin: 
DEBUG    paramiko.transport:channel.py:1212 [chan 97] EOF received (97)
DEBUG    paramiko.transport:channel.py:1212 [chan 97] EOF sent (97)
DEBUG    pytest_multihost.host.Host.master.cmd98:transport.py:217 Exit code: 0
DEBUG    paramiko.transport:channel.py:1212 [chan 98] Max packet in: 32768 bytes
DEBUG    paramiko.transport:channel.py:1212 [chan 98] Max packet out: 32768 bytes
DEBUG    paramiko.transport:transport.py:1819 Secsh channel 98 opened.
INFO     pytest_multihost.host.Host.master.ParamikoTransport:transport.py:318 RUN ['ipa', 'pwpolicy-del', '10newpolicygroup']
DEBUG    pytest_multihost.host.Host.master.cmd99:transport.py:519 RUN ['ipa', 'pwpolicy-del', '10newpolicygroup']


Based on the test results, marking the bug Verified

Comment 12 errata-xmlrpc 2023-05-16 08:15:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ansible-freeipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:2752


Note You need to log in before you can comment on or make changes to this bug.