ipallocationpools remains after subnet deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton | ||
Folsom |
Fix Released
|
High
|
Gary Kotton |
Bug Description
It seems ipallocationpools table is not deleted at all.
---
$ quantum net-create net1
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 4d9ce72f-
| name | net1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | d77feb1a8f87495
+------
$ quantum subnet-create --name sub1 net1 10.0.0.0/24 --enable_dhcp=false
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| cidr | 10.0.0.0/24 |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | 10.0.0.1 |
| host_routes | |
| id | b7baffd3-
| ip_version | 4 |
| name | sub1 |
| network_id | 4d9ce72f-
| tenant_id | d77feb1a8f87495
+------
$ quantum subnet-delete sub1
Deleted subnet: sub1
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 73
Server version: 5.5.24-
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use ovs_quantum
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from ipallocationpools;
+------
| id | subnet_id | first_ip | last_ip |
+------
| bdd1aa31-
+------
1 row in set (0.01 sec)
mysql>
---
Changed in quantum: | |
status: | New → Confirmed |
tags: | added: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
tags: | removed: folsom-backport-potential in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-2 → 2013.1 |
I use current stable/folsom (commit b15099c78fa542b 77c37195bfed759 8b6fd702eb) .
Thanks.