Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5618

Validate that a host is only associated with a single host group when provisioning via a blueprint

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:

      Description

      When provisioning a cluster via a blueprint, there currently is a restriction that a host may only be associated with a single host group. If a user attempts to map a host to multiple host groups, strange errors are reported back to the user which do not explain the problem.

      This work will validate that a host is only mapped to one host group early and will provide a good error message to the user if there is an attempt to map multiple host groups to a host.

      {
      "status" : 400,
      "message" : "A host may only be mapped to a single host group at this time. The following hosts are mapped to more than one host group: [john2.novalocal]"
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jspeidel John Speidel
                Reporter:
                jspeidel John Speidel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: