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)