diff --git a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java index f7e9385683b..7254c2b59ca 100644 --- a/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java +++ b/plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java @@ -563,7 +563,7 @@ public class ElastistorPrimaryDataStoreLifeCycle implements PrimaryDataStoreLife if(updateTsmStorageCmdResponse.getStorage().getId() != null){ // update the cloudstack db - _storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.valueOf(capacityBytes)); + _storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.parseLong(capacityBytes)); s_logger.info("elastistor TSM storage successfully updated"); }else{