This commit is contained in:
Fabricio Duarte 2025-07-08 13:57:26 -03:00
parent d13c92af06
commit a0f9c5590f
1 changed files with 4 additions and 1 deletions

View File

@ -3774,7 +3774,10 @@ public class VmwareResource extends ServerResourceBase implements StoragePoolRes
}
}
}
return vmMo.getAnyExistingAvailableDiskController();
DiskControllerMappingVO existingAvailableDiskController = vmMo.getAnyExistingAvailableDiskController();
logger.debug("Falling back to existing disk controller [{}] for virtual machine [{}] as no matching controller was found based on the current bus name [{}].",
existingAvailableDiskController, vmMo, currentBusName);
return existingAvailableDiskController;
}
return VmwareHelper.getControllerBasedOnDiskType(controllerInfo, vol);