We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e35fdff + 76ab621 commit 8eaf264Copy full SHA for 8eaf264
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java
@@ -5219,7 +5219,7 @@ protected Answer execute(ModifyStoragePoolCommand cmd) {
5219
String childPath = datacenterName + summary.getName();
5220
poolInfo.setHostPath(childPath);
5221
String uuid = childDsMo.getCustomFieldValue(CustomFieldConstants.CLOUD_UUID);
5222
- if (uuid == null) {
+ if (uuid == null || !uuid.contains("-")) {
5223
uuid = UUID.nameUUIDFromBytes(((pool.getHost() + childPath)).getBytes()).toString();
5224
}
5225
poolInfo.setUuid(uuid);
0 commit comments