From 3d808e8e94d9abc0b7675c2134cdef6287ed8236 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Sun, 25 May 2014 19:39:43 -0500 Subject: [PATCH] Don't fail in rax_cbs when the volume is not found --- cloud/rax_cbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud/rax_cbs b/cloud/rax_cbs index 443c833e7d0..ade2b83eacf 100644 --- a/cloud/rax_cbs +++ b/cloud/rax_cbs @@ -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)