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 1834752 - [ansible-freeipa] Required correct error message for adding pac_type with action: member in the service module.
Summary: [ansible-freeipa] Required correct error message for adding pac_type with act...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-freeipa
Version: 8.3
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Rafael Jeffman
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-12 10:52 UTC by Varun Mylaraiah
Modified: 2020-11-04 02:47 UTC (History)
2 users (show)

Fixed In Version: ansible-freeipa-0.1.11-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:46:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4663 0 None None None 2020-11-04 02:46:46 UTC

Description Varun Mylaraiah 2020-05-12 10:52:19 UTC
Description of problem:
Required correct error message for adding pac_type with “action: member” in the ansible-freeipa service module.

Version-Release number of selected component (if applicable):
ansible-freeipa-0.1.10-1.el8.noarch

Steps to Reproduce:

[root@master ~]# ipa service-find myfirstservce1/master.ipadomain.test
-----------------
1 service matched
-----------------
  Principal name: myfirstservce1/master.ipadomain.test
  Principal alias: myfirstservce1/master.ipadomain.test
  Authentication Indicators: otp
  Keytab: False
----------------------------
Number of entries returned 1
----------------------------

[root@ansible ~]# cat 01.yaml
---
- name: Playbook to manage IPA service.
  hosts: ipaserver
  become: true
  gather_facts: false

  tasks:
  - name: Get Domain from server name
    set_fact:
      ipaserver_domain: "{{ groups.ipaserver[0].split('.')[1:] | join ('.') }}"
  - name: Get Realm from server name
    set_fact:
      ipaserver_realm: "{{ groups.ipaserver[0].split('.')[1:] | join ('.') | upper }}"      
  # Ensure service is present
  - ipaservice:
      Ipaadmin_password: <xxxxxxxxxxxxx>
      name: "{{'myfirstservce1/master.' + ipaserver_domain + '@' + ipaserver_realm }}"
      pac_type: PAD
      action: member


[root@ansible ~]# ansible-playbook -vv -i inventory/server.hosts 01.yaml 
ansible-playbook 2.9.7
  config file = /root/ansible.cfg
  configured module search path = ['/root/ansible-freeipa/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.6/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.6.8 (default, Apr  3 2020, 16:09:51) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
Using /root/ansible.cfg as config file

PLAYBOOK: 01.yaml *************************************************************************
1 plays in 01.yaml

PLAY [Playbook to manage IPA service.] ****************************************************
META: ran handlers

TASK [Get Domain from server name] ********************************************************
task path: /root/01.yaml:8
ok: [master.ipadomain.test] => {"ansible_facts": {"ipaserver_domain": "ipadomain.test"}, "changed": false}

TASK [Get Realm from server name] *********************************************************
task path: /root/01.yaml:11
ok: [master.ipadomain.test] => {"ansible_facts": {"ipaserver_realm": "IPADOMAIN.TEST"}, "changed": false}

TASK [ipaservice] *************************************************************************
task path: /root/01.yaml:15
fatal: [master.ipadomain.test]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": "Argument 'pac_type' can not be used with state 'present'"}

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


Actual results:
 "changed": false, "msg": "Argument 'pac_type' can not be used with state 'present'"

Comment 1 Rafael Jeffman 2020-06-02 21:59:02 UTC
There is an upstream PR for the issue: https://github.com/freeipa/ansible-freeipa/pull/290

Comment 3 Rafael Jeffman 2020-06-05 23:27:53 UTC
Upstream PR was merged.

Comment 6 Varun Mylaraiah 2020-07-23 11:36:58 UTC
Verified

ansible-freeipa-0.1.12-5.el8.noarch

ansible-freeipa-tests/ansible_freeipa_tests/service_module.py::TestServicePacType::()::test_service_add_pactype_with_actionmember
Automation test result
------------------------------ Captured log call -------------------------------
channel.py                1212 DEBUG    [chan 20] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 20] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 20 opened.
transport.py               318 INFO     RUN ['ipactl', 'status']
transport.py               519 DEBUG    RUN ['ipactl', 'status']
channel.py                1212 DEBUG    [chan 20] Sesch channel 20 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    Directory Service: RUNNING
transport.py               563 DEBUG    krb5kdc Service: RUNNING
transport.py               563 DEBUG    kadmin Service: RUNNING
transport.py               563 DEBUG    named Service: RUNNING
transport.py               563 DEBUG    httpd Service: RUNNING
transport.py               563 DEBUG    ipa-custodia Service: RUNNING
transport.py               563 DEBUG    pki-tomcatd Service: RUNNING
transport.py               563 DEBUG    ipa-otpd Service: RUNNING
transport.py               563 DEBUG    ipa-dnskeysyncd Service: RUNNING
transport.py               563 DEBUG    ipa: INFO: The ipactl command was successful
channel.py                1212 DEBUG    [chan 20] EOF received (20)
channel.py                1212 DEBUG    [chan 20] EOF sent (20)
transport.py               217 DEBUG    Exit code: 0
channel.py                1212 DEBUG    [chan 21] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 21] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 21 opened.
transport.py               318 INFO     RUN ['kinit', 'admin']
transport.py               519 DEBUG    RUN ['kinit', 'admin']
channel.py                1212 DEBUG    [chan 21] Sesch channel 21 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 21] EOF received (21)
channel.py                1212 DEBUG    [chan 21] EOF sent (21)
transport.py               217 DEBUG    Exit code: 0
channel.py                1212 DEBUG    [chan 22] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 22] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 22 opened.
transport.py               318 INFO     RUN ['ipa', 'service-find']
transport.py               519 DEBUG    RUN ['ipa', 'service-find']
channel.py                1212 DEBUG    [chan 22] Sesch channel 22 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    ------------------
transport.py               563 DEBUG    5 services matched
transport.py               563 DEBUG    ------------------
transport.py               563 DEBUG      Principal name: DNS/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: DNS/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: HTTP/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: HTTP/master.ipadomain.test
transport.py               563 DE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ci5pcGFkb21haW4udGVzdIIVaXBhLWNhLmlwYWRvbWFpbi50ZXN0oDkGCisGAQQBgjcUAgOgKwwpSFRUUC9tYXN0ZXIuaXBhZG9tYWluLnRlc3RASVBBRE9NQUlOLlRFU1SgSAYGKwYBBQICoD4wPKAQGw5JUEFET01BSU4uVEVTVKEoMCagAwIBAaEfMB0bBEhUVFAbFW1hc3Rlci5pcGFkb21haW4udGVzdDANBgkqhkiG9w0BAQsFAAOCAYEAXRzHueEllAd9Lav5TAcqGripniEYQ3MmNFA+SNPiZVnSW3EgjRTM337t2/p2jJPNKVNrPNDvaeFUuThOAcC8FHhWccAWsj76OSL2W8biMIvQaBX2MIiQ4/+PYN8wKFhHoEzxuhPM8dgGsXSLGzNjY+5krKr8n2ThnJ04fYo/qgb1CoRxfRHFastaeJ+n6Fi+pP30PVhcZFz13ZsgjHCDkIWNmFvLtz0JtnCVdoZbgAjzBMaHpAwJS/U8qXICGV74zCJK2DsIP7dqH8yebBBH/WvTVpoG5j8uHSSYIY8UFAedKzR2HXeu8kzol8P4T3AfErjcOLv5vO++qD8CEl56WnYlkudmGEtrkjou/L8wjc5yWLNoRACnHwhmKAKRokEsAvVVdOzd8yFtTgvGIQo13tqL33LeARg5C/+R+xgdd0Q+013FTpsBvEAiYbe0zu1ba61TGZry5PLzPupE+cCayZmCquhvDHKJm0tP2BdwUdZshgTk9ELW8fIMJ2tAE/bt
transport.py               563 DEBUG      Subject: CN=master.ipadomain.test,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Serial Number: 9
transport.py               563 DEBUG      Serial Number (hex): 0x9
transport.py               563 DEBUG      Issuer: CN=Certificate Authority,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Not Before: Wed Jul 22 16:54:16 2020 UTC
transport.py               563 DEBUG      Not After: Sat Jul 23 16:54:16 2022 UTC
transport.py               563 DEBUG      Fingerprint (SHA1): 7c:29:da:fa:b8:31:83:2b:db:45:11:73:27:c4:59:8e:c8:2e:42:0b
transport.py               563 DEBUG      Fingerprint (SHA256): 3c:e0:4a:2d:67:5d:74:45:16:12:56:df:8f:9b:86:75:ea:ca:6d:32:6b:c1:f8:07:f2:32:cb:ed:46:67:58:f7
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: dogtag/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: dogtag/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: ipa-dnskeysyncd/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: ipa-dnskeysyncd/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: ldap/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: ldap/master.ipadomain.test
transport.py               563 DEBUG      Certificate: MIIFSTCCA7GgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA5MRcwFQYDVQQKDA5JUEFET01BSU4uVEVTVDEeMBwGA1UEAwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIwMDcyMjE2NTM0M1oXDTIyMDcyMzE2NTM0M1owOTEXMBUGA1UECgwOSVBBRE9NQUlOLlRFU1QxHjAcBgNVBAMMFW1hc3Rlci5pcGFkb21haW4udGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL1ZCp6mC2Tfa7AmtfgVzUX/HLSkLcNir9tpg3fOuD1RfSNygWetOC7IwNa1lbR2NjYjiWAw894AytisoiJdRlhr3jWizlRC/IeAIp2/aBeAz7WquEHE4EPF/Ry7O35UiH5q41zmmvqWusjjchTN1B6Kq2PHZVMtxw+Wd7MbpEHnZ+7mVFnpvHYq3//avhp+HglaFS1sNM0EENxSu6FJcT8mboJgPnXc1G6rbcAomRxLjHEFwVKlG/yuX+PNFvjzrzF+d8wu4raNmXcPuWrobOKihAuw8tqfUP8nX4JvSCuTsJTTF/g8k/HICh1wGujhnNZ5j7kqC878ocMZD2/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KawjFpVG5L3+S4sVk2In2rlLQ8GMM8191tahcScvBOoXhS2PFmMkHbn9aGv2xNLzczD6GXbMjXnilTxEhlTT0IBlq82JmBtiYHOoWA75QjXy0w==
transport.py               563 DEBUG      Subject: CN=master.ipadomain.test,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Serial Number: 8
transport.py               563 DEBUG      Serial Number (hex): 0x8
transport.py               563 DEBUG      Issuer: CN=Certificate Authority,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Not Before: Wed Jul 22 16:53:43 2020 UTC
transport.py               563 DEBUG      Not After: Sat Jul 23 16:53:43 2022 UTC
transport.py               563 DEBUG      Fingerprint (SHA1): f1:6a:3c:99:34:4f:64:de:4e:9d:07:b2:62:a1:07:f8:1f:2b:18:46
transport.py               563 DEBUG      Fingerprint (SHA256): f5:7c:b6:6d:24:0b:ff:9b:0f:83:4f:d6:7a:5a:91:09:62:60:6a:46:b0:dd:dd:b2:93:4d:59:90:09:fb:84:fb
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    ----------------------------
transport.py               563 DEBUG    Number of entries returned 5
transport.py               563 DEBUG    ----------------------------
channel.py                1212 DEBUG    [chan 22] EOF received (22)
channel.py                1212 DEBUG    [chan 22] EOF sent (22)
transport.py               217 DEBUG    Exit code: 0
channel.py                1212 DEBUG    [chan 23] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 23] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 23 opened.
transport.py               318 INFO     RUN ['kdestroy', '-A']
transport.py               519 DEBUG    RUN ['kdestroy', '-A']
channel.py                1212 DEBUG    [chan 23] Sesch channel 23 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 23] EOF received (23)
channel.py                1212 DEBUG    [chan 23] EOF sent (23)
transport.py               217 DEBUG    Exit code: 0
transport.py               293 INFO     WRITE inventory/service.hosts
sftp.py                    158 DEBUG    [chan 0] open(b'inventory/service.hosts', 'wb')
sftp.py                    158 DEBUG    [chan 0] open(b'inventory/service.hosts', 'wb') -> 00000000
sftp.py                    158 DEBUG    [chan 0] close(00000000)
transport.py               329 INFO     PUT service_module.yml
sftp.py                    158 DEBUG    [chan 0] open(b'service_module.yml', 'wb')
sftp.py                    158 DEBUG    [chan 0] open(b'service_module.yml', 'wb') -> 00000000
sftp.py                    158 DEBUG    [chan 0] close(00000000)
sftp.py                    158 DEBUG    [chan 0] stat(b'service_module.yml')
channel.py                1212 DEBUG    [chan 6] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 6] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 6 opened.
transport.py               318 INFO     RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/service.hosts', 'service_module.yml']
transport.py               519 DEBUG    RUN ['ansible-playbook', '--ssh-extra-args="-o StrictHostKeyChecking=no"', '-vv', '-i', 'inventory/service.hosts', 'service_module.yml']
channel.py                1212 DEBUG    [chan 6] Sesch channel 6 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.11
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, Jun 26 2020, 12:10:09) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
transport.py               563 DEBUG    Using /root/ansible.cfg as config file
transport.py               563 DEBUG    
transport.py               563 DEBUG    PLAYBOOK: service_module.yml ***************************************************
transport.py               563 DEBUG    1 plays in service_module.yml
transport.py               563 DEBUG    
transport.py               563 DEBUG    PLAY [Playbook to ensure  not able to use pac_type and action:member togethe.] ***
transport.py               563 DEBUG    
transport.py               563 DEBUG    TASK [Gathering Facts] *********************************************************
transport.py               563 DEBUG    task path: /root/service_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 [Get Domain from server name] *********************************************
transport.py               563 DEBUG    task path: /root/service_module.yml:6
transport.py               563 DEBUG    ok: [master.ipadomain.test] => {"ansible_facts": {"ipaserver_domain": "ipadomain.test"}, "changed": false}
transport.py               563 DEBUG    
transport.py               563 DEBUG    TASK [Get Realm from server name] **********************************************
transport.py               563 DEBUG    task path: /root/service_module.yml:9
transport.py               563 DEBUG    ok: [master.ipadomain.test] => {"ansible_facts": {"ipaserver_realm": "IPADOMAIN.TEST"}, "changed": false}
transport.py               563 DEBUG    
transport.py               563 DEBUG    TASK [ipaservice] **************************************************************
transport.py               563 DEBUG    task path: /root/service_module.yml:13
transport.py               563 DEBUG    fatal: [master.ipadomain.test]: FAILED! => {"changed": false, "msg": "Argument 'pac_type' can not be used with state 'present', action 'member'"}
transport.py               563 DEBUG    
transport.py               563 DEBUG    PLAY RECAP *********************************************************************
transport.py               563 DEBUG    master.ipadomain.test      : ok=3    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
transport.py               563 DEBUG    
channel.py                1212 DEBUG    [chan 6] EOF received (6)
channel.py                1212 DEBUG    [chan 6] EOF sent (6)
transport.py               217 DEBUG    Exit code: 2
channel.py                1212 DEBUG    [chan 24] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 24] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 24 opened.
transport.py               318 INFO     RUN ['kinit', 'admin']
transport.py               519 DEBUG    RUN ['kinit', 'admin']
channel.py                1212 DEBUG    [chan 24] Sesch channel 24 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 24] EOF received (24)
channel.py                1212 DEBUG    [chan 24] EOF sent (24)
transport.py               217 DEBUG    Exit code: 0
channel.py                1212 DEBUG    [chan 25] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 25] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 25 opened.
transport.py               318 INFO     RUN ['ipa', 'service-find']
transport.py               519 DEBUG    RUN ['ipa', 'service-find']
channel.py                1212 DEBUG    [chan 25] Sesch channel 25 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    ------------------
transport.py               563 DEBUG    5 services matched
transport.py               563 DEBUG    ------------------
transport.py               563 DEBUG      Principal name: DNS/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: DNS/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: HTTP/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: HTTP/master.ipadomain.test
transport.py               563 DEBUG      Certificate: MIIFYDCCA8igAwIBAgIBCTANBgkqhkiG9w0BAQsFADA5MRcwFQYDVQQKDA5JUEFET01BSU4uVEVTVDEeMBwGA1UEAwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIwMDcyMjE2NTQxNloXDTIyMDcyMzE2NTQxNlowOTEXMBUGA1UECgwOSVBBRE9NQUlOLlRFU1QxHjAcBgNVBAMMFW1hc3Rlci5pcGFkb21haW4udGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKbCo+yh5la/eg4vWd9n1Y6aIjZIBCeWIx1OU4wu7gTvD6ZHK6LvKouyk6OqkfMjSHT0++82cbdBgqv3g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wKFhHoEzxuhPM8dgGsXSLGzNjY+5krKr8n2ThnJ04fYo/qgb1CoRxfRHFastaeJ+n6Fi+pP30PVhcZFz13ZsgjHCDkIWNmFvLtz0JtnCVdoZbgAjzBMaHpAwJS/U8qXICGV74zCJK2DsIP7dqH8yebBBH/WvTVpoG5j8uHSSYIY8UFAedKzR2HXeu8kzol8P4T3AfErjcOLv5vO++qD8CEl56WnYlkudmGEtrkjou/L8wjc5yWLNoRACnHwhmKAKRokEsAvVVdOzd8yFtTgvGIQo13tqL33LeARg5C/+R+xgdd0Q+013FTpsBvEAiYbe0zu1ba61TGZry5PLzPupE+cCayZmCquhvDHKJm0tP2BdwUdZshgTk9ELW8fIMJ2tAE/bt
transport.py               563 DEBUG      Subject: CN=master.ipadomain.test,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Serial Number: 9
transport.py               563 DEBUG      Serial Number (hex): 0x9
transport.py               563 DEBUG      Issuer: CN=Certificate Authority,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Not Before: Wed Jul 22 16:54:16 2020 UTC
transport.py               563 DEBUG      Not After: Sat Jul 23 16:54:16 2022 UTC
transport.py               563 DEBUG      Fingerprint (SHA1): 7c:29:da:fa:b8:31:83:2b:db:45:11:73:27:c4:59:8e:c8:2e:42:0b
transport.py               563 DEBUG      Fingerprint (SHA256): 3c:e0:4a:2d:67:5d:74:45:16:12:56:df:8f:9b:86:75:ea:ca:6d:32:6b:c1:f8:07:f2:32:cb:ed:46:67:58:f7
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: dogtag/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: dogtag/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: ipa-dnskeysyncd/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: ipa-dnskeysyncd/master.ipadomain.test
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    
transport.py               563 DEBUG      Principal name: ldap/master.ipadomain.test
transport.py               563 DEBUG      Principal alias: ldap/master.ipadomain.test
transport.py               563 DEBUG      Certificate: MIIFSTCCA7GgAwIBAgIBCDANBgkqhkiG9w0BAQsFADA5MRcwFQYDVQQKDA5JUEFET01BSU4uVEVTVDEeMBwGA1UEAwwVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTIwMDcyMjE2NTM0M1oXDTIyMDcyMzE2NTM0M1owOTEXMBUGA1UECgwOSVBBRE9NQUlOLlRFU1QxHjAcBgNVBAMMFW1hc3Rlci5pcGFkb21haW4udGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL1ZCp6mC2Tfa7AmtfgVzUX/HLSkLcNir9tpg3fOuD1RfSNygWetOC7IwNa1lbR2NjYjiWAw894AytisoiJdRlhr3jWizlRC/IeAIp2/aBeAz7WquEHE4EPF/Ry7O35UiH5q41zmmvqWusjjchTN1B6Kq2PHZVMtxw+Wd7MbpEHnZ+7mVFnpvHYq3//avhp+HglaFS1sNM0EENxSu6FJcT8mboJgPnXc1G6rbcAomRxLjHEFwVKlG/yuX+PNFvjzrzF+d8wu4raNmXcPuWrobOKihAuw8tqfUP8nX4JvSCuTsJTTF/g8k/HICh1wGujhnNZ5j7kqC878ocMZD2/Tf/8CAwEAAaOCAdowggHWMB8GA1UdIwQYMBaAFFbGbGdGiLKdMHKRJ8YpFAIvO0bDMEAGCCsGAQUFBwEBBDQwMjAwBggrBgEFBQcwAYYkaHR0cDovL2lwYS1jYS5pcGFkb21haW4udGVzdC9jYS9vY3NwMA4GA1UdDwEB/wQEAwIE8DAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIweQYDVR0fBHIwcDBuoDagNIYyaHR0cDovL2lwYS1jYS5pcGFkb21haW4udGVzdC9pcGEvY3JsL01hc3RlckNSTC5iaW6iNKQyMDAxDjAMBgNVBAoMBWlwYWNhMR4wHAYDVQQDDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHQYDVR0OBBYEFITBNUpqpXrzMMrksjJrlA91STU/MIGnBgNVHREEgZ8wgZyCFW1hc3Rlci5pcGFkb21haW4udGVzdKA5BgorBgEEAYI3FAIDoCsMKWxkYXAvbWFzdGVyLmlwYWRvbWFpbi50ZXN0QElQQURPTUFJTi5URVNUoEgGBisGAQUCAqA+MDygEBsOSVBBRE9NQUlOLlRFU1ShKDAmoAMCAQGhHzAdGwRsZGFwGxVtYXN0ZXIuaXBhZG9tYWluLnRlc3QwDQYJKoZIhvcNAQELBQADggGBAJ8cX82LCGcT8nd1UnDGHbufn4MRexFBWaIRgy55YSAGHSUmAJlGCGWiUhrJTZsdaQzkui+vUrKymeUJB9Dsz1iDbx5Oszcqe/1y0/H6AkJ8X+qaqx/cxB7SRKas8qS2ZQypv+O0nvY0NHdYnFlBlevLmYvuEw+T/TO/PwhRGbCss/XHkef7+2JiodkfjGMuk5iI5wOYgid9oRBnIFSTaMbENS7zXoH/SHNt6AXReRbCCpr6LNGVBtct3xUjnUWZYWGq4NZQ93XQDivukTUpicuaLKxnT/IgEVkHA7TQXuEL3vMMXNkO3+EsFoFpvW7O4scMcKUbROxoxfMOJEhtn2HgFewNVAx9KDI6iC194ibqBlb/BD9nVAls875l1/1ps/Vd4b1SR8qr3QVe61iuKawjFpVG5L3+S4sVk2In2rlLQ8GMM8191tahcScvBOoXhS2PFmMkHbn9aGv2xNLzczD6GXbMjXnilTxEhlTT0IBlq82JmBtiYHOoWA75QjXy0w==
transport.py               563 DEBUG      Subject: CN=master.ipadomain.test,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Serial Number: 8
transport.py               563 DEBUG      Serial Number (hex): 0x8
transport.py               563 DEBUG      Issuer: CN=Certificate Authority,O=IPADOMAIN.TEST
transport.py               563 DEBUG      Not Before: Wed Jul 22 16:53:43 2020 UTC
transport.py               563 DEBUG      Not After: Sat Jul 23 16:53:43 2022 UTC
transport.py               563 DEBUG      Fingerprint (SHA1): f1:6a:3c:99:34:4f:64:de:4e:9d:07:b2:62:a1:07:f8:1f:2b:18:46
transport.py               563 DEBUG      Fingerprint (SHA256): f5:7c:b6:6d:24:0b:ff:9b:0f:83:4f:d6:7a:5a:91:09:62:60:6a:46:b0:dd:dd:b2:93:4d:59:90:09:fb:84:fb
transport.py               563 DEBUG      Keytab: True
transport.py               563 DEBUG    ----------------------------
transport.py               563 DEBUG    Number of entries returned 5
transport.py               563 DEBUG    ----------------------------
channel.py                1212 DEBUG    [chan 25] EOF received (25)
channel.py                1212 DEBUG    [chan 25] EOF sent (25)
transport.py               217 DEBUG    Exit code: 0
channel.py                1212 DEBUG    [chan 26] Max packet in: 32768 bytes
channel.py                1212 DEBUG    [chan 26] Max packet out: 32768 bytes
transport.py              1819 DEBUG    Secsh channel 26 opened.
transport.py               318 INFO     RUN ['kdestroy', '-A']
transport.py               519 DEBUG    RUN ['kdestroy', '-A']
channel.py                1212 DEBUG    [chan 26] Sesch channel 26 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 26] EOF received (26)
channel.py                1212 DEBUG    [chan 26] EOF sent (26)
transport.py               217 DEBUG    Exit code: 0

Comment 9 errata-xmlrpc 2020-11-04 02:46:35 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-2020:4663


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