We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5298897 commit f66ce65Copy full SHA for f66ce65
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/HostMO.java
@@ -321,9 +321,9 @@ public AboutInfo getHostAboutInfo() throws Exception {
321
public VmwareHostType getHostType() throws Exception {
322
AboutInfo aboutInfo = getHostAboutInfo();
323
if (aboutInfo == null) {
324
- String msg = "no type info about host known"
325
- s_logger.error(msg)
326
- throw new Exception(msg);
+ String msg = "no type info about host known, assuming ESXi"
+ s_logger.warn(msg)
+ return VmwareHostType.ESXi;
327
}
328
if ("VMware ESXi".equals(aboutInfo.getName()))
329
return VmwareHostType.ESXi;
0 commit comments