[
https://issues.apache.org/jira/browse/AMBARI-15643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220167#comment-15220167
]
Sebastian Toader commented on AMBARI-15643:
-------------------------------------------
Committed to trunk:
{code}
commit 6f61de093943a75868925cb7f76cbceea6215ae9
Author: Toader, Sebastian <[email protected]>
Date: Thu Mar 31 16:39:29 2016 +0200
AMBARI-15643. During cluster creation using Blueprints the cluster creation
request has incorrect COMPLETED state instead of PENDING. (stoader)
{code}
> During cluster creation using Blueprints the cluster creation request has
> incorrect COMPLETED state instead of PENDING.
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-15643
> URL: https://issues.apache.org/jira/browse/AMBARI-15643
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.1
> Reporter: Sebastian Toader
> Assignee: Sebastian Toader
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15643.v1.patch
>
>
> After the cluster creation template posted to Ambari (via the REST Api) to
> provision a cluster using Blueprints is accepted for processing Ambari
> returns in the response the url of the request through which the
> status/progress of the cluster creation can be tracked.
> When querying the status of the request it erroneously returns "COMPLETED"
> instead of returning "PENDING" until the first task of the cluster creation
> is scheduled to be executed on one of the cluster nodes. Once at least one
> task is scheduled to be executed the status of the request should change to
> "IN_PROGRESS". The "COMPLETED" state should be reached when all tasks
> completed succesfully.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)