yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00324
[Bug 1091946] Re: ipallocationpools remains after subnet deletion
** Changed in: quantum/folsom
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1091946
Title:
ipallocationpools remains after subnet deletion
Status in OpenStack Quantum (virtual network service):
Fix Released
Status in quantum folsom series:
Fix Released
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-fd4c-47e8-aa00-8602c2e122ac |
| name | net1 |
| provider:network_type | local |
| provider:physical_network | |
| provider:segmentation_id | |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | d77feb1a8f8749569f779c5ae20e68d2 |
+---------------------------+--------------------------------------+
$ 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-65f3-4261-b284-de84376e7d9c |
| ip_version | 4 |
| name | sub1 |
| network_id | 4d9ce72f-fd4c-47e8-aa00-8602c2e122ac |
| tenant_id | d77feb1a8f8749569f779c5ae20e68d2 |
+------------------+--------------------------------------------+
$ 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-0ubuntu0.12.04.1 (Ubuntu)
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-b3c7-40d4-baaa-04f84d288855 | NULL | 10.0.0.2 | 10.0.0.254 |
+--------------------------------------+-----------+----------+------------+
1 row in set (0.01 sec)
mysql>
---
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1091946/+subscriptions