[ https://issues.apache.org/jira/browse/CLOUDSTACK-10029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310793#comment-16310793 ]
ASF GitHub Bot commented on CLOUDSTACK-10029: --------------------------------------------- rhtyd commented on issue #2203: [CLOUDSTACK-10029] All private, public, and guest interfaceses are marked as untagged ca… URL: https://github.com/apache/cloudstack/pull/2203#issuecomment-355205088 Given https://github.com/apache/cloudstack/pull/2304 is merged, nics are now read from hashmap referenced using the mac address. I'll close this PR given this, please re-open/engage if you disagree, thanks for your PR. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)