ansible/cloud
Lars Kellogg-Stedman 444a2ad808 Do not erroneously mask exceptions
There was a catch-all `except` statement in `create_containers`:

        try:
            containers = do_create(count, params)
        except:
            self.pull_image()
            containers = do_create(count, params)

This would mask a variety of errors that should be exposed, including
API compatability errors (as in #1707) and common Python exceptions (KeyError, ValueError, etc) that could result from errors in the code.

This change makes the `except` statement more specific, and only attempts to pull the image and start a container if the original create attempt failed due to a 404 error from the docker API.
2015-07-16 15:25:39 -04:00
..
amazon fixed minor doc issues 2015-07-14 16:55:21 -04:00
azure ensure password or ssh cert specified 2015-07-09 13:33:46 -04:00
digital_ocean Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
docker Do not erroneously mask exceptions 2015-07-16 15:25:39 -04:00
google Update choices and version_added for new gce.py param service_account_permissions 2015-06-23 13:16:28 -04:00
linode Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
openstack Merge pull request #1685 from j2sol/feature/os_subnet_ipv6 2015-07-09 14:10:56 -07:00
rackspace Fix some remaining rax asg idempotency checks 2015-06-18 13:12:50 -05:00
vmware fixed version added, reworded description a bit 2015-07-14 17:03:21 -04:00
__init__.py package files 2014-09-26 11:05:47 -04:00