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 314E9200CD9 for ; Thu, 3 Aug 2017 16:54:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2FD4C16BB85; Thu, 3 Aug 2017 14:54:06 +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 7DBCF16BB83 for ; Thu, 3 Aug 2017 16:54:05 +0200 (CEST) Received: (qmail 42240 invoked by uid 500); 3 Aug 2017 14:54:04 -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 42231 invoked by uid 500); 3 Aug 2017 14:54:04 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 42228 invoked by uid 99); 3 Aug 2017 14:54:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 14:54:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1E920C00C4 for ; Thu, 3 Aug 2017 14:54:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Yx87tucV6D1a for ; Thu, 3 Aug 2017 14:54:03 +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 E6F5861029 for ; Thu, 3 Aug 2017 14:54:01 +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 0ED8FE0E0F for ; Thu, 3 Aug 2017 14:54:00 +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 58C5424659 for ; Thu, 3 Aug 2017 14:54:00 +0000 (UTC) Date: Thu, 3 Aug 2017 14:54:00 +0000 (UTC) From: "Konstantin Trushin (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-10029) Virtual Router network interfaces are being constantly added by cloudstack. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 14:54:06 -0000 Konstantin Trushin created CLOUDSTACK-10029: ----------------------------------------------- Summary: Virtual Router network interfaces are being constantly added by cloudstack. Key: CLOUDSTACK-10029 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10029 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: cloudstack-agent Affects Versions: 4.10.0.0 Environment: Centos 7 x86_64 Reporter: Konstantin Trushin When adding static nat eth interfaces are being added constantly to Virtual Router VM till they reach PCI slot limit of libvirt. This is caused by public, private and guest interfaces being marked as untagged and in HashMap and values are overwritten and cleanupNetworkElementCommand dosn't know nic number in VR VM and constantly adds eth interfaces. Below is some debugging output: 2017-07-25 10:47:21,054 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Exexutiong cleanupNetworkElementCommand 2017-07-25 10:47:21,054 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-2:null) (logid:57628c13) Looking for libvirtd connection at: qemu:///system 2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {vlan://untagged=0} 2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=0} 2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=2} 2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=3} 2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4} 2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) NIC pos 5 2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4} 2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Lokking for BroadcastUri vlan://261 2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Plugging in VIF with MAC 1e:00:07:00:02:c8 -- This message was sent by Atlassian JIRA (v6.4.14#64029)