You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
11 years ago
..
amazon fixed minor doc issues 11 years ago
azure ensure password or ssh cert specified 11 years ago
digital_ocean Updating cloud modules with proper github author information 11 years ago
docker Do not erroneously mask exceptions 11 years ago
google Update choices and version_added for new gce.py param service_account_permissions 11 years ago
linode Updating cloud modules with proper github author information 11 years ago
openstack Merge pull request #1685 from j2sol/feature/os_subnet_ipv6 11 years ago
rackspace Fix some remaining rax asg idempotency checks 11 years ago
vmware fixed version added, reworded description a bit 11 years ago
__init__.py package files 11 years ago