Skip to content

Commit a0f9c55

Browse files
committed
Add log
1 parent d13c92a commit a0f9c55

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource

plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3774,7 +3774,10 @@ protected DiskControllerMappingVO getControllerForDisk(VirtualMachineMO vmMo, Vi
37743774
}
37753775
}
37763776
}
3777-
return vmMo.getAnyExistingAvailableDiskController();
3777+
DiskControllerMappingVO existingAvailableDiskController = vmMo.getAnyExistingAvailableDiskController();
3778+
logger.debug("Falling back to existing disk controller [{}] for virtual machine [{}] as no matching controller was found based on the current bus name [{}].",
3779+
existingAvailableDiskController, vmMo, currentBusName);
3780+
return existingAvailableDiskController;
37783781
}
37793782

37803783
return VmwareHelper.getControllerBasedOnDiskType(controllerInfo, vol);

0 commit comments

Comments
 (0)