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

pull/7542/head
Matt Martz 11 years ago
parent 92f16b3d6f
commit 27ac5b1856

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

Loading…
Cancel
Save