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

Blueprint attribute provision_action=INSTALL_ONLY loses its value after server restart

    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

        1. AMBARI-17343_v2.patch
          21 kB
          Magyari Sandor Szilard

        Activity

          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: