<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LSF not receiving Kerberos TGT in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399135#M10508</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;24 %put KRB5CCNAME: %sysget(KRB5CCNAME);&lt;BR /&gt;KRB5CCNAME: FILE:/tmp/krb5cc_sasgrid_myuserid_13922_7fa13b507c40&lt;BR /&gt;25 run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 12:15:49 GMT</pubDate>
    <dc:creator>nhvdwalt</dc:creator>
    <dc:date>2017-09-27T12:15:49Z</dc:date>
    <item>
      <title>LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399069#M10505</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at my wits end....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to set up Kerberos TGTs in SAS 9.4 M3 Grid (RHEL6) for Hadoop purposes. I have....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Applied the required SAS TK hotfixes to allow TGT forwarding&lt;/P&gt;&lt;P&gt;- Set&amp;nbsp;SAS_GRID_USE_KERBEROS=1 in ObjectSpawner_usermods.sh and&amp;nbsp;level_env_usermods.sh&lt;/P&gt;&lt;P&gt;- Set&amp;nbsp;LSB_KRB_TGT_FWD=Y in lsf.conf&lt;/P&gt;&lt;P&gt;- Restarted the environment&lt;/P&gt;&lt;P&gt;- Set the required krb5 libs in /lib64 as LSF expects them&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS on the LSF submission host will generate the TGT ok. TGT is valid, forwardable and renewable. On the LSF execution host I can see that&amp;nbsp;KRB5CCNAME is set to the same TGT name that was generated on&amp;nbsp; LSF submission host. However, the only missing component is that the physical TGT is not being generated on the LSF execution host.&amp;nbsp;&lt;SPAN&gt;KRB5CCNAME points there, but the TGT is physically not there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I missing ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399069#M10505</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-09-27T08:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399134#M10507</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the current value of KRB5CCNAME on the execution host?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put KRB5CCNAME: %sysget(KRB5CCNAME);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:10:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399134#M10507</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-27T12:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399135#M10508</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;24 %put KRB5CCNAME: %sysget(KRB5CCNAME);&lt;BR /&gt;KRB5CCNAME: FILE:/tmp/krb5cc_sasgrid_myuserid_13922_7fa13b507c40&lt;BR /&gt;25 run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399135#M10508</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-09-27T12:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399140#M10511</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your response. That filename is not valid. That is KRB5CCNAME for gridRun, not for LSF. First of all, make sure that you have no scripts that can potentially change KRB5CCNAME in WorkspaceServer_usermods.sh. Second, are you sure that LSF ticket wasn't created in /tmp directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ls -lrt /tmp/lsf* | grep &amp;lt;YOUR_NAME&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, are you using MIT libraries or third-party software such as Centrify?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399140#M10511</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-27T12:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399147#M10513</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct, so the value of&amp;nbsp;&lt;SPAN&gt;KRB5CCNAME is passed from the LSF submission host (gridrun) and is of course not valid on the LSF execution host. There is nothing that sets this value explicitly, SAS does it on it's own in some way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I checked, the TGT wasn't created for me on the LSF execution host at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ ls -lrt /tmp/lsf* | grep myuserid&lt;BR /&gt;ls: cannot access /tmp/lsf*: No such file or directory&lt;BR /&gt;$&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using AD as a KDC. I would assume the Kerberos libraries are those from RHEL in lib64&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399147#M10513</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-09-27T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399148#M10514</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure that the krb5 libs (libkrb5.so, libcom_err.so, libk5crypto.so, and libkrb5support.so) are in the default directories. On 64-bit platforms, the directories are /lib64, /usr/lib64, and /usr/local/lib64. If the libs are not in these directories, specify the directories in the LSB_KRB_LIB_PATH= parameter. You can specify multiple paths, separated by blanks, commas, or semicolons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you restarted LSF after changing lsf.conf?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If yes, please add these loggers to /&amp;lt;SASConfig&amp;gt;/Lev&amp;lt;X&amp;gt;/ObjectSpawner/logconfig.xml:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;logger name="Audit.Authentication"&amp;gt;
&amp;lt;level value="Trace"/&amp;gt;
&amp;lt;/logger&amp;gt;
&amp;lt;logger name="App.tk.tkegrid"&amp;gt;
&amp;lt;level value="Trace"/&amp;gt;
&amp;lt;/logger&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In the LSF configuration file, add these entries:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LSB_LOG_MASK=LOG_DEBUG
LSB_DEBUG_CMD="LC2_KRB"
LSB_CMD_LOGDIR=logging_directory
LSF_LOG_MASK=LOG_DEBUG
LSF_DEBUG_CMD="LC2_KRB"
LSF_CMD_LOGDIR=logging_directory&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Restart both the object spawner and LSF, repeat a problem and send to me log files for further analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399148#M10514</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-27T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399299#M10517</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;, will do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a PROD environment, so I just have to get a slot where I can do the changes and restarts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 18:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399299#M10517</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-09-27T18:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: LSF not receiving Kerberos TGT</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399318#M10518</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, keep me posted.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 19:30:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LSF-not-receiving-Kerberos-TGT/m-p/399318#M10518</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-09-27T19:30:23Z</dc:date>
    </item>
  </channel>
</rss>

