[
https://issues.apache.org/jira/browse/AMBARI-17343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350869#comment-15350869
]
Hudson commented on AMBARI-17343:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #5164 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5164/])
AMBARI-17343. Blueprint attribute provision_action=INSTALL_ONLY loses
(smagyari:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ea72aee930731ac7255641de0446fb7bd909c6f6])
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedState.java
* ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BaseClusterRequest.java
*
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
*
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterResourceProviderTest.java
*
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClustersTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/TopologyRequestEntity.java
*
ambari-server/src/main/java/org/apache/ambari/server/topology/PersistedStateImpl.java
> Blueprint attribute provision_action=INSTALL_ONLY loses its value after
> server restart
> --------------------------------------------------------------------------------------
>
> Key: AMBARI-17343
> URL: https://issues.apache.org/jira/browse/AMBARI-17343
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Sandor Magyari
> Assignee: Sandor Magyari
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-17343.patch
>
>
> 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.
> {code}
> {
> "blueprint" : "blueprint",
> "default_password" : "ambari",
> "provision_action" : "INSTALL_ONLY",
> "host_groups" : [
> ...
> ]
> }
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)