<?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: Not able to create HDF 3.2 Cluster over API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-create-HDF-3-2-Cluster-over-API/m-p/188338#M83461</link>
    <description>&lt;P&gt;After a successful try sending the clustertemplate with curl, we changed the ansible task (uri module):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add Header "Content-Type: application/x-www-form-urlencoded"&lt;/LI&gt;&lt;LI&gt;Add Parameter "body_format: json"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now we can provision a HDF 3.2 with our existing Ansible Scripts. Without these adjustments Ambari does not read properly the request.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Sep 2018 13:55:09 GMT</pubDate>
    <dc:creator>philip11</dc:creator>
    <dc:date>2018-09-18T13:55:09Z</dc:date>
    <item>
      <title>Not able to create HDF 3.2 Cluster over API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-create-HDF-3-2-Cluster-over-API/m-p/188337#M83460</link>
      <description>&lt;P&gt;We are running HDF 3.1 clusters.&lt;/P&gt;&lt;P&gt;For the provisioning and maintenance we have an automated deploy and test process.
Deployment is done with Ansible. Everytime we change something in our Ansible scripts, we deploy to fresh VM's, do automated tests
and destroy the VM's.&lt;/P&gt;&lt;P&gt;Now for upgrading to HDF 3.2 our first stept is to change our scripts to install HDF 3.2 and then to create a fresh cluster.
About the rollout of HDF 3.2 to our real environment we did not yet decide about the approach.&lt;/P&gt;&lt;P&gt;a) we automate the full upgrade process (&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.2.0/ambari-managed-hdf-upgrade/content/upgrading_hdf.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.2.0/ambari-managed-hdf-upgrade/content/upgrading_hdf.html&lt;/A&gt;)&lt;BR /&gt;b) backup of states, we reinstall the cluster, restore states&lt;/P&gt;&lt;P&gt;Because the Blueprint looks different with the new version we created a cluster with the Wizard on Amabari UI, downloaded the blueprint.zip (with blueprint.json and clustertemplate.json).&lt;/P&gt;&lt;P&gt;Later sending the blueprint to the Ambari API works /api/v1/blueprints/:blueprintname and then sending the clustertemplate to /api/v1/clusters/:clustername ends in an error response:&lt;/P&gt;&lt;PRE&gt;status 400: Stack information should be provided when creating a cluster&lt;/PRE&gt;&lt;P&gt;The blueprint contains the version:
    "Blueprints":&lt;/P&gt;&lt;PRE&gt;{
        "blueprint_name": ":blueprintname",
        "stack_name": "HDF",
        "stack_version": "3.2"
    } &lt;/PRE&gt;&lt;P&gt;The clustertemplate contains the version:&lt;/P&gt;&lt;PRE&gt;{
    "Clusters": {
        "cluster_name": ":clustername"
    },
    "blueprint": ":blueprintname",
    "host_groups": [
        {
            "hosts": [
                {
                    "fqdn": "node1"
                }
            ],
            "name": "host_group_0"
        },
        {
            "hosts": [
                {
                    "fqdn": "node2"
                },
                {
                    "fqdn": "node3"
                }
            ],
            "name": "host_group_1"
        }
    ],
    "provision_action": "INSTALL_ONLY"
}


&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody an idea what we are doing wrong?&lt;/P&gt;&lt;P&gt;Thank you very much in advance for any kind of input.&lt;/P&gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:14:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-create-HDF-3-2-Cluster-over-API/m-p/188337#M83460</guid>
      <dc:creator>philip11</dc:creator>
      <dc:date>2026-04-21T12:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to create HDF 3.2 Cluster over API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-create-HDF-3-2-Cluster-over-API/m-p/188338#M83461</link>
      <description>&lt;P&gt;After a successful try sending the clustertemplate with curl, we changed the ansible task (uri module):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add Header "Content-Type: application/x-www-form-urlencoded"&lt;/LI&gt;&lt;LI&gt;Add Parameter "body_format: json"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now we can provision a HDF 3.2 with our existing Ansible Scripts. Without these adjustments Ambari does not read properly the request.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 13:55:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-to-create-HDF-3-2-Cluster-over-API/m-p/188338#M83461</guid>
      <dc:creator>philip11</dc:creator>
      <dc:date>2018-09-18T13:55:09Z</dc:date>
    </item>
  </channel>
</rss>

