Possible bug in in kvm code: LibvirtComputingResource->execute(IpAssocCommand cmd)-> VifHotPlug, which is only place adding nic into router vm. Turn on agent log, then take a look what happened.
> -----Original Message----- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Monday, August 27, 2012 5:10 PM > To: cloudstack-dev@incubator.apache.org > Subject: VM router spawning multiple public nics > > I've got two zones running the same build of cloudstack (a recent copy > of master). One of them creates routers that turn into ugly > multi-headed beasts, and by that I mean that any time I create a port > forwarding or iptables rule for that router I get a new public NIC > with an identical IP address, I have an instance with a few tens of > NICs. My guess is that some script isn't detecting that there's > already a NIC with the public IP on it. It looks fine in the > database, there is only one public NIC defined in the nics table. > I'll troubleshoot it tomorrow, but if anyone knows where I should > begin the headstart would be appreciated. > > Thanks