Hello All,

I am trying to install kerberozied cluster using ambari blueprints. I am following below document

https://cwiki.apache.org/confluence/display/AMBARI/Blueprints.

I modified the example given at https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-BlueprintExample:ProvisioningMulti-NodeHDP2.3ClustertouseKERBEROS

However, when I post this blueprint I am getting below return.

http: 400
{
  "status" : 400,
"message" : "Blueprint configuration validation failed: Missing required properties. Specify a value for these properties in the blueprint configuration. {host_group_2={kerberos-env=[encryption_types, ldap_url, container_dn]}, host_group_1={kerberos-env=[encryption_types, ldap_url, container_dn]}, host_group_3={kerberos-env=[encryption_types, ldap_url, container_dn]}}"
}


Below is the blueprint json.


{
  "configurations" : [
    {
   "kerberos-env": {
        "properties_attributes" : { },
        "properties" : {
          "realm" : "TEST.COM",
          "kdc_type" : "mit-kdc",
          "kdc_host" : "10.120.8.109",
          "admin_server_host" : "10.120.8.109"
        }
      }
    },
    {
      "krb5-conf": {
        "properties_attributes" : { },
        "properties" : {
          "domains" : "TEST.COM",
          "manage_krb5_conf" : "true"
        }
      }
    }
  ],
  "host_groups" : [
    {
      "name" : "host_group_1",
      "configurations" : [ ],

      "components" : [
        {
          "name" : "KERBEROS_CLIENT"
        },
        {
          "name" : "ZOOKEEPER_CLIENT"
        },
        {
          "name" : "ZOOKEEPER_SERVER"
        },
        {
          "name" : "NAMENODE"
        },
        {
          "name" : "HDFS_CLIENT"
        },
        {
          "name" : "DATANODE"
        }
      ],
      "cardinality" : "1"
    },
    {
      "name" : "host_group_2",
      "configurations" : [ ],
      "components" : [
        {
          "name" : "ZOOKEEPER_SERVER"
        },
        {
          "name" : "KERBEROS_CLIENT"
        },
        {
          "name" : "SECONDARY_NAMENODE"
        },
        {
          "name" : "DATANODE"
        }
      ],
      "cardinality" : "1"
    },
    {
      "name" : "host_group_3",

      "configurations" : [ ],
      "components" : [
        {
          "name" : "ZOOKEEPER_CLIENT"
        },
        {
          "name" : "ZOOKEEPER_SERVER"
        },
        {
          "name" : "KERBEROS_CLIENT"
        },
        {
          "name" : "HDFS_CLIENT"
        },
        {
          "name" : "DATANODE"
        }
      ],
      "cardinality" : "1"
    }
  ],
  "Blueprints" : {
    "stack_name" : "HDP",
    "stack_version" : "2.3",
    "security" : {
         "type" : "KERBEROS"
    }
  }
}

Reply via email to