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

Blueprint attribute provision_action=INSTALL_ONLY loses its value after server restart

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

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      We created a cluster via blueprints where we did not want components to be started by Ambari (background - this was a takeover of existing cluster where services were already installed and started. We did not want STARTs to be done as they would overwrite existing configs). Towards this goal we set "provision_action" : "INSTALL_ONLY" so that when agents register with Ambari they will only do the install and not start.

      {
        "blueprint" : "blueprint",
        "default_password" : "ambari",
        "provision_action" : "INSTALL_ONLY",
        "host_groups" : [
           ...
        ]
      }
      

      This flag did its job as long as ambari-server was not restarted. After restart however, new agents would install and start the host-components.

      Attachments

        Activity

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

          People

            smagyari Magyari Sandor Szilard
            smagyari Magyari Sandor Szilard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment