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 F30C3104E4 for ; Sat, 12 Dec 2015 16:49:46 +0000 (UTC) Received: (qmail 19254 invoked by uid 500); 12 Dec 2015 16:49:46 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 19217 invoked by uid 500); 12 Dec 2015 16:49:46 -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 19199 invoked by uid 500); 12 Dec 2015 16:49:46 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 19196 invoked by uid 99); 12 Dec 2015 16:49:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2015 16:49:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9C2F32C14F7 for ; Sat, 12 Dec 2015 16:49:46 +0000 (UTC) Date: Sat, 12 Dec 2015 16:49:46 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9151) As a Developer I want the VRID to be set within the limits of KeepaliveD MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9151?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15054411#comment-15054411 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9151: -------------------------------------------- Github user bhaisaab commented on the pull request: https://github.com/apache/cloudstack/pull/1231#issuecomment-164167571 =20 LGTM, perhaps we can use VPCID % 255 to get a value that is less than 2= 55 but greater than 0? @remibergsma @fborn @wilderrodrigues Do you think using a static/fixed = value can cause any issue (maybe in future)? > As a Developer I want the VRID to be set within the limits of KeepaliveD > ------------------------------------------------------------------------ > > Key: CLOUDSTACK-9151 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-915= 1 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Virtual Router, VPC > Affects Versions: 4.6.0, 4.6.1 > Reporter: Wilder Rodrigues > Assignee: Wilder Rodrigues > Priority: Blocker > Fix For: 4.7.0, 4.6.2 > > > Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]: VRRP Error : VRID not va= lid ! > Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]: must be bet= ween 1 & 255. reconfigure ! > =E2=80=8B[3:38]=20 > inside the /etc/keepalived/keepalived.conf > =E2=80=8B[3:38]=20 > vrrp_instance inside_network { > state EQUAL > interface eth4 > virtual_router_id 459 > =E2=80=8B[3:43] > The current code uses the VPC ID as VRID, but it doesn't have to be uniqu= e per VPC, but for NIC. So, we can simply use 51, as the KeepaliveD suggest= s. > # arbitary unique number 0..255 # used to differentiate multiple instance= s of vrrpd # running on the same NIC (and hence same socket). virtual_route= r_id 51 -- This message was sent by Atlassian JIRA (v6.3.4#6332)