<?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: Failed to create kerberos principal in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234597#M85128</link>
    <description>&lt;P&gt;While regenerating principals it was giving above error because it might be taking that principal name from Ambari database - Postgres&lt;/P&gt;</description>
    <pubDate>Fri, 23 Nov 2018 17:06:49 GMT</pubDate>
    <dc:creator>ankita_ghate</dc:creator>
    <dc:date>2018-11-23T17:06:49Z</dc:date>
    <item>
      <title>Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234592#M85123</link>
      <description>&lt;P&gt;
	I have kerberos and Ambari setup and I was able to enable/disable kerberos through ambari and was able to regenerate principals but now I am getting below error on Ambari UI,
&lt;/P&gt;
&lt;PRE&gt;
2018-11-21 04:01:14,662 - Failed to create principal, zookeeper/local4.domain.coma@DOMAIN.COM,zookeeper/ubuntu25.domain.com@DOMAIN.COM,zookeeper/ubuntu26.domain.com@DOMAIN.COM - Failed to create service principal for zookeeper/local4.domain.com@DOMAIN.COM,zookeeper/ubuntu25.domain.com@DOMAIN.COM,zookeeper/ubuntu26.domain.com@DOMAIN.COM
STDOUT: Authenticating as principal kadmin/admin@DOMAIN.COM with existing credentials.
STDERR: add_principal: Malformed representation of principal while parsing principal
usage: add_principal [options] principal
options are:
[-randkey|-nokey] [-x db_princ_args]* [-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]
[-kvno kvno] [-policy policy] [-clearpolicy]
[-pw password] [-maxrenewlife maxrenewlife]
[-e keysaltlist]
[{+|-}attribute]
attributes are:
allow_postdated allow_forwardable allow_tgs_req allow_renewable
allow_proxiable allow_dup_skey allow_tix requires_preauth
requires_hwauth needchange allow_svr password_changing_service
ok_as_delegate ok_to_auth_as_delegate no_auth_data_required
where,
[-x db_princ_args]* - any number of database specific arguments.
Look at each database documentation for supported arguments
&amp;#7;&amp;#7;&amp;#7;Administration credentials NOT DESTROYED.
2018-11-21 04:01:16,073 - Failed to create principal, hbase/local4.domain.com@DOMAIN.COM,hbase/ubuntu25.domain.com@DOMAIN.COM,hbase/ubuntu26.domain.com@DOMAIN.COM - Failed to create service principal for hbase/local4.domain.com@DOMAIN.COM,hbase/ubuntu25.domain.com@DOMAIN.COM,hbase/ubuntu26.domain.com@DOMAIN.COM
STDOUT: Authenticating as principal kadmin/admin@DOMAIN.COM with existing credentials.
STDERR: add_principal: Malformed representation of principal while parsing principal
usage: add_principal [options] principal
options are:
[-randkey|-nokey] [-x db_princ_args]* [-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]
[-kvno kvno] [-policy policy] [-clearpolicy]
[-pw password] [-maxrenewlife maxrenewlife]
[-e keysaltlist]
[{+|-}attribute]
attributes are:
allow_postdated allow_forwardable allow_tgs_req allow_renewable
allow_proxiable allow_dup_skey allow_tix requires_preauth
requires_hwauth needchange allow_svr password_changing_service
ok_as_delegate ok_to_auth_as_delegate no_auth_data_required
where,
[-x db_princ_args]* - any number of database specific arguments.
Look at each database documentation for supported arguments
&amp;#7;&amp;#7;&amp;#7;Administration credentials NOT DESTROYED.
&lt;/PRE&gt;
&lt;P&gt;
	Can anyone check?
&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 01:41:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234592#M85123</guid>
      <dc:creator>ankita_ghate</dc:creator>
      <dc:date>2018-11-22T01:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234593#M85124</link>
      <description>&lt;P&gt;I have destroyed kerberos database and created new, still getting above error.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 01:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234593#M85124</guid>
      <dc:creator>ankita_ghate</dc:creator>
      <dc:date>2018-11-22T01:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234594#M85125</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/23297/ankitaghate.html" nodeid="23297"&gt;@Ankita Ghate&lt;/A&gt;&lt;P&gt;It seems like there is an issue with the principal name. According to the error&lt;/P&gt;&lt;PRE&gt;2018-11-21 04:01:14,662 - Failed to create principal, zookeeper/local4.domain.coma@DOMAIN.COM,zookeeper/ubuntu25.domain.com@DOMAIN.COM,zookeeper/ubuntu26.domain.com@DOMAIN.COM - Failed to create service principal for zookeeper/local4.domain.com@DOMAIN.COM,zookeeper/ubuntu25.domain.com@DOMAIN.COM,zookeeper/ubuntu26.domain.com@DOMAIN.COM&lt;/PRE&gt;&lt;P&gt;Ambari thinks the principal name is &lt;/P&gt;&lt;PRE&gt;zookeeper/local4.domain.coma@DOMAIN.COM,zookeeper/ubuntu25.domain.com@DOMAIN.COM,zookeeper/ubuntu26.domain.com@DOMAIN.COM&lt;/PRE&gt;&lt;P&gt;As one principal name, not 3 different principal names.  Do you know this could be?  Did you add any custom Kerberos identities to the Kerberos Descriptor or customize it at all? &lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 02:09:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234594#M85125</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2018-11-22T02:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234595#M85126</link>
      <description>&lt;P&gt;Yes I had customized zookeeper and hbase principals in Kerberos configuration through Ambari but later I changed it to default and trying to regenerate principals but it is giving above error. From where is it taking these principals though I have destroyed Kerberos database? &lt;/P&gt;&lt;P&gt;Any solution?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 10:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234595#M85126</guid>
      <dc:creator>ankita_ghate</dc:creator>
      <dc:date>2018-11-22T10:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234596#M85127</link>
      <description>&lt;P&gt;While regenerating principals it was giving above error because it might be taking that principal name from Ambari database - Postgres&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 13:07:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234596#M85127</guid>
      <dc:creator>ankita_ghate</dc:creator>
      <dc:date>2018-11-23T13:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234597#M85128</link>
      <description>&lt;P&gt;While regenerating principals it was giving above error because it might be taking that principal name from Ambari database - Postgres&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 17:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234597#M85128</guid>
      <dc:creator>ankita_ghate</dc:creator>
      <dc:date>2018-11-23T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create kerberos principal</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234598#M85129</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23297/ankitaghate.html" nodeid="23297"&gt;@Ankita Ghate&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you post/attach the user-supplied Kerberos descriptor retrieved from &lt;/P&gt;&lt;PRE&gt;GET /api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/USER&lt;/PRE&gt;&lt;P&gt;Replacing CLUSTER_NAME with the name or your cluster.  &lt;/P&gt;&lt;P&gt;I suspect the issue is related to Kerberos descriptor information supplied to Ambari&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 02:35:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-create-kerberos-principal/m-p/234598#M85129</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2018-11-24T02:35:31Z</dc:date>
    </item>
  </channel>
</rss>

