Don't fail in rax_cbs when the volume is not found

This commit is contained in:
Matt Martz 2014-05-25 19:39:43 -05:00
parent 92de7d712d
commit 3d808e8e94

View file

@ -141,6 +141,8 @@ def cloud_block_storage(module, state, name, description, meta, size,
except ValueError:
try:
volume = cbs.find(name=name)
except pyrax.exc.NotFound:
pass
except Exception, e:
module.fail_json(msg='%s' % e)