<?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: Enable Kerberos Wizard failed to create principals in Active Directory in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189457#M70759</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46217/jorgeflorencio.html" nodeid="46217"&gt;@Jorge Florencio&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the following error:&lt;/P&gt;&lt;PRE&gt;Caused by: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 000021C7: AtrErr: DSID-03200BDF, #1: 0: 000021C7: DSID-03200BDF, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90303 (servicePrincipalName)&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please check your Active Directory it looks like the SPN (&lt;EM&gt;&lt;STRONG&gt;hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL&lt;/STRONG&gt;&lt;/EM&gt;)  already exited there. If yes then it seems to be restricting ambari from creating principals in the AD. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please remove that principla from your AD first and then try again.  It depends on the AD policy that is being applied with the constraint for creating the principals.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Nov 2017 20:02:55 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-11-05T20:02:55Z</dc:date>
    <item>
      <title>Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189456#M70758</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;the "Enable Kerberos Wizard" failed to create all needed principals. Some principals were created, but not all. This is the output from the log file:&lt;/P&gt;&lt;PRE&gt;05 Nov 2017 12:24:26,337  INFO [Server Action Executor Worker 270] KerberosServerAction:353 - Processing identities...
05 Nov 2017 12:24:26,419  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, HTTP/hdp-master-02.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,471  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, ambari-qa@VLAB.LOCAL
05 Nov 2017 12:24:26,516  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, hdfs@VLAB.LOCAL
05 Nov 2017 12:24:26,566  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, mapred/hdp-master-02.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,614  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, yarn/hdp-master-02.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,664  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, rm/hdp-master-02.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,712  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, zookeeper/hdp-master-02.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,759  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, HTTP/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,806  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, amshbase/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,856  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, amszk/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,902  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, activity_analyzer/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,951  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, activity_explorer/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:26,996  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, zookeeper/hdp-master-01.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:27,043  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, HTTP/lab1-hdfs.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:27,093  INFO [Server Action Executor Worker 270] CreatePrincipalsServerAction:203 - Processing principal, hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL
05 Nov 2017 12:24:27,096 ERROR [Server Action Executor Worker 270] CreatePrincipalsServerAction:297 - Failed to create principal, hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL - Can not create principal : hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL
org.apache.ambari.server.serveraction.kerberos.KerberosOperationException: Can not create principal : hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL
        at org.apache.ambari.server.serveraction.kerberos.ADKerberosOperationHandler.createPrincipal(ADKerberosOperationHandler.java:338)
        at org.apache.ambari.server.serveraction.kerberos.CreatePrincipalsServerAction.createPrincipal(CreatePrincipalsServerAction.java:256)
        at org.apache.ambari.server.serveraction.kerberos.CreatePrincipalsServerAction.processIdentity(CreatePrincipalsServerAction.java:159)
        at org.apache.ambari.server.serveraction.kerberos.KerberosServerAction.processRecord(KerberosServerAction.java:532)
        at org.apache.ambari.server.serveraction.kerberos.KerberosServerAction.processIdentities(KerberosServerAction.java:414)
        at org.apache.ambari.server.serveraction.kerberos.CreatePrincipalsServerAction.execute(CreatePrincipalsServerAction.java:91)
        at org.apache.ambari.server.serveraction.ServerActionExecutor$Worker.execute(ServerActionExecutor.java:517)
        at org.apache.ambari.server.serveraction.ServerActionExecutor$Worker.run(ServerActionExecutor.java:454)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 000021C7: AtrErr: DSID-03200BDF, #1:
        0: 000021C7: DSID-03200BDF, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90303 (servicePrincipalName)
]; remaining name '"cn=hdfs/lab1-hdfs.vlab.local,OU=HDP"'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3149)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3082)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888)
        at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:812)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:341)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:268)
        at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:202)
        at org.apache.ambari.server.serveraction.kerberos.ADKerberosOperationHandler.createPrincipal(ADKerberosOperationHandler.java:336)
        ... 8 more
05 Nov 2017 12:24:27,096  INFO [Server Action Executor Worker 270] KerberosServerAction:457 - Processing identities completed.
&lt;/PRE&gt;&lt;P&gt;Any suggestion would be appreciated.&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:29:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189456#M70758</guid>
      <dc:creator>jorge_florencio</dc:creator>
      <dc:date>2022-09-16T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189457#M70759</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/46217/jorgeflorencio.html" nodeid="46217"&gt;@Jorge Florencio&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the following error:&lt;/P&gt;&lt;PRE&gt;Caused by: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - 000021C7: AtrErr: DSID-03200BDF, #1: 0: 000021C7: DSID-03200BDF, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 90303 (servicePrincipalName)&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please check your Active Directory it looks like the SPN (&lt;EM&gt;&lt;STRONG&gt;hdfs/lab1-hdfs.vlab.local@VLAB.LOCAL&lt;/STRONG&gt;&lt;/EM&gt;)  already exited there. If yes then it seems to be restricting ambari from creating principals in the AD. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please remove that principla from your AD first and then try again.  It depends on the AD policy that is being applied with the constraint for creating the principals.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 20:02:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189457#M70759</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-05T20:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189458#M70760</link>
      <description>&lt;P&gt;Perfect, I've already fixed it !&lt;/P&gt;&lt;P&gt;Thanks you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 00:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189458#M70760</guid>
      <dc:creator>jorge_florencio</dc:creator>
      <dc:date>2017-11-06T00:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189459#M70761</link>
      <description>&lt;P&gt;how did you fixed this &lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 10:24:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/189459#M70761</guid>
      <dc:creator>sameer_dalai</dc:creator>
      <dc:date>2019-01-16T10:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/350051#M70762</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am facing similar issue and I have already parsed entire AD structure, this particular principal is not existing. So the issue seems to be something else can someone please throw some idea ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Checks we did :&lt;/P&gt;&lt;P&gt;1) Service Account has full access on Active Directory&lt;BR /&gt;2)&amp;nbsp; No pre-existing SPN in AD&lt;/P&gt;&lt;P&gt;3)&amp;nbsp; Manual connection to AD working using same Service account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 01:58:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/350051#M70762</guid>
      <dc:creator>sagarspathak</dc:creator>
      <dc:date>2022-08-13T01:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/350052#M70763</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Was it the duplicate SPN in your case ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 01:59:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/350052#M70763</guid>
      <dc:creator>sagarspathak</dc:creator>
      <dc:date>2022-08-13T01:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Kerberos Wizard failed to create principals in Active Directory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/367405#M70764</link>
      <description>&lt;P&gt;How did you solve it&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 07:25:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-Kerberos-Wizard-failed-to-create-principals-in-Active/m-p/367405#M70764</guid>
      <dc:creator>JobBranwl</dc:creator>
      <dc:date>2023-03-31T07:25:56Z</dc:date>
    </item>
  </channel>
</rss>

