cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kous...@apache.org
Subject git commit: updated refs/heads/4.4-forward to de114f5
Date Tue, 29 Apr 2014 05:02:45 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4-forward 3e7ea4e8d -> de114f554


CLOUDSTACK-4371: [Performance Testing] Basic zone with 20K Hosts, management server restart
leaves the hosts in disconnected state for very long time
Fixed simulator code to handle local storage during host reconnect


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/de114f55
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/de114f55
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/de114f55

Branch: refs/heads/4.4-forward
Commit: de114f554895c24c0d25106a775f1405eac79c6d
Parents: 3e7ea4e
Author: Koushik Das <koushik@apache.org>
Authored: Tue Apr 29 09:59:33 2014 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Tue Apr 29 09:59:33 2014 +0530

----------------------------------------------------------------------
 .../src/com/cloud/agent/manager/MockStorageManagerImpl.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/de114f55/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockStorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockStorageManagerImpl.java
b/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockStorageManagerImpl.java
index f821dc8..69d4bac 100644
--- a/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockStorageManagerImpl.java
+++ b/plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockStorageManagerImpl.java
@@ -335,7 +335,7 @@ public class MockStorageManagerImpl extends ManagerBase implements MockStorageMa
             if (storagePool == null) {
                 storagePool = new MockStoragePoolVO();
                 storagePool.setUuid(sf.getUuid());
-                storagePool.setMountPoint("/mnt/" + sf.getUuid() + File.separator);
+                storagePool.setMountPoint("/mnt/" + sf.getUuid());
 
                 Long size = DEFAULT_HOST_STORAGE_SIZE;
                 String path = sf.getPath();
@@ -376,7 +376,7 @@ public class MockStorageManagerImpl extends ManagerBase implements MockStorageMa
             if (storagePool == null) {
                 storagePool = new MockStoragePoolVO();
                 storagePool.setUuid(sf.getUuid());
-                storagePool.setMountPoint("/mnt/" + sf.getUuid() + File.separator);
+                storagePool.setMountPoint("/mnt/" + sf.getUuid());
 
                 Long size = DEFAULT_HOST_STORAGE_SIZE;
                 String path = sf.getPath();
@@ -945,7 +945,7 @@ public class MockStorageManagerImpl extends ManagerBase implements MockStorageMa
             String uuid = UUID.randomUUID().toString();
             storagePool = new MockStoragePoolVO();
             storagePool.setUuid(uuid);
-            storagePool.setMountPoint("/mnt/" + uuid + File.separator);
+            storagePool.setMountPoint("/mnt/" + uuid);
             storagePool.setCapacity(DEFAULT_HOST_STORAGE_SIZE);
             storagePool.setHostGuid(hostGuid);
             storagePool.setStorageType(StoragePoolType.Filesystem);
@@ -1004,7 +1004,7 @@ public class MockStorageManagerImpl extends ManagerBase implements MockStorageMa
             String uuid = UUID.randomUUID().toString();
             storagePool = new MockStoragePoolVO();
             storagePool.setUuid(uuid);
-            storagePool.setMountPoint("/mnt/" + uuid + File.separator);
+            storagePool.setMountPoint("/mnt/" + uuid);
             storagePool.setCapacity(storageSize);
             storagePool.setHostGuid(hostGuid);
             storagePool.setStorageType(StoragePoolType.Filesystem);


Mime
View raw message