Don't fail in rax_cbs when the volume is not found
This commit is contained in:
parent
92de7d712d
commit
3d808e8e94
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue