During my try-out of ipa-client-automount command, I often see the following error:
[root@f17apple (Fedora17-i386) /] ipa-client-automount --server=f17blue.yzhang.redhat.com --location=ldaptest IPA server: f17blue.yzhang.redhat.com Location: ldaptest Traceback (most recent call last): File "/sbin/ipa-client-automount", line 464, in <module> sys.exit(main()) File "/sbin/ipa-client-automount", line 436, in main sys.exit("Cannot connect to the server due to generic error: %s", str(e)) TypeError: exit expected at most 1 arguments, got 2
Additional information: what I have on ipa server:
[root@f17blue (Fedora17-x86_64) share] ipa automountlocation-tofiles ldaptest /etc/auto.master: /- /etc/auto.direct --------------------------- /etc/auto.direct: /share -ro,soft f17blue.yzhang.redhat.com:/share maps not connected to /etc/auto.master: [root@f17blue (Fedora17-x86_64) share] hostname f17blue.yzhang.redhat.com [root@f17blue (Fedora17-x86_64) share] ls /share ipaserver.txt ipausers.txt
full terminal output of run and rerun
[root@f17apple (Fedora17-i386) /] ipa-client-automount --server=f17blue.yzhang.redhat.com --location=ldaptest
IPA server: f17blue.yzhang.redhat.com
Location: ldaptest
Traceback (most recent call last):
File "/sbin/ipa-client-automount", line 464, in <module> sys.exit(main())
File "/sbin/ipa-client-automount", line 436, in main sys.exit("Cannot connect to the server due to generic error: %s", str(e))
TypeError: exit expected at most 1 arguments, got 2
Continue to configure the system with these values? [no]: yes
Configured /etc/nsswitch.conf
Configured /etc/sysconfig/nfs
Configured /etc/idmapd.conf
Started nfs-idmap.service
Started nfs-secure.service
Restarting sssd, waiting for it to become available.
Started autofs.service
[root@f17apple (Fedora17-i386) /] cd /share
[root@f17apple (Fedora17-i386) share] pwd
/share
[root@f17apple (Fedora17-i386) share] ll
total 8
-rw-r--r--. 1 root root 137 Sep 11 11:23 ipaserver.txt
-rw-r--r--. 1 root root 132 Sep 11 11:47 ipausers.txt
Description formatting fixed.
attachment freeipa-rcrit-1057-automount.patch
master: 1701675[[BR]] ipa-3-0: 29e0f3b
Rename component.
Metadata Update from @yizhangid: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 3.0 RC2
Login to comment on this ticket.