Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.6.0
-
None
Description
When creating a new cluster via a blueprint, we currently use a combination of stack and version:
{ "blueprint" : "foo", "repository_version": "2.5.0.0-1237", "host_groups" :[ { "name" : "host_group_1", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" }, { "fqdn" : "c6402.ambari.apache.org" }, { "fqdn" : "c6403.ambari.apache.org" } ] } ] }
We lookup the repository using a query by stack/version. We could instead also take a repo ID which removes any ambiguity.
Something like:
{ "blueprint" : "foo", "repository_id": 1, "host_groups" :[ { "name" : "host_group_1", "hosts" : [ { "fqdn" : "c6401.ambari.apache.org" }, { "fqdn" : "c6402.ambari.apache.org" }, { "fqdn" : "c6403.ambari.apache.org" } ] } ] }
Attachments
Attachments
Issue Links
- links to