Deleting a subnet that is added to a router leaves behind a port that cannot be deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Salvatore Orlando | ||
Folsom |
Fix Released
|
High
|
Gary Kotton |
Bug Description
When adding a subnet to a router via router-
I'm attaching a patch that deletes ports marked as AUTO_DELETE_
Example of issue:
[terry@
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | ee4e9eae-
| name | net1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 2e3986dd9ea643f
+------
[terry@
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.10.10.2", "end": "10.10.10.254"} |
| cidr | 10.10.10.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.10.10.1 |
| host_routes | |
| id | 02eb6689-
| ip_version | 4 |
| name | subnet1 |
| network_id | ee4e9eae-
| tenant_id | 2e3986dd9ea643f
+------
[terry@
Created a new router:
+------
| Field | Value |
+------
| admin_state_up | True |
| external_
| id | f13fca0d-
| name | router1 |
| status | ACTIVE |
| tenant_id | 2e3986dd9ea643f
+------
[terry@
Added interface to router router1
[terry@
+------
| id | name | mac_address | fixed_ips |
+------
| 2486674a-
+------
[terry@
Deleted subnet: subnet1
[terry@
+------
| id | name | mac_address | fixed_ips |
+------
| 2486674a-
+------
[terry@
Port 2486674a-
[terry@
Router f13fca0d-
[terry@
Unable to find subnet with name '02eb6689-
description: | updated |
tags: |
added: db l3-ipam-dhcp removed: database router subnet |
Changed in quantum: | |
milestone: | grizzly-3 → grizzly-rc1 |
Changed in quantum: | |
assignee: | Terry Wilson (otherwiseguy) → Salvatore Orlando (salvatore-orlando) |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-rc1 → 2013.1 |
tags: | removed: folsom-backport-potential |
Fix proposed to branch: master /review. openstack. org/20424
Review: https:/