heat/heat/engine
Pavlo Shchelokovskyy ae0ccc4b51 Better error on deleting non-empty Swift container
Swift client method delete_container() does not allow to delete
non-empty containers, in which case user gets a confusing 409 error
exessively truncated by Swift with no actual reason information.

This patch catches 409 errors from Swift client on container delete,
checks for objects in the container and raises a suitable error if
container is not empty, so that the DELETE_FAILED reason is clearly
seen.

Change-Id: Ibca3851d11b509413b739a693b1ddd244479d37b
Closes-Bug: #1406263
2014-12-30 16:28:11 +00:00
..
cfn Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
clients Switch to oslo.utils.uuidutils 2014-12-26 11:54:56 +01:00
hot Added pseudo param OS::project_id 2014-12-22 16:02:54 +08:00
notification Log translation hint for Heat.engine (part1) 2014-10-14 16:14:56 +08:00
resources Better error on deleting non-empty Swift container 2014-12-30 16:28:11 +00:00
__init__.py Do not initialize anything during import phase 2013-04-24 10:03:06 -07:00
api.py Prevent showing 'show' too early 2014-12-10 15:35:25 +00:00
attributes.py Using six.string_types for python3 compatible 2014-11-03 15:03:56 +08:00
constraints.py Using six.string_types for python3 compatible 2014-11-03 15:03:56 +08:00
dependencies.py Fix [H302] errors in heat/engine 2014-11-26 16:43:55 +03:00
environment.py Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
event.py Log translation hint for Heat.engine (part1) 2014-10-14 16:14:56 +08:00
function.py Using six.string_types for python3 compatible 2014-11-03 15:03:56 +08:00
lifecycle_plugin.py Fix file mode, remove executable bit. 2014-09-10 17:17:44 +08:00
parameter_groups.py Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
parameters.py Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
parser.py Move the Stack class into stack.py 2014-07-24 15:58:25 +10:00
plugin_manager.py Using six.string_types for python3 compatible 2014-11-03 15:03:56 +08:00
properties.py Remove warnings when generating docs 2014-12-19 19:16:54 +00:00
resource.py Always update nested stacks 2014-12-12 15:20:24 -05:00
rsrc_defn.py Fix kwargs going into ResourceDefinition 2014-11-20 13:10:22 +10:00
scheduler.py Fix [H302] errors in heat/engine 2014-11-26 16:43:55 +03:00
service.py Switch to oslo.utils.uuidutils 2014-12-26 11:54:56 +01:00
service_stack_watch.py Separate StackWatch out into it's own module 2014-12-19 14:11:15 +10:00
signal_responder.py Log translation hint for Heat.engine (part3) 2014-10-14 09:42:48 +08:00
stack.py Don't block stack deletion if user creds fail 2014-12-24 09:52:48 +08:00
stack_lock.py Log translation hint for Heat.engine (part3) 2014-10-14 09:42:48 +08:00
stack_resource.py Remove warnings when generating docs 2014-12-19 19:16:54 +00:00
stack_user.py Log translation hint for Heat.engine (part3) 2014-10-14 09:42:48 +08:00
support.py Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
template.py Merge "Add "parameter_defaults" to the environment" 2014-12-17 14:15:34 +00:00
timestamp.py Make the first line of every file consistent. 2014-03-04 09:03:04 -06:00
update.py Don't stop update immediately on error 2014-10-20 10:55:20 +08:00
watchrule.py Log translation hint for Heat.engine (part3) 2014-10-14 09:42:48 +08:00