Bug 1893684
| Summary: | [ansible-freeipa] Not able to add new members with existing members role handling | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Varun Mylaraiah <mvarun> |
| Component: | ansible-freeipa | Assignee: | Rafael Jeffman <rjeffman> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | rjeffman, twoerner |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:51:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Varun Mylaraiah
2020-11-02 11:01:28 UTC
There is an upstream patch for this issue: https://github.com/freeipa/ansible-freeipa/pull/469 Upstream PR was merged. Verified
Version:
ansible-freeipa-0.3.2-1.el8.noarch
ipa-server-4.9.0-1.module+el8.4.0+9274+259c83ee.x86_64
Passed ansible_freeipa_tests/rbac_module.py::TestRole::()::test_role_update_with_multiple_group_member
----------------------------- Captured log call -------------------------------
channel.py 1212 DEBUG [chan 305] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 305] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 305 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 305] Sesch channel 305 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 305] EOF received (305)
channel.py 1212 DEBUG [chan 305] EOF sent (305)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 306] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 306] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 306 opened.
transport.py 318 INFO RUN ['ipa', 'role-show', 'memberrole']
transport.py 519 DEBUG RUN ['ipa', 'role-show', 'memberrole']
channel.py 1212 DEBUG [chan 306] Sesch channel 306 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Role name: memberrole
transport.py 563 DEBUG Member users: rbacuser02, rbacuser01, rbacuser03
transport.py 563 DEBUG Member groups: rbacgroup02
transport.py 563 DEBUG Privileges: Certificate Administrators
channel.py 1212 DEBUG [chan 306] EOF received (306)
channel.py 1212 DEBUG [chan 306] EOF sent (306)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 307] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 307] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 307 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 307] Sesch channel 307 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 307] EOF received (307)
channel.py 1212 DEBUG [chan 307] EOF sent (307)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 308] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 308] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 308 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 308] Sesch channel 308 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 308] EOF received (308)
channel.py 1212 DEBUG [chan 308] EOF sent (308)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 309] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 309] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 309 opened.
transport.py 318 INFO RUN ['ipa', 'role-show', 'memberrole']
transport.py 519 DEBUG RUN ['ipa', 'role-show', 'memberrole']
channel.py 1212 DEBUG [chan 309] Sesch channel 309 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Role name: memberrole
transport.py 563 DEBUG Member users: rbacuser02, rbacuser01, rbacuser03
transport.py 563 DEBUG Member groups: rbacgroup02
transport.py 563 DEBUG Privileges: Certificate Administrators
channel.py 1212 DEBUG [chan 309] EOF received (309)
channel.py 1212 DEBUG [chan 309] EOF sent (309)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 310] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 310] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 310 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 310] Sesch channel 310 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 310] EOF received (310)
channel.py 1212 DEBUG [chan 310] EOF sent (310)
transport.py 217 DEBUG Exit code: 0
transport.py 293 INFO WRITE inventory/rbac.hosts
sftp.py 158 DEBUG [chan 0] open(b'inventory/rbac.hosts', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'inventory/rbac.hosts', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
transport.py 329 INFO PUT rbac_module.yml
sftp.py 158 DEBUG [chan 0] open(b'rbac_module.yml', 'wb')
sftp.py 158 DEBUG [chan 0] open(b'rbac_module.yml', 'wb') -> 00000000
sftp.py 158 DEBUG [chan 0] close(00000000)
sftp.py 158 DEBUG [chan 0] stat(b'rbac_module.yml')
channel.py 1212 DEBUG [chan 63] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 63] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 63 opened.
transport.py 318 INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
transport.py 519 DEBUG RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
channel.py 1212 DEBUG [chan 63] Sesch channel 63 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG ansible-playbook 2.9.17
transport.py 563 DEBUG config file = /root/ansible.cfg
transport.py 563 DEBUG configured module search path = ['/root/ansible-freeipa/plugins/modules', '/usr/share/ansible/plugins/modules']
transport.py 563 DEBUG ansible python module location = /usr/lib/python3.6/site-packages/ansible
transport.py 563 DEBUG executable location = /usr/bin/ansible-playbook
transport.py 563 DEBUG python version = 3.6.8 (default, Dec 7 2020, 09:56:35) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]
transport.py 563 DEBUG Using /root/ansible.cfg as config file
transport.py 563 DEBUG Skipping callback 'actionable', as we already have a stdout callback.
transport.py 563 DEBUG
transport.py 563 DEBUG PLAYBOOK: rbac_module.yml ******************************************************
transport.py 563 DEBUG 1 plays in rbac_module.yml
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY [Playbook to ensure additional hostgroup member is updated in the existing role.] ***
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [Gathering Facts] *********************************************************
transport.py 563 DEBUG task path: /root/rbac_module.yml:2
transport.py 563 DEBUG ok: [master.ipadomain.test]
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG TASK [iparole] *****************************************************************
transport.py 563 DEBUG task path: /root/rbac_module.yml:6
transport.py 563 DEBUG changed: [master.ipadomain.test] => {"changed": true}
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG META: ran handlers
transport.py 563 DEBUG
transport.py 563 DEBUG PLAY RECAP *********************************************************************
transport.py 563 DEBUG master.ipadomain.test : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
transport.py 563 DEBUG
channel.py 1212 DEBUG [chan 63] EOF received (63)
channel.py 1212 DEBUG [chan 63] EOF sent (63)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 311] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 311] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 311 opened.
transport.py 318 INFO RUN ['kinit', 'admin']
transport.py 519 DEBUG RUN ['kinit', 'admin']
channel.py 1212 DEBUG [chan 311] Sesch channel 311 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Password for admin:
channel.py 1212 DEBUG [chan 311] EOF received (311)
channel.py 1212 DEBUG [chan 311] EOF sent (311)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 312] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 312] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 312 opened.
transport.py 318 INFO RUN ['ipa', 'role-show', 'memberrole']
transport.py 519 DEBUG RUN ['ipa', 'role-show', 'memberrole']
channel.py 1212 DEBUG [chan 312] Sesch channel 312 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
transport.py 563 DEBUG Role name: memberrole
transport.py 563 DEBUG Member users: rbacuser02, rbacuser01, rbacuser03
transport.py 563 DEBUG Member groups: rbacgroup02, rbacgroup01, rbacgroup03
transport.py 563 DEBUG Privileges: Certificate Administrators
channel.py 1212 DEBUG [chan 312] EOF received (312)
channel.py 1212 DEBUG [chan 312] EOF sent (312)
transport.py 217 DEBUG Exit code: 0
channel.py 1212 DEBUG [chan 313] Max packet in: 32768 bytes
channel.py 1212 DEBUG [chan 313] Max packet out: 32768 bytes
transport.py 1819 DEBUG Secsh channel 313 opened.
transport.py 318 INFO RUN ['kdestroy', '-A']
transport.py 519 DEBUG RUN ['kdestroy', '-A']
channel.py 1212 DEBUG [chan 313] Sesch channel 313 request ok
transport.py 563 DEBUG -bash: line 1: cd: /root/multihost_tests: No such file or directory
transport.py 563 DEBUG -bash: line 2: /root/multihost_tests/env.sh: No such file or directory
channel.py 1212 DEBUG [chan 313] EOF received (313)
channel.py 1212 DEBUG [chan 313] EOF sent (313)
transport.py 217 DEBUG Exit code: 0
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-2021:1860 |