<?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>question Re: Where is &amp;quot;Regenerate kerberos&amp;quot; button ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123288#M86032</link>
    <description>&lt;P&gt;Interesting. Branch 2.1 has been patched but I wonder if the 2.2 was.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2016 21:17:46 GMT</pubDate>
    <dc:creator>ygb</dc:creator>
    <dc:date>2016-02-03T21:17:46Z</dc:date>
    <item>
      <title>Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123280#M86024</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have to regenerate hdfs.healess.keytab and looked for the cleanest way to do it. Ambari 2.2 documentation (§
7.3.1: how to regenerate keytabs) exactly refers to a "Regenerate Kerberos" button: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1753-capture-decran-2016-02-03-a-124550.png" style="width: 309px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22764i84043AE951F5C51B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1753-capture-decran-2016-02-03-a-124550.png" alt="1753-capture-decran-2016-02-03-a-124550.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; but I can't find it !&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1754-capture-decran-2016-02-03-a-124801.png" style="width: 1016px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22765i687BDD129C93F54C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1754-capture-decran-2016-02-03-a-124801.png" alt="1754-capture-decran-2016-02-03-a-124801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has this functionality been removed ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:19:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123280#M86024</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2019-08-19T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123281#M86025</link>
      <description>&lt;P&gt;Did you lookin advanced tab?  &lt;A rel="user" href="https://community.cloudera.com/users/2560/ygb.html" nodeid="2560"&gt;@YG B&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:52:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123281#M86025</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T20:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123282#M86026</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2560/ygb.html" nodeid="2560"&gt;@YG B&lt;/A&gt;&lt;P&gt;You may be right. I don't see any reference in Ambari 2.2 docs. Let me check with engineering.&lt;/P&gt;&lt;P&gt;I do see reference in 2.1 &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_how_to_regenerate_keytabs.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_how_to_regenerate_keytabs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:01:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123282#M86026</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-03T21:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123283#M86027</link>
      <description>&lt;P&gt;Which version of Ambari are you running? 2.2 like the docu?&lt;/P&gt;&lt;P&gt;It was removed in one version but reintroduced pretty much immediately and I definitely have it in 2.1.2. So it would be weird if it was gone in 2.2&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-12707"&gt;https://issues.apache.org/jira/browse/AMBARI-12707&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:02:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123283#M86027</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-03T21:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123284#M86028</link>
      <description>&lt;P&gt;Yes I did, but this tab is only dedicated to specific parameters for each service. No regenerate functionality.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:05:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123284#M86028</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-03T21:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123285#M86029</link>
      <description>&lt;P&gt;There is the section in Ambari 2.2 User guide: &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Ambari_Users_Guide/content/_how_to_regenerate_keytabs.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Ambari_Users_Guide/content/_how_to_regenerate_keytabs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:07:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123285#M86029</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-03T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123286#M86030</link>
      <description>&lt;P&gt;Ambari 2.2.0 &amp;amp; HDP 2.3.4.0&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:09:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123286#M86030</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-03T21:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123287#M86031</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/2560/ygb.html" nodeid="2560"&gt;@YG B&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check again and if you don't see it then I will open a ticket for this. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:11:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123287#M86031</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-03T21:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123288#M86032</link>
      <description>&lt;P&gt;Interesting. Branch 2.1 has been patched but I wonder if the 2.2 was.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:17:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123288#M86032</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-03T21:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123289#M86033</link>
      <description>&lt;P&gt;I checked one more time with several browsers and the button doesn't appear.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:25:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123289#M86033</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-03T21:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123290#M86034</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/134/mahadev.html" nodeid="134"&gt;@mahadev&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/313/yusaku.html" nodeid="313"&gt;@yusaku&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/165/smohanty.html" nodeid="165"&gt;@smohanty&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:42:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123290#M86034</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T22:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123291#M86035</link>
      <description>&lt;P&gt;In Ambari 2.2.0, the Regenerate Keytabs button should be available, if Kerberos was enabled using the MIT KDC or Active Directory options, &lt;STRONG&gt;not the manual option&lt;/STRONG&gt;.  In the manual case, the user is responsible for managing the Kerberos identities and therefore must manually create and distribute the keytab files.  Because of this, the Regenerate Keytabs button will not be available. &lt;/P&gt;&lt;P&gt;However, if either the MIT KDC or Active Directory options were selected, than maybe you have hit an issue that seems to have been introduced in Ambari 2.1.2 and hopefully fixed in Ambari 2.2.1.  This issue causes service configurations to get removed from the Ambari database.  I am not sure what is causing this; however if the Kerberos-related configurations are affected the Regenerate Keytabs button will go missing. Other issue will be seen as well. For example starting and stopping some services may encounter an error claiming the kerberos-env configurations is missing and the request operation fails to go through. &lt;/P&gt;&lt;P&gt;To fix this issue, the keberos-env and krb5-conf configuration need to be recreated via the Ambari REST API. &lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;PRE&gt;PUT /api/v1/clusters/CLUSER_NAME
[
  {
    "Clusters": {
      "desired_config": {
        "type": "krb5-conf",
        "tag": "version1",
        "properties": {
          "domains":"",
          "manage_krb5_conf": "true",
          "conf_dir":"/etc",
          "content" : "[libdefaults]\n  renew_lifetime = 7d\n  forwardable= true\n  default_realm = {{realm|upper()}}\n  ticket_lifetime = 24h\n  dns_lookup_realm = false\n  dns_lookup_kdc = false\n  #default_tgs_enctypes = {{encryption_types}}\n  #default_tkt_enctypes ={{encryption_types}}\n\n{% if domains %}\n[domain_realm]\n{% for domain in domains.split(',') %}\n  {{domain}} = {{realm|upper()}}\n{% endfor %}\n{%endif %}\n\n[logging]\n  default = FILE:/var/log/krb5kdc.log\nadmin_server = FILE:/var/log/kadmind.log\n  kdc = FILE:/var/log/krb5kdc.log\n\n[realms]\n  {{realm}} = {\n    admin_server = {{admin_server_host|default(kdc_host, True)}}\n    kdc = {{kdc_host}}\n }\n\n{# Append additional realm declarations below #}\n"
        }
      }
    }
  },
  {
    "Clusters": {
      "desired_config": {
        "type": "kerberos-env",
        "tag": "version1",
        "properties": {
          "kdc_type": "mit-kdc",
          "manage_identities": "true",
          "install_packages": "true",
          "encryption_types": "aes des3-cbc-sha1 rc4 des-cbc-md5",
          "realm" : "EXAMPLE.COM",
          "kdc_host" : "hdc.host",
          "admin_server_host" : "kadmin.host",
          "executable_search_paths" : "/usr/bin, /usr/kerberos/bin, /usr/sbin, /usr/lib/mit/bin, /usr/lib/mit/sbin",
          "password_length": "20",
          "password_min_lowercase_letters": "1",
          "password_min_uppercase_letters": "1",
          "password_min_digits": "1",
          "password_min_punctuation": "1",
          "password_min_whitespace": "0",
          "service_check_principal_name" : "${cluster_name}-${short_date}",
          "case_insensitive_username_rules" : "false"
        }
      }
    }
  }
]
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;NOTE: This example will need to be modified to set the appropriate properties for the relevant cluster.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:49:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123291#M86035</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2016-02-03T22:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where is "Regenerate kerberos" button ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123292#M86036</link>
      <description>&lt;P&gt;Many thanks. The button is back !&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 18:48:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-is-quot-Regenerate-kerberos-quot-button/m-p/123292#M86036</guid>
      <dc:creator>ygb</dc:creator>
      <dc:date>2016-02-04T18:48:50Z</dc:date>
    </item>
  </channel>
</rss>

