Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4F829200C7F for ; Wed, 24 May 2017 15:12:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4D34D160BB4; Wed, 24 May 2017 13:12:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 45688160B9C for ; Wed, 24 May 2017 15:12:10 +0200 (CEST) Received: (qmail 4398 invoked by uid 500); 24 May 2017 13:12:09 -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 4389 invoked by uid 500); 24 May 2017 13:12:09 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 4386 invoked by uid 99); 24 May 2017 13:12:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2017 13:12:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 14266189120 for ; Wed, 24 May 2017 13:12:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id LBC8Y_qE2aKz for ; Wed, 24 May 2017 13:12:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BB0AD5FB80 for ; Wed, 24 May 2017 13:12:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E50E1E0D95 for ; Wed, 24 May 2017 13:12:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4353621B5D for ; Wed, 24 May 2017 13:12:04 +0000 (UTC) Date: Wed, 24 May 2017 13:12:04 +0000 (UTC) From: "Jayapal Reddy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9885) VPC RVR: On deleting first tier network both VRs becoming MASTER MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 May 2017 13:12:11 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022865#comment-16022865 ] Jayapal Reddy commented on CLOUDSTACK-9885: ------------------------------------------- The problem of both VRs becoming master is when private gateway interface is configured as eth2. For this a. configure t1 and t2 tiers b. delete t1 c. configure private gateway. You will get the VRRP running on eth2 and both VRs will be master. 1. What I have observed is that both VRs are send broadcast and both are accepting VRRP packets. 2. The private gateway interface nw_type is save as guest in ips.json. Tried nw_type as 'private' and the issue is not seen. Any way private gateway interface nw_type is not supposed be guest. VRRP is not supposed to be run on the private gateway interface. 3. What is not clear here is for private gateway interface why VRRP is sent accepted on both VRs. [~ustcweizhou@gmail.com] The fix you mentioned above will clean up the interface but it will not stop configuring the VRRP on private gateway interface. {noformat} root@r-127-QA:~# checkrouter.sh Status: MASTER root@r-127-QA:~# ip a 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:db brd ff:ff:ff:ff:ff:ff inet 169.254.2.219/16 brd 169.254.255.255 scope global eth0 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 1e:00:c3:00:00:14 brd ff:ff:ff:ff:ff:ff inet 10.147.46.108/24 brd 10.147.46.255 scope global eth1 6: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:78:75:00:02 brd ff:ff:ff:ff:ff:ff inet 10.1.2.76/24 brd 10.1.2.255 scope global eth3 inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth3 11: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 1e:00:6a:00:00:2e brd ff:ff:ff:ff:ff:ff inet 10.147.52.100/24 brd 10.147.52.255 scope global eth2 inet 10.147.52.200/24 brd 10.147.52.255 scope global secondary eth2 root@r-127-QA:~# root@r-128-QA:~# checkrouter.sh Status: MASTER root@r-128-QA:~# ip a 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:69 brd ff:ff:ff:ff:ff:ff inet 169.254.0.105/16 brd 169.254.255.255 scope global eth0 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 1e:00:c3:00:00:14 brd ff:ff:ff:ff:ff:ff inet 10.147.46.108/24 brd 10.147.46.255 scope global eth1 6: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:57:8a:00:03 brd ff:ff:ff:ff:ff:ff inet 10.1.2.244/24 brd 10.1.2.255 scope global eth3 inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth3 11: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 1e:00:7c:00:00:2e brd ff:ff:ff:ff:ff:ff inet 10.147.52.100/24 brd 10.147.52.255 scope global eth2 inet 10.147.52.200/24 brd 10.147.52.255 scope global secondary eth2 root@r-128-QA:~# vrrp_instance inside_network { state EQUAL interface eth2 virtual_router_id 51 nopreempt ......... virtual_ipaddress { 10.147.52.200/24 brd 10.147.52.255 dev eth2 10.1.2.1/24 brd 10.1.2.255 dev eth3 } ips.json "eth2": [ { "add": true, "broadcast": "10.147.52.255", "cidr": "10.147.52.100/24", "device": "eth2", "first_i_p": false, "gateway": "10.147.52.200", "netmask": "255.255.255.0", "network": "10.147.52.0/24", "new_nic": false, "nic_dev_id": 2, "nw_type": "guest", "one_to_one_nat": false, "public_ip": "10.147.52.100", "size": "24", "source_nat": true, "vif_mac_address": "1e:00:6a:00:00:2e" }, {noformat} > VPC RVR: On deleting first tier network both VRs becoming MASTER > ---------------------------------------------------------------- > > Key: CLOUDSTACK-9885 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9885 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.10.0.0 > Reporter: Jayapal Reddy > Assignee: Jayapal Reddy > Priority: Blocker > Fix For: 4.10.0.0 > > > - Configure two tier networks t1 and t2. Delete the t1 network. Both VRs are getting into MASTER state. > r-269-QA - was BACKUP VR. On deleting t1 network it became MASTER. > {noformat} > root@r-269-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:01:dc brd ff:ff:ff:ff:ff:ff > inet 169.254.1.220/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:5d:a4:00:03 brd ff:ff:ff:ff:ff:ff > inet 10.1.1.33/24 brd 10.1.1.255 scope global eth2 > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:de:fc:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:31:e1:00:03 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.78/24 brd 10.1.2.255 scope global eth4 > root@r-269-QA:~# > root@r-269-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:01:dc brd ff:ff:ff:ff:ff:ff > inet 169.254.1.220/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:de:fc:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:31:e1:00:03 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.78/24 brd 10.1.2.255 scope global eth4 > inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4 > root@r-269-QA:~# checkrouter.sh > Status: MASTER > root@r-269-QA:~# > {noformat} > root@r-268-QA - was MASTER VR. On deleting t1 it deleted its eth2 interface and delete 10.2.1.1 ip on ethic interface. > After some time it configured 10.2.1.1 ip on eth4 and it became master. > {noformat} > root@r-268-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff > inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:15:ab:00:02 brd ff:ff:ff:ff:ff:ff > inet 10.1.1.189/24 brd 10.1.1.255 scope global eth2 > inet 10.1.1.1/24 brd 10.1.1.255 scope global secondary eth2 > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4 > inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4 > root@r-268-QA:~# > root@r-268-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff > inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 4: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:15:ab:00:02 brd ff:ff:ff:ff:ff:ff > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4 > root@r-268-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff > inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state DOWN qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4 > root@r-268-QA:~# ip a > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 0e:00:a9:fe:02:ac brd ff:ff:ff:ff:ff:ff > inet 169.254.2.172/16 brd 169.254.255.255 scope global eth0 > 3: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:e4:c8:00:00:0e brd ff:ff:ff:ff:ff:ff > inet 10.147.46.102/24 brd 10.147.46.255 scope global eth1 > 5: eth3: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:67:ce:00:00:29 brd ff:ff:ff:ff:ff:ff > inet 10.147.52.200/24 brd 10.147.52.255 scope global eth3 > inet 10.147.52.100/24 brd 10.147.52.255 scope global secondary eth3 > 6: eth4: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:09:1d:00:02 brd ff:ff:ff:ff:ff:ff > inet 10.1.2.49/24 brd 10.1.2.255 scope global eth4 > inet 10.1.2.1/24 brd 10.1.2.255 scope global secondary eth4 > root@r-268-QA:~# checkrouter.sh > Status: MASTER > root@r-268-QA:~# > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)