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 789B51803C for ; Mon, 18 Jan 2016 11:13:40 +0000 (UTC) Received: (qmail 10724 invoked by uid 500); 18 Jan 2016 11:13:40 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 10623 invoked by uid 500); 18 Jan 2016 11:13:40 -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 10551 invoked by uid 500); 18 Jan 2016 11:13:40 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 10526 invoked by uid 99); 18 Jan 2016 11:13:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2016 11:13:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0839A2C1F68 for ; Mon, 18 Jan 2016 11:13:40 +0000 (UTC) Date: Mon, 18 Jan 2016 11:13:40 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9154) rVPC doesn't recover from cleaning up of network garbage collector 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-9154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105127#comment-15105127 ] ASF subversion and git services commented on CLOUDSTACK-9154: ------------------------------------------------------------- Commit 749ac2e2242d8af9f05977951dd1b4855c1f6f08 in cloudstack's branch refs/heads/master from [~wilder.rodrigues] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=749ac2e ] CLOUDSTACK-9154 - Adds test to cover nics state after GC > rVPC doesn't recover from cleaning up of network garbage collector > ------------------------------------------------------------------ > > Key: CLOUDSTACK-9154 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9154 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Virtual Router > Affects Versions: 4.6.0, 4.7.0, 4.6.1, 4.6.2 > Environment: ACS 4.7 > Reporter: Remi Bergsma > Assignee: Wilder Rodrigues > Priority: Critical > Fix For: 4.7.1 > > > - deploy a rVPC > - deploy VM in it > - make port forwarding (2nd ip, firewall and such) > - confirm it works > - stop the vm > - after some time the network garbage collector will come and tear down the network since there are no more VMs > - keepalived will enter FAULT state because of missing eth2 nic (which was first network tier) > - all is left is ethic (link local) and lo0 > - then start the vm again > - the nics get plugged again and keepalived will decide on a new master > - the nics are screwed up after this: > ``` > root@r-1021-VM:~# 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:92 brd ff:ff:ff:ff:ff:ff > inet 169.254.2.146/16 brd 169.254.255.255 scope global eth0 > 5: eth1: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 02:00:18:34:00:05 brd ff:ff:ff:ff:ff:ff > inet x.y.238.24/24 brd x.y.238.255 scope global eth1 > inet 10.0.0.51/24 brd 10.0.0.255 scope global eth1 > inet 10.0.0.1/24 brd 10.0.0.255 scope global secondary eth1 > 6: eth2: mtu 1500 qdisc pfifo_fast state UP qlen 1000 > link/ether 06:d5:4e:00:00:1d brd ff:ff:ff:ff:ff:ff > inet x.y.238.25/24 brd x.y.238.255 scope global eth2 > inet 10.0.0.1/24 brd 10.0.0.255 scope global eth2 > root@r-1021-VM:~# > ``` > Public and tier ip addresses are mixed up. > /etc/cloudstack/ips.json has the wrong info: > ``` > { [44/959] > "eth0": [ > { > "add": true, > "broadcast": "169.254.255.255", > "cidr": "169.254.2.146/16", > "device": "eth0", > "gateway": "None", > "netmask": "255.255.0.0", > "network": "169.254.0.0/16", > "nic_dev_id": "0", > "nw_type": "control", > "one_to_one_nat": false, > "public_ip": "169.254.2.146", > "size": "16", > "source_nat": false > } > ], > "eth1": [ > { > "add": true, > "broadcast": "x.y.238.255", > "cidr": "x.y.238.24/24", > "device": "eth1", > "first_i_p": true, > "gateway": "x.y.238.1", > "netmask": "255.255.255.0", > "network": "x.y.238.0/24", > "new_nic": false, > "nic_dev_id": 1, > "nw_type": "public", > "one_to_one_nat": false, > "public_ip": "x.y.238.24", > "size": "24", > "source_nat": true, > "vif_mac_address": "06:fc:da:00:00:1c" > }, > { > "add": true, > "broadcast": "10.0.0.255", > "cidr": "10.0.0.51/24", > "device": "eth1", > "gateway": "10.0.0.1", > "netmask": "255.255.255.0", > "network": "10.0.0.0/24", > "nic_dev_id": "1", > "nw_type": "guest", > "one_to_one_nat": false, > "public_ip": "10.0.0.51", > "size": "24", > "source_nat": false > } > ], > "eth2": [ > { > "add": false, > "broadcast": "10.0.0.255", > "cidr": "10.0.0.173/24", > "device": "eth2", > "gateway": "10.0.0.1", > "netmask": "255.255.255.0", > "network": "10.0.0.0/24", > "nic_dev_id": "2", > "nw_type": "guest", > "one_to_one_nat": false, > "public_ip": "10.0.0.173", > "size": "24", > "source_nat": false > }, > { > "add": true, > "broadcast": "x.y.238.255", > "cidr": "x.y.238.25/24", > "device": "eth2", > "first_i_p": true, > "gateway": "x.y.238.1", > "netmask": "255.255.255.0", > "network": "x.y.238.0/24", > "new_nic": false, > "nic_dev_id": 2, > "nw_type": "public", > "one_to_one_nat": false, > "public_ip": "x.y.238.25", > "size": "24", > "source_nat": true, > "vif_mac_address": "06:d5:4e:00:00:1d" > } > ], > "id": "ips" > ``` > Pinging [~wilder.rodrigues] -- This message was sent by Atlassian JIRA (v6.3.4#6332)