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 1986054 - fix automountlocation-tofiles output
Summary: fix automountlocation-tofiles output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1986052
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-26 15:16 UTC by Rob Crittenden
Modified: 2022-05-17 13:00 UTC (History)
6 users (show)

Fixed In Version: ipa-4.9.8-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1986052
Environment:
Last Closed: 2022-05-17 12:44:18 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7118 0 None None None 2021-10-19 16:31:55 UTC
Red Hat Product Errata RHBA-2022:2387 0 None None None 2022-05-17 12:44:29 UTC

Description Rob Crittenden 2021-07-26 15:16:51 UTC
+++ This bug was initially created as a clone of Bug #1986052 +++

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
```

--- Additional comment from Rob Crittenden on 2021-07-26 15:16:08 UTC ---

Fixed upstream
master:
https://pagure.io/freeipa/c/3e9bb606b4050fe9feb359e4cc038a0ac4e671e3
https://pagure.io/freeipa/c/14062c774b00ade4fba4f8493c2ae519dba9298f
https://pagure.io/freeipa/c/f470f64908bec1bded5d6c2d538cdda6eb4979aa

Comment 2 Florence Blanc-Renaud 2021-12-03 09:37:41 UTC
Included with the rebase to 4.9.8

Comment 10 Mohammad Rizwan 2021-12-22 08:56:50 UTC
version:
ipa-server-4.9.8-1.el9.x86_64

test_integration/test_commands.py::TestIPACommand::

============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.9', 'Platform': 'Linux-5.14.0-32.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'sourceorder': '0.5', 'html': '3.1.1'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, sourceorder-0.5, html-3.1.1
collecting ... collected 40 items

test_integration/test_commands.py::TestIPACommand::test_aes_sha_kerberos_enctypes PASSED [  2%]
test_integration/test_commands.py::TestIPACommand::test_certmap_match_issue7520 PASSED [  5%]
test_integration/test_commands.py::TestIPACommand::test_cert_find_issue7520 PASSED [  7%]
test_integration/test_commands.py::TestIPACommand::test_add_permission_failure_issue5923 PASSED [ 10%]
test_integration/test_commands.py::TestIPACommand::test_change_sysaccount_password_issue7561 PASSED [ 12%]
test_integration/test_commands.py::TestIPACommand::test_ldapmodify_password_issue7601 PASSED [ 15%]
test_integration/test_commands.py::TestIPACommand::test_change_sysaccount_pwd_history_issue7181 PASSED [ 17%]
test_integration/test_commands.py::TestIPACommand::test_change_user_pwd_history_issue7181 PASSED [ 20%]
test_integration/test_commands.py::TestIPACommand::test_dm_change_user_pwd_history_issue7181 PASSED [ 22%]
test_integration/test_commands.py::TestIPACommand::test_huge_password PASSED [ 25%]
test_integration/test_commands.py::TestIPACommand::test_cleartext_password_httpd_log PASSED [ 27%]
test_integration/test_commands.py::TestIPACommand::test_change_selinuxusermaporder PASSED [ 30%]
test_integration/test_commands.py::TestIPACommand::test_ipa_console PASSED [ 32%]
test_integration/test_commands.py::TestIPACommand::test_list_help_topics PASSED [ 35%]
test_integration/test_commands.py::TestIPACommand::test_ssh_key_connection PASSED [ 37%]
test_integration/test_commands.py::TestIPACommand::test_ssh_leak PASSED  [ 40%]
test_integration/test_commands.py::TestIPACommand::test_certificate_out_write_to_file PASSED [ 42%]
test_integration/test_commands.py::TestIPACommand::test_sssd_ifp_access_ipaapi PASSED [ 45%]
test_integration/test_commands.py::TestIPACommand::test_ipa_cacert_manage_install PASSED [ 47%]
test_integration/test_commands.py::TestIPACommand::test_hbac_systemd_user PASSED [ 50%]
test_integration/test_commands.py::TestIPACommand::test_config_show_configured_services PASSED [ 52%]
test_integration/test_commands.py::TestIPACommand::test_ssh_from_controller PASSED [ 55%]
test_integration/test_commands.py::TestIPACommand::test_user_mod_change_capitalization_issue5879 PASSED [ 57%]
test_integration/test_commands.py::TestIPACommand::test_enabled_tls_protocols PASSED [ 60%]
test_integration/test_commands.py::TestIPACommand::test_sss_ssh_authorizedkeys PASSED [ 62%]
test_integration/test_commands.py::TestIPACommand::test_cacert_manage PASSED [ 65%]
test_integration/test_commands.py::TestIPACommand::test_ipa_adtrust_install_with_locale_issue8066 PASSED [ 67%]
test_integration/test_commands.py::TestIPACommand::test_login_wrong_password PASSED [ 70%]
test_integration/test_commands.py::TestIPACommand::test_ipa_nis_manage_enable PASSED [ 72%]
test_integration/test_commands.py::TestIPACommand::test_ipa_nis_manage_disable PASSED [ 75%]
test_integration/test_commands.py::TestIPACommand::test_ipa_nis_manage_enable_incorrect_password PASSED [ 77%]
test_integration/test_commands.py::TestIPACommand::test_pkispawn_log_is_present PASSED [ 80%]
test_integration/test_commands.py::TestIPACommand::test_reset_password_unlock PASSED [ 82%]
test_integration/test_commands.py::TestIPACommand::test_certupdate_no_schema PASSED [ 85%]
test_integration/test_commands.py::TestIPACommand::test_proxycommand_invalid_shell PASSED [ 87%]
test_integration/test_commands.py::TestIPACommand::test_ipa_getkeytab_server PASSED [ 90%]
test_integration/test_commands.py::TestIPACommandWithoutReplica::test_client_doesnot_throw_responsenotready_error PASSED [ 92%]
test_integration/test_commands.py::TestIPACommandWithoutReplica::test_basesearch_compat_tree PASSED [ 95%]
test_integration/test_commands.py::TestIPACommandWithoutReplica::test_sid_generation PASSED [ 97%]
test_integration/test_commands.py::TestIPAautomount::test_tofiles_orphan_keys PASSED [100%]

=============================== warnings summary ===============================



and

============================= test session starts ==============================
platform linux -- Python 3.9.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.9.9', 'Platform': 'Linux-5.14.0-32.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '6.2.2', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.7.0', 'multihost': '3.0', 'sourceorder': '0.5', 'html': '3.1.1'}}
rootdir: /usr/lib/python3.9/site-packages/ipatests
plugins: metadata-1.7.0, multihost-3.0, sourceorder-0.5, html-3.1.1
collecting ... collected 15 items

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%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
============================== 15 passed in 3.44s ==============================

Automation passed, Hence marking the bug to verified.

Comment 14 errata-xmlrpc 2022-05-17 12:44:18 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 (new packages: ipa), 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/RHBA-2022:2387


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