Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 883A918156 for ; Fri, 11 Dec 2015 18:55:11 +0000 (UTC) Received: (qmail 56851 invoked by uid 500); 11 Dec 2015 18:55:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 56819 invoked by uid 500); 11 Dec 2015 18:55:11 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 56805 invoked by uid 500); 11 Dec 2015 18:55:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 56800 invoked by uid 99); 11 Dec 2015 18:55:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 18:55:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 27D912C1F62 for ; Fri, 11 Dec 2015 18:55:11 +0000 (UTC) Date: Fri, 11 Dec 2015 18:55:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4374) As a Developer I want to have HA enabled for routers that are part or a redundant network or VPC 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/CLOUDSTACK-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053209#comment-15053209 ] ASF GitHub Bot commented on CLOUDSTACK-4374: -------------------------------------------- Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/1222#issuecomment-164016942 This where and why the vpc vr refactor started, isn't it? code lgtm, let's have a regression test and put it in! > As a Developer I want to have HA enabled for routers that are part or a redundant network or VPC > ------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-4374 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4374 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Virtual Router > Affects Versions: 4.1.0, 4.4.0, 4.5.0, 4.6.0, 4.6.1 > Reporter: Roeland Kuipers > Assignee: Wilder Rodrigues > Fix For: 4.7.0 > > > We provide redundant routers with HA functionality through a special service offering. > However these router pairs are provisioned with ha_enabled=0, so when one or both of them fail they will never be restarted by CS. > 2013-08-16 15:51:16,101 DEBUG [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-0:work-4335) VM is not HA enabled so we're done. > This is currently hardcoded in VirtualNetworkApplianceManagerImpl.java @ 1633 > boolean offerHA = routerOffering.getOfferHA(); > /* We don't provide HA to redundant router VMs, admin should own it all, and redundant router themselves are HA */ > if (isRedundant) { > offerHA = false; > } > We like redundancy and like to have HA on our redundant routers. We like to configure this ourselves through service offerings and do not like being helt hostage by these lines of codes:) We do like to own it all in our admin role :) > Besides this, this is also very counter-intuitive as we were expecting HA on our redundant routers, since it was configured on their service offering. > So can we get rid of these lines of code? And have this controlled through service offerings as it should IMHO.? Unless this has negative impact which we are not aware off? > Cheers & Thanks, > Roeland > Details of the original commit which injected this code: > Commit: a269b089ae38d0d04db2fa0f4c8e839480476ddc [a269b08] > Parents: a2cc66ce41 > Author: Sheng Yang > Date: 17 december 2011 03:52:59 CET > Commit Date: 19 december 2011 22:29:48 CET > bug 12608: NaaS: Don't shutdown elements if cleanup=false > We can use the restartNetwork mechanism to recover the disconnected redundant > router. > Also disable HA for redundant router. Admin would take responsibilty to recover > the failure router, because redundant routers themselves are one layer HA. > status 12608: resolved fixed -- This message was sent by Atlassian JIRA (v6.3.4#6332)