heat/heat/engine/resources
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
..
aws Correct group's updates from a failed state 2014-12-24 14:31:39 +08:00
ceilometer Correctly set CombinationAlarm repeat_actions 2014-11-19 11:58:28 +00:00
neutron Merge "Switch to oslo.utils.uuidutils" 2014-12-30 12:41:02 +00:00
openstack Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
software_config Apply nova server constraints for resources 2014-12-03 01:54:46 +00:00
__init__.py Implements stack lifecycle plugpoints 2014-08-31 19:36:48 +00:00
cloud_watch.py Add 'required' attribute to OS::Heat::CWLiteAlarm properties 2014-12-24 15:05:27 +00:00
eip.py Add PropertyUnspecifiedError exception 2014-12-17 18:49:39 +03:00
glance_image.py Provide support status info for OS::Glance::Image 2014-10-03 06:43:22 +02:00
instance.py Deprecate HARestarter resource type 2014-12-09 17:20:43 -05:00
instance_group.py Correct group's updates from a failed state 2014-12-24 14:31:39 +08:00
internet_gateway.py Switch heat resources & db & tests to oslo.i18n 2014-09-17 14:28:56 +08:00
iso_8601.py Support loading constraints as stevedore extensions 2014-06-30 21:50:11 -10:00
loadbalancer.py Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
network_interface.py Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
nova_floatingip.py Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
nova_keypair.py Change hardcoded attr names in _resolve_attribute 2014-12-17 19:32:32 +03:00
nova_servergroup.py Adding missed whitespace between the words 2014-10-28 04:32:29 -04:00
nova_utils.py Fix [H302] errors in heat/engine 2014-11-26 16:43:55 +03:00
os_database.py Switch to oslo.utils.uuidutils 2014-12-26 11:54:56 +01:00
random_string.py Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
remote_stack.py Merge "Add "parameter_defaults" to the environment" 2014-12-17 14:15:34 +00:00
resource_group.py Fix SoftwareDeployments validation 2014-12-19 22:46:27 +00:00
route_table.py Fix [H302] errors in heat/engine 2014-11-26 16:43:55 +03:00
s3.py Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
sahara_cluster.py Log translation hint for Heat.engine (part2) 2014-10-14 09:39:51 +08:00
sahara_templates.py Merge "Add Nova flavor constraint for SaharaNodeGroupTemplate" 2014-12-23 17:13:57 +00:00
security_group.py Implement update of AWS::EC2::SecurityGroup rules 2014-11-03 14:22:36 +02:00
server.py Merge "Switch to oslo.utils.uuidutils" 2014-12-30 12:41:02 +00:00
stack.py Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
subnet.py Fix [H302] errors in heat/engine 2014-11-26 16:43:55 +03:00
swift.py Better error on deleting non-empty Swift container 2014-12-30 16:28:11 +00:00
swiftsignal.py Convert unicode to six in heat/engine/resources 2014-12-08 16:47:21 +03:00
template_resource.py Add "parameter_defaults" to the environment 2014-12-15 09:44:11 +10:00
user.py Using six.string_types for python3 compatible 2014-11-03 15:03:56 +08:00
volume.py Change hardcoded attr names in _resolve_attribute 2014-12-17 19:32:32 +03:00
vpc.py Remove deprecated function i18n.install('heat') 2014-10-13 10:31:28 +08:00
wait_condition.py Fix WaitCondition SupportStatus versions 2014-12-12 13:55:35 +00:00