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

Cluster created using Blueprints rejects hosts even though their host_name matches host predicate

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.6.0
    • ambari-server
    • None

    Description

      Cluster created with Blueprint using host predicates rejects hosts even though their host_name matches the host predicate.

      { "name": "workernode", "host_count": "2", "host_predicate": "Hosts/host_name.matches(agent-*)" }
      11 Oct 2017 17:03:11,296  INFO [qtp-ambari-agent-56] TopologyManager:698 - TopologyManager: Queueing available host agent-1
      11 Oct 2017 17:04:56,783  INFO [ambari-client-thread-45] TopologyManager:876 - TopologyManager.processRequest: offering host name = agent-1 to LogicalRequest ID = 1
      11 Oct 2017 17:04:56,783  INFO [ambari-client-thread-45] LogicalRequest:101 - LogicalRequest.offer: attempting to match a request to a request for a reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,784  INFO [ambari-client-thread-45] LogicalRequest:125 - LogicalRequest.offer: attempting to match a request to a request for a non-reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,791  INFO [ambari-client-thread-45] LogicalRequest:138 - LogicalRequest.offer: host request returned DECLINED_PREDICATE for hostname = agent-1
      11 Oct 2017 17:04:56,792  INFO [ambari-client-thread-45] LogicalRequest:125 - LogicalRequest.offer: attempting to match a request to a request for a non-reserved host to hostname = agent-1
      11 Oct 2017 17:04:56,793  INFO [ambari-client-thread-45] LogicalRequest:138 - LogicalRequest.offer: host request returned DECLINED_PREDICATE for hostname = agent-1
      11 Oct 2017 17:04:56,794  INFO [ambari-client-thread-45] TopologyManager:896 - TopologyManager.processRequest: host name = agent-1 was DECLINED_PREDICATE by LogicalRequest ID = 1
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stoader Sebastian Toader
            stoader Sebastian Toader
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment