Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDC421759F for ; Thu, 10 Sep 2015 12:16:45 +0000 (UTC) Received: (qmail 47253 invoked by uid 500); 10 Sep 2015 12:16:45 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 47220 invoked by uid 500); 10 Sep 2015 12:16:45 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 47203 invoked by uid 99); 10 Sep 2015 12:16:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2015 12:16:45 +0000 Date: Thu, 10 Sep 2015 12:16:45 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13054) Pre-Req Endpoint Should Be Used For Determining Upgrade Button Visibility 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-13054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738643#comment-14738643 ] Andrii Tkach commented on AMBARI-13054: --------------------------------------- committed to trunk and branch-2.1 > Pre-Req Endpoint Should Be Used For Determining Upgrade Button Visibility > ------------------------------------------------------------------------- > > Key: AMBARI-13054 > URL: https://issues.apache.org/jira/browse/AMBARI-13054 > Project: Ambari > Issue Type: Task > Components: ambari-web > Affects Versions: 2.1.2 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Priority: Critical > Fix For: 2.1.2 > > Attachments: AMBARI-13054.patch > > > The web client currently uses a combination of host names, host_state, and stack versions to determine if an upgrade should be able to be performed for a given stack. If any of the hosts are missing the correct stack, then the option to upgrade to that stack is not permitted. The upgrade should be allowed, however, if the hosts which are missing the required stack are also in maintenance mode. > The web client should begin using the prerequisite check API endpoint in order to calculate if the "Upgrade" button is to be visible for a specific stack. This allows the logic for calculating whether at stack is ready upgrade to remain on the Ambari Server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)