From 7c5bc4ae7eedeb3a7f3bf96362107c39064ca103 Mon Sep 17 00:00:00 2001 From: Mike Tutkowski Date: Thu, 6 Nov 2014 21:34:05 -0700 Subject: [PATCH] Allow infrastructure to handle delete of volume from DB --- .../datastore/driver/SolidFirePrimaryDataStoreDriver.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java index f66b5a1071c..008693cc415 100644 --- a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java +++ b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java @@ -465,8 +465,6 @@ public class SolidFirePrimaryDataStoreDriver implements PrimaryDataStoreDriver { _volumeDetailsDao.removeDetails(volumeId); - _volumeDao.deleteVolumesByInstance(volumeId); - StoragePoolVO storagePool = _storagePoolDao.findById(storagePoolId); // getUsedBytes(StoragePool) will not include the volume to delete because it has already been deleted by this point