<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif;"><span style="font-size: 16px;">Hi,</span></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;">      I am planning to deploy FreeIPA Client in a docker where my Apps are running. However I hit a road block as there seems to be problem with the docker’s hostname settings</span></font></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;">I</span></font><font face="Calibri,sans-serif"><span style="font-size: 16px;">n DNS records.  </span></font></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;"><br>
</span></font></div>
<div>Debug Log</div>
<div>———————</div>
<div>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">ipa-client-install --hostname=`hostname -f` --mkhomedir -N --force-join —debug </span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">.</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">.</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">.</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">.</span></p>
</div>
<div>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">debug</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">zone phx01.eaz.ebayc3.com.</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">update delete <<i>docker</i>_<span style="font-style: italic;">container_fqdn</span>>. IN A</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">show</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">send</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">update add <<i>docker</i>_<span style="font-style: italic;">container_fqdn</span>>. 1200 IN A 172.17.0.3</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">show</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">send</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0); min-height: 21px;">
<span style="font-variant-ligatures: no-common-ligatures"></span><br>
</p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">Starting external process</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">args=/usr/bin/nsupdate -g /etc/ipa/.dns_update.txt</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">Process execution failed</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">Traceback (most recent call last):</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 2603, in <module></span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    sys.exit(main())</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 2584, in main</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    rval = install(options, env, fstore, statestore)</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 2387, in install</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    client_dns(cli_server[0], hostname, options.dns_updates)</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 1423, in client_dns</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    update_dns(server, hostname)</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 1410, in update_dns</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    if do_nsupdate(update_txt):</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/sbin/ipa-client-install", line 1346, in do_nsupdate</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    ipautil.run(['/usr/bin/nsupdate', '-g', UPDATE_FILE])</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/lib/python2.7/dist-packages/ipapython/ipautil.py", line 303, in run</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    close_fds=True, env=env, cwd=cwd)</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    errread, errwrite)</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">    raise child_exception</span></p>
<p style="margin: 0px; font-size: 19px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
<span style="font-variant-ligatures: no-common-ligatures">OSError: [Errno 2] No such file or directory</span></p>
</div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;"><br>
</span></font></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;">As a Follow up question I also wanted to know why is absolutely necessary for Kerberos Client to have hostname? Wont Client initiate the connection and FreeIPA server can take it from there.</span></font></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;">If so what is the need of FQDN for FreeIPA client at all?</span></font></div>
<div><font face="Calibri,sans-serif"><span style="font-size: 16px;"><br>
</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif;"><span style="font-size: 16px;">-</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif;"><span style="font-size: 16px;">Best,</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif;"><span style="font-size: 16px;">Pawan</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</body>
</html>