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 1894496 - [RFE] New management module ipadelegation
Summary: [RFE] New management module ipadelegation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1894575
TreeView+ depends on / blocked
 
Reported: 2020-11-04 11:15 UTC by Thomas Woerner
Modified: 2021-05-18 15:51 UTC (History)
4 users (show)

Fixed In Version: ansible-freeipa-0.3.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:51:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thomas Woerner 2020-11-04 11:15:51 UTC
New management module ipadelegation

There is a new delegation management module placed in the plugins folder:

plugins/modules/ipadelegation.py

The delegation module allows to ensure presence and absence of delegations
and manage delegation attributes.

Here is the documentation for the module:

README-delegation.md

New example playbooks have been added:

playbooks/delegation/delegation-absent.yml
playbooks/delegation/delegation-present.yml
playbooks/delegation/delegation-member-absent.yml
playbooks/delegation/delegation-member-present.yml

New tests for the module:

tests/delegation/test_delegation.yml

Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/343

Comment 8 Varun Mylaraiah 2020-12-11 10:39:34 UTC
Verified 
ansible-freeipa-0.3.1-1.el8.noarch


2020-12-11T07:49:15+0000 
2020-12-11T07:49:15+0000 ansible_freeipa_tests/rbac_module.py::TestRbacPrerequisite::test_add_prerequisite 
2020-12-11T07:49:15+0000 -------------------------------- live log call ---------------------------------
2020-12-11T07:49:15+0000 [paramiko.transport] INFO Connected (version 2.0, client OpenSSH_8.0)
2020-12-11T07:49:16+0000 [paramiko.transport] INFO Authentication (publickey) successful!
2020-12-11T07:49:16+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipactl', 'status']
2020-12-11T07:49:16+0000 [paramiko.transport] INFO Connected (version 2.0, client OpenSSH_8.0)
2020-12-11T07:49:16+0000 [paramiko.transport] INFO Authentication (publickey) successful!
2020-12-11T07:49:16+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/master.hosts
2020-12-11T07:49:16+0000 [paramiko.transport.sftp] INFO [chan 0] Opened sftp connection (server version 3)
2020-12-11T07:49:16+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT install-server.yaml
2020-12-11T07:49:16+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/master.hosts', 'install-server.yaml']
2020-12-11T07:58:27+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipactl', 'status']
2020-12-11T07:58:29+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T07:58:29+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T07:58:29+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T07:59:30+0000 PASSED                                                                   [  0%]
2020-12-11T07:59:30+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_with_members_and_attributes_add 
2020-12-11T07:59:30+0000 -------------------------------- live log call ---------------------------------
2020-12-11T07:59:30+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipactl', 'status']
2020-12-11T07:59:32+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:33+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:34+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T07:59:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T07:59:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T07:59:38+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:39+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:40+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:40+0000 PASSED                                                                   [  1%]
2020-12-11T07:59:40+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_read_permission 
2020-12-11T07:59:40+0000 -------------------------------- live log call ---------------------------------
2020-12-11T07:59:40+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:40+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:41+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:41+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T07:59:41+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T07:59:41+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T07:59:46+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:46+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:47+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:47+0000 PASSED                                                                   [  2%]
2020-12-11T07:59:47+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_write_permission 
2020-12-11T07:59:47+0000 -------------------------------- live log call ---------------------------------
2020-12-11T07:59:47+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:47+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:48+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T07:59:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T07:59:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T07:59:53+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:53+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:54+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:54+0000 PASSED                                                                   [  2%]
2020-12-11T07:59:54+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_read_write_permission 
2020-12-11T07:59:54+0000 -------------------------------- live log call ---------------------------------
2020-12-11T07:59:54+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T07:59:54+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T07:59:55+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T07:59:55+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T07:59:55+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T07:59:55+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:00+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:00+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T08:00:01+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:01+0000 PASSED                                                                   [  3%]
2020-12-11T08:00:01+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_with_multiple_attributes 
2020-12-11T08:00:01+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:01+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:02+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:03+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:03+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:03+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:03+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:07+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:07+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:08+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:08+0000 PASSED                                                                   [  4%]
2020-12-11T08:00:08+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_with_new_attributes_with_existing_attributes 
2020-12-11T08:00:08+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:08+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:09+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:10+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:10+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:10+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:11+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:11+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:11+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:11+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:16+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:16+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:17+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:17+0000 PASSED                                                                   [  5%]
2020-12-11T08:00:17+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_with_new_attributes_only 
2020-12-11T08:00:17+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:17+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:17+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:18+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:23+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:23+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:24+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:24+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:24+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:25+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:26+0000 PASSED                                                                   [  5%]
2020-12-11T08:00:26+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_remove_attribute 
2020-12-11T08:00:26+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:26+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:26+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:27+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:27+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:27+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:27+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:31+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:32+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:33+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:33+0000 PASSED                                                                   [  6%]
2020-12-11T08:00:33+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_with_new_group 
2020-12-11T08:00:33+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:33+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:33+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:34+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:34+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:39+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:39+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:40+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:40+0000 PASSED                                                                   [  7%]
2020-12-11T08:00:40+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_with_new_member_group 
2020-12-11T08:00:40+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:40+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:41+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:42+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:42+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:42+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:42+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:46+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:00:46+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'manager attributes']
2020-12-11T08:00:48+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:00:48+0000 PASSED                                                                   [  8%]
2020-12-11T08:00:48+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[with_multiple_group-['rbacgroup01', 'rbacgroup02']' does not exist] 
2020-12-11T08:00:48+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:48+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:52+0000 PASSED                                                                   [  8%]
2020-12-11T08:00:52+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[with_multiple_membergroup-['rbacgroup01', 'rbacgroup02']: group not found] 
2020-12-11T08:00:52+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:52+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:52+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:52+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:00:57+0000 PASSED                                                                   [  9%]
2020-12-11T08:00:57+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[without_group-delegation_add: group attributes: 'group' is required] 
2020-12-11T08:00:57+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:00:57+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:00:57+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:00:57+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:01+0000 PASSED                                                                   [ 10%]
2020-12-11T08:01:01+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[without_membergroup-delegation_add: group attributes: 'memberof' is required] 
2020-12-11T08:01:01+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:01+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:01+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:01+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:06+0000 PASSED                                                                   [ 11%]
2020-12-11T08:01:06+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[without_delegation_name-missing required arguments: name] 
2020-12-11T08:01:06+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:06+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:06+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:06+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:09+0000 PASSED                                                                   [ 11%]
2020-12-11T08:01:09+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[without_attributes-'attrs' is required] 
2020-12-11T08:01:09+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:09+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:09+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:09+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:14+0000 PASSED                                                                   [ 12%]
2020-12-11T08:01:14+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[with_nonexisting_attribute-Invalid syntax] 
2020-12-11T08:01:14+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:14+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:14+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:14+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:18+0000 PASSED                                                                   [ 13%]
2020-12-11T08:01:18+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[with_nonexisting_group-does not exist] 
2020-12-11T08:01:18+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:18+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:23+0000 PASSED                                                                   [ 14%]
2020-12-11T08:01:23+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_add_negative_scenarios[with_nonexisting_membergroup-group not found] 
2020-12-11T08:01:23+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:23+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:23+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:23+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:28+0000 PASSED                                                                   [ 14%]
2020-12-11T08:01:28+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_negative_scenarios[update_with_empty_permission-permissions' is required] 
2020-12-11T08:01:28+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:28+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:28+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:28+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:32+0000 PASSED                                                                   [ 15%]
2020-12-11T08:01:32+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_negative_scenarios[update_with_invalid_permission-Invalid permission] 
2020-12-11T08:01:32+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:32+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:32+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:32+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:35+0000 PASSED                                                                   [ 16%]
2020-12-11T08:01:35+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_negative_scenarios[update_with_membergroup_with_actionmember-Argument 'membergroup' can not be used with action 'member'] 
2020-12-11T08:01:35+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:35+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:35+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:35+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:38+0000 PASSED                                                                   [ 17%]
2020-12-11T08:01:38+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_negative_scenarios[update_with_group_with_actionmember-Argument 'group' can not be used with action 'member'] 
2020-12-11T08:01:38+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:38+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:38+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:38+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:40+0000 PASSED                                                                   [ 17%]
2020-12-11T08:01:40+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_update_negative_scenarios[remove_all_attributes-At minimum one attribute is needed.] 
2020-12-11T08:01:40+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:40+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:40+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:40+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:45+0000 PASSED                                                                   [ 18%]
2020-12-11T08:01:45+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_remove_single 
2020-12-11T08:01:45+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:45+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:01:45+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T08:01:46+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:01:46+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:46+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:46+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:51+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:01:51+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-show', 'basic manager attributes']
2020-12-11T08:01:52+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:01:52+0000 PASSED                                                                   [ 19%]
2020-12-11T08:01:52+0000 ansible_freeipa_tests/rbac_module.py::TestDelegation::test_delegation_remove_multiple 
2020-12-11T08:01:52+0000 -------------------------------- live log call ---------------------------------
2020-12-11T08:01:52+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:01:52+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-find']
2020-12-11T08:01:53+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:01:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO WRITE inventory/rbac.hosts
2020-12-11T08:01:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO PUT rbac_module.yml
2020-12-11T08:01:53+0000 [pytest_multihost.host.Host.ansible.ParamikoTransport] INFO RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/rbac.hosts', 'rbac_module.yml']
2020-12-11T08:01:58+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kinit', 'admin']
2020-12-11T08:01:58+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['ipa', 'delegation-find']
2020-12-11T08:01:59+0000 [pytest_multihost.host.Host.master.ParamikoTransport] INFO RUN ['kdestroy', '-A']
2020-12-11T08:01:59+0000 PASSED                                                                   [ 20%]


Based on the test result, marking the bug VERIFIED.

Comment 10 errata-xmlrpc 2021-05-18 15:51:41 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-2021:1860


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