Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A889189F2 for ; Mon, 14 Mar 2016 18:28:34 +0000 (UTC) Received: (qmail 88822 invoked by uid 500); 14 Mar 2016 18:28:33 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 88793 invoked by uid 500); 14 Mar 2016 18:28:33 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 88617 invoked by uid 99); 14 Mar 2016 18:28:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2016 18:28:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 724EE2C14F4 for ; Mon, 14 Mar 2016 18:28:33 +0000 (UTC) Date: Mon, 14 Mar 2016 18:28:33 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMBARI-15397) Rolling Upgrade: incorrect display_status of upgrade groups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen reassigned AMBARI-15397: ----------------------------------- Assignee: Dmytro Sen > Rolling Upgrade: incorrect display_status of upgrade groups > ----------------------------------------------------------- > > Key: AMBARI-15397 > URL: https://issues.apache.org/jira/browse/AMBARI-15397 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.2 > Reporter: Dmytro Grinenko > Assignee: Dmytro Sen > Priority: Critical > Fix For: 2.2.2 > > Attachments: AMBARI-15397.patch > > > Upgrade display_status does not correspond to status of its upgrade items. > Upgrade group must have display_status IN_PROGRESS instead of COMPLETE: > {code:java} > { > "UpgradeGroup" : { > "completed_task_count" : 1, > "display_status" : "COMPLETED", > "group_id" : 53, > "in_progress_task_count" : 2, > "name" : "ZOOKEEPER", > "progress_percent" : 45.0, > "request_id" : 24, > "status" : "IN_PROGRESS", > "title" : "ZooKeeper", > "total_task_count" : 3 > }, > "upgrade_items" : [ > { > "UpgradeItem" : { > "context" : "Restarting ZooKeeper Server on c6401.ambari.apache.org (Batch 1 of 3)", > "display_status" : "COMPLETED", > "group_id" : 53, > "progress_percent" : 100.0, > "request_id" : 24, > "skippable" : true, > "stage_id" : 20, > "status" : "COMPLETED", > "text" : "Restarting ZooKeeper Server on c6401.ambari.apache.org (Batch 1 of 3)" > } > }, > { > "UpgradeItem" : { > "context" : "Restarting ZooKeeper Server on c6402.ambari.apache.org (Batch 2 of 3)", > "display_status" : "IN_PROGRESS", > "group_id" : 53, > "progress_percent" : 35.0, > "request_id" : 24, > "skippable" : true, > "stage_id" : 21, > "status" : "IN_PROGRESS", > "text" : "Restarting ZooKeeper Server on c6402.ambari.apache.org (Batch 2 of 3)" > } > }, > { > "UpgradeItem" : { > "context" : "Restarting ZooKeeper Server on c6403.ambari.apache.org (Batch 3 of 3)", > "display_status" : "PENDING", > "group_id" : 53, > "progress_percent" : 0.0, > "request_id" : 24, > "skippable" : true, > "stage_id" : 22, > "status" : "PENDING", > "text" : "Restarting ZooKeeper Server on c6403.ambari.apache.org (Batch 3 of 3)" > } > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)