vm cannot be created after a large number of vms are removed from the same node

Bug #1870723 reported by ZhouHeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

vm cannot be created after a large number of virtual machines are removed from the same node

1、create a security group, has remote security group rule
2、create 50 vms in same node(eg: node01) and use same security group created in step 1
3、delete all vms created in step 2
4、create some vms in nodeo1
5、all vms create failed. error is: Build instance <id> aborted: Failed to allocate the network(s), ...

By observing the database when creating the vm, it is found that port's L2 block has not been removed.

Tags: api-ref
ZhouHeng (zhouhenglc)
summary: - vm cannot be created after a large number of virtual machines are
- removed from the same node
+ vm cannot be created after a large number of vms are removed from the
+ same node
Revision history for this message
Lajos Katona (lajos-katona) wrote :

Thanks for the bug report, could you please give some details, like:
* opsntack version
* firewall driver (ovs, hybrid....)

Revision history for this message
Lajos Katona (lajos-katona) wrote :

I tried to reproduce on master with firewall_driver = openvswitch, and as I used devstack I had only ~15 VMs on my compute, and for me there was no problem after deleting the VMs and creating new ones after.

By the way I created my VMs one-by-one.

Changed in neutron:
status: New → Incomplete
Revision history for this message
ZhouHeng (zhouhenglc) wrote :

firewall_driver = OVSHybridIptablesFirewallDriver
15 VMs are too few.
step 1 must not be less.
The main reason for this problem is that when deleting a large number of vms, a large number of ip conntrack need to be deleted, which will occupy CPU and rpc_loop cannot execute.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.