Bug 1986052

Summary: fix automountlocation-tofiles output
Product: Red Hat Enterprise Linux 8 Reporter: Rob Crittenden <rcritten>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: frenaud, myusuf, rcritten, rjeffman, ssidhaye, tscherf
Target Milestone: betaKeywords: TestCaseProvided, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1986054 (view as bug list) Environment:
Last Closed: 2022-05-10 14:08:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1986054    

Description Rob Crittenden 2021-07-26 15:11:46 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/freeipa/issue/7814

```
[root@f29-idm0 ~]# ipa automountkey-find default auto.test
------------------------
2 automount keys matched
------------------------
  Key: /test
  Mount information: nfs.example.com:/exports/test

  Key: /test2
  Mount information: nfs.example.com:/exports/test2
----------------------------
Number of entries returned 2
----------------------------
[root@f29-idm0 ~]# ipa automountlocation-tofiles default
/etc/auto.master:
/-	/etc/auto.direct
/home	/etc/auto.home
---------------------------
/etc/auto.direct:
---------------------------
/etc/auto.home:

maps not connected to /etc/auto.master:
---------------------------
/etc/auto.test:
/test	nfs.example.com:/exports/test
```

Comment 12 Mohammad Rizwan 2021-12-16 08:05:48 UTC
version:
ipa-server-4.9.8-2.module+el8.6.0+13621+937b8cd9.x86_64


test_integration/test_commands.py::TestIPAautomount ::
[..]
test_integration/test_commands.py::TestIPAautomount::test_tofiles_orphan_keys PASSED [100%]

and

ipatests/test_xmlrpc/test_automount_plugin.py::test_automount ::

test_xmlrpc/test_automount_plugin.py::test_automount::test_0_automountlocation_add PASSED [  6%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_1_automountmap_add PASSED [ 13%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_2_automountkey_add PASSED [ 20%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_3_automountkey_add PASSED [ 26%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_4_automountkey_add PASSED [ 33%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_5_automountmap_show PASSED [ 40%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_6_automountmap_find PASSED [ 46%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_7_automountkey_show PASSED [ 53%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_8_automountkey_find PASSED [ 60%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_9_automountkey_mod PASSED [ 66%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_a1_automountmap_mod PASSED [ 73%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_a2_automountmap_tofiles PASSED [ 80%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_b_automountkey_del PASSED [ 86%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_c_automountlocation_del PASSED [ 93%]
test_xmlrpc/test_automount_plugin.py::test_automount::test_d_automountmap_del PASSED [100%]


Automation passed, hence moving the bug to verified state.

Comment 18 errata-xmlrpc 2022-05-10 14:08:44 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 (idm:client and idm:DL1 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-2022:1884