]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Nexenta drivers ignore "does not exist" exception
authorVictor Rodionov <vito.ordaz@gmail.com>
Wed, 16 Oct 2013 18:00:16 +0000 (11:00 -0700)
committerVictor Rodionov <vito.ordaz@gmail.com>
Tue, 22 Oct 2013 22:05:22 +0000 (15:05 -0700)
commitd4b7d5fd427d3c46bb61a45edd2623305e23b90b
treefd2686a15148beb3e75a2b460dec6c1bd6d514a9
parent9b599d092ffa168a73ab7fa98ff20cb2cb48fe0b
Nexenta drivers ignore "does not exist" exception

Ignore "does not exist" exception in NFS and iSCSI driver,
delete_volume and delete_snapshot methods.
This exceptions means that the volume or the snapshot not exists in the
backend, so we can avoid "delete" errors, when the resource was already
deleted.

Closes-Bug: 1240650
Change-Id: I3b2684097dcb95ba50a67c94a353dc3f17374777
cinder/tests/test_nexenta.py
cinder/volume/drivers/nexenta/iscsi.py
cinder/volume/drivers/nexenta/nfs.py