Skip to content

Commit 4b66876

Browse files
author
Pearl Dsilva
committed
add clvm pools with deterministic uuid , so as to prevent adding the same pool twic
1 parent c2b664d commit 4b66876

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/storage/volume/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public DataStore initialize(Map<String, Object> dsInfos) {
334334

335335
if (existingUuid != null) {
336336
uuid = (String)existingUuid;
337-
} else if (scheme.equalsIgnoreCase("sharedmountpoint") || scheme.equalsIgnoreCase("clvm")) {
337+
} else if (scheme.equalsIgnoreCase("sharedmountpoint")) {
338338
uuid = UUID.randomUUID().toString();
339339
} else if ("PreSetup".equalsIgnoreCase(scheme) && !HypervisorType.VMware.equals(hypervisorType)) {
340340
uuid = hostPath.replace("/", "");

0 commit comments

Comments
 (0)