openstack project delete: Missing cascade option or its documentation

Bug #1583404 reported by Bernd Bausch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Won't Fix
Wishlist
Unassigned

Bug Description

With Mitaka, project subtrees can be deleted with one API request. Does the openstack client support this?

$ openstack --version
openstack 2.3.0
$ openstack project delete HPE
Cannot delete the project e4690776baf645cf9056987e129259ce since it is not a leaf in the hierarchy. Use the cascade option if you want to delete a whole subtree. (HTTP 403) (Request-ID: req-675787a3-fd83-4b46-823b-ec5742a93ec9)
$ openstack project delete --cascade HPE
usage: openstack project delete [-h] [--domain <domain>]
                                <project> [<project> ...]
openstack project delete: error: unrecognized arguments: --cascade

Either the cascade option has not been implemented, or it's not called "cascade". In the latter case, the error message and the help string are wrong.

tags: added: openstack-client
removed: client openstack
Revision history for this message
Steve Martinelli (stevemar) wrote :

Currently the API does not exist for deleting (with a cascade) subtrees -- you can create them all you want, but there is no public route for deleting with cascade. see https://review.openstack.org/#/c/244248/ and the associated blueprint

Changed in python-openstackclient:
status: New → Triaged
importance: Undecided → Wishlist
Artem Goncharov (gtema)
Changed in python-openstackclient:
status: Triaged → 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.