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 f7e9385683b4..7254c2b59ca7 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 void updateStoragePool(StoragePool storagePool, Map detai 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{