Executing 'neutron purge tenantid' command returns a list in what delete ports doesn't calculate the port that device_owner is 'network: router_gateway'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Expired
|
Undecided
|
Unassigned |
Bug Description
Executing the neutron purge command to delete all supported resources owned by a tenant returns a list of resources that were deleted, in what port number doesn't contain the port that device_owner is 'network: router_gateway'.
1)Creating a external network with a subnet;
2)Creating a router
3)Using router-gateway-set command sets a external gateway for the router created
4)Using port-list command returns one port whose device_owner is 'network: router_gateway'.
5)Using the neutron purge command to delete all supported resources owned by the tenant owning the network resources,the returned result contains no deleted port info.
The return info of this command is as follows:
Purging resources: 100% complete.
Deleted 1 security_group, 1 router, 1 network.
Detail operation process,please see:http://
Changed in neutron: | |
assignee: | nobody → xiewj (36429515-3) |
summary: |
Using the neutron purge command to delete all supported resources owned - by a tenant,the returned result of deleted port number doesn't contain - the port that device_owner is 'network: router_gateway'. + by a tenant returns a list of resources that were deleted, in what port + number doesn't contain the port that device_owner is 'network: + router_gateway'. |
description: | updated |
summary: |
- Using the neutron purge command to delete all supported resources owned - by a tenant returns a list of resources that were deleted, in what port - number doesn't contain the port that device_owner is 'network: + Executing 'neutron purge tenantid' command returns a list in what delete + ports doesn't calculate the port that device_owner is 'network: router_gateway'. |
description: | updated |
affects: | neutron → python-neutronclient |
Changed in python-neutronclient: | |
assignee: | xiewj (36429515-3) → bailin.zhang (bailin-zhang) |
Changed in python-neutronclient: | |
assignee: | bailin.zhang (bailin-zhang) → nobody |
The purge command only deletes resources with a tenant_id matching the one given by the user. The router gateway port has no tenant_id, so isn't deleted. If you run port-list after running purge does the port still exist? Or is it deleted when deleting the network/router? I believe it should be.