Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 2F33EDC74 for ; Tue, 6 Nov 2012 06:41:17 +0000 (UTC) Received: (qmail 28438 invoked by uid 500); 6 Nov 2012 06:41:16 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 28173 invoked by uid 500); 6 Nov 2012 06:41:16 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 28106 invoked by uid 99); 6 Nov 2012 06:41:13 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 06:41:13 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id E467B1C47B4; Tue, 6 Nov 2012 06:41:10 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2158683311658685452==" MIME-Version: 1.0 Subject: Review Request: CLOUDSTACK-446: Host going to alert state, if you are adding already added host From: "Koushik Das" To: "Abhinandan Prateek" , "Alex Huang" Cc: "cloudstack" , "Koushik Das" Date: Tue, 06 Nov 2012 06:41:10 -0000 Message-ID: <20121106064110.4790.72880@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Koushik Das" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/7891/ X-Sender: "Koushik Das" Reply-To: "Koushik Das" --===============2158683311658685452== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7891/ ----------------------------------------------------------- Review request for cloudstack, Abhinandan Prateek and Alex Huang. Description ------- Adding an already added host fails with error but in the process incorrectl= y updates the status of the host to 'Alert'. Have put a check to prevent th= is. Diffs ----- server/src/com/cloud/resource/ResourceManagerImpl.java ced601b = Diff: https://reviews.apache.org/r/7891/diff/ Testing ------- Steps to repro 1. Created a vmware cluster and added a host, verify that the status shows = as 'Up' 2. Added the same host again, fails with error 3. Refresh the host page in MS UI to verify that host status chages to 'Ale= rt' from 'Up' After applying the fix follow the same repro steps and verify that the host= status doesn't change to 'Alert'. Thanks, Koushik Das --===============2158683311658685452==--