See the comments on Plan Deletion Action patch[1] in tripleo-common.
The python-swiftclient project is used in tripleo-common when interacting with swift. The swiftclient library has no way to perform a deletion on a container that contains objects without iterating over the objects to delete them first.
Python-swiftclient doesn't provide access to a headers arg for us to inject the header. While there seems to be another document[2] that states we can use a querystring param with a POST request, the delete_container method does not provide a means to change the HTTP request method type.
Once swiftclient has been patched to allow access to headers for delete_container or provide another means to bulk delete a container, this code in tripleo-common should be updated.
[1]https://review.openstack.org/#/c/299937/15/tripleo_common/actions/plan.py@166
[2] http://docs.openstack.org/developer/swift/middleware.html#bulk-delete
From the reference [2] above, the bulk delete will not work in our case (container full of objects) as the container must be empty.
"or for a container (which must be empty at time of delete)"