Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA89C10215 for ; Tue, 12 Nov 2013 01:06:17 +0000 (UTC) Received: (qmail 9388 invoked by uid 500); 12 Nov 2013 01:06:17 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 9338 invoked by uid 500); 12 Nov 2013 01:06:17 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 9329 invoked by uid 99); 12 Nov 2013 01:06:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 01:06:17 +0000 Date: Tue, 12 Nov 2013 01:06:17 +0000 (UTC) From: "Xi Wang (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3733) Register Host: need to check host OS type if specific os group been selected at Advanced Repo in step1 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-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819692#comment-13819692 ] Xi Wang commented on AMBARI-3733: --------------------------------- Accidentally committed before review, so made a second patch to address the review comments. We need both patches. > Register Host: need to check host OS type if specific os group been selected at Advanced Repo in step1 > ------------------------------------------------------------------------------------------------------ > > Key: AMBARI-3733 > URL: https://issues.apache.org/jira/browse/AMBARI-3733 > Project: Ambari > Issue Type: Task > Components: client > Affects Versions: 1.4.2 > Reporter: Xi Wang > Assignee: Xi Wang > Priority: Critical > Fix For: 1.4.2 > > Attachments: AMBARI-3733.patch, AMBARI-3733_2.patch > > > Since we are introducing the concept of an "enabled" repo (in #1), during host registration (on the next page of the wizard), we should also confirm based on the hosts that register that their OS repo is valid. So after the host registers, we should check the repos API that for that OS, we have a valid repo. If not, we shouldn't let them continue. We should inform the user to either a) remove the hosts since they do not have access to a repository with packages for that OS or b) go back and enter the repo URL for that OS. -- This message was sent by Atlassian JIRA (v6.1#6144)