neutron purge does not work

Bug #1675491 reported by David Rabel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Won't Fix
Undecided
Unassigned

Bug Description

Trying "neutron purge demo" on a new devstack installation should delete network resources of demo project (there is at least a router and a private network with subnet in this project). But it just says "Tenant has no supported resources.".

Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :

Please provide more information as to
a) Which Branch you are testing
b) How have you verified that the tenant had any resources
c) Logs?

Changed in python-neutronclient:
status: New → Incomplete
status: Incomplete → Opinion
status: Opinion → Incomplete
Revision history for this message
David Rabel (rabel-b1) wrote :

You are right. I just reproduced it with the following environment:

Pulled current master of DevStack on Debian Stretch, and run a single node installation. (Had to apply https://review.openstack.org/#/c/447094/ first, to install libvirt correctly on Debian Stretch.)
Pulled and installed current master of python-neutronclient.

Logged in to the dashboard as "admin" user, selected project "demo" and downloaded openrc file. Sourced it.

Then from the command line:

http://paste.openstack.org/show/604024/

neutron-server log:

http://paste.openstack.org/show/604026/

Revision history for this message
Akihiro Motoki (amotoki) wrote :

The help message says TENANT parameter is "ID of Tenant owning the resources to be deleted".
You need to pass tenant_id (project ID) rather than project name.

neutron CLI is in the freeze stage (deprecation warning is emitted) and we don't have a plan to improve this.

Similar feature support is OSC is under development and it is supported to specify project name in OSC in general, so it is better to wait "purge" support in OSC.

Changed in python-neutronclient:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.