[bulk] there is no clean operation if bulk create ports fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Medium
|
Rodolfo Alonso |
Bug Description
When we use the bulk api to create ports use one subnet e.g., '935fe38e-
We use sql queries to find diffrent IPs between ipallocations and ipamallocations:
ip_address in ipallocations but not in ipamallocations:
MariaDB [neutron]> select count(*) from ipallocations where subnet_
+----------+
| count(*) |
+----------+
| 873 |
+----------+
1 row in set (0.01 sec)
ip_address in ipamallocations but not in ipallocations:
MariaDB [neutron]> select count(*) from ipamallocations where ipam_subnet_id in (select id from ipamsubnets where neutron_
+----------+
| count(*) |
+----------+
| 63 |
+----------+
1 row in set (0.01 sec)
It seems that there are still resources remaining if ports creation fails, and we cannot find the operation to clean up failed ports.
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
This might have been fixed in https:/ /review. opendev. org/c/openstack /neutron/ +/898549
https:/ /bugs.launchpad .net/neutron/ +bug/2039550