Change in ovirt-engine[master]: core: delete Cinder volumes should be surrounded by try catch.

mlipchuk at redhat.com mlipchuk at redhat.com
Sun Jun 14 08:47:46 UTC 2015


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: delete Cinder volumes should be surrounded by try catch.
......................................................................


core: delete Cinder volumes should be surrounded by try catch.

Delete of volume and snapshot from CinderBroker should return a
notification whether it succeeded or not, and should be surrounded with
try catch block to prevent exception when the volume does not exists.

Change-Id: I01811c092f72d8f5409866f308ea7b3c5cfb3ff0
Bug-Url: https://bugzilla.redhat.com/1185826
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/CinderBroker.java
1 file changed, 24 insertions(+), 10 deletions(-)

Approvals:
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified



-- 
To view, visit https://gerrit.ovirt.org/42252
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I01811c092f72d8f5409866f308ea7b3c5cfb3ff0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list