weizhouapache commented on code in PR #11054:
URL: https://github.com/apache/cloudstack/pull/11054#discussion_r2156413808


##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/HostMO.java:
##########
@@ -320,6 +320,11 @@ public AboutInfo getHostAboutInfo() throws Exception {
 
     public VmwareHostType getHostType() throws Exception {
         AboutInfo aboutInfo = getHostAboutInfo();
+        if (aboutInfo == null) {
+            String msg = "no type info about host known"
+            s_logger.error(msg)
+            throw new Exception(msg);

Review Comment:
   to be honest, I do not know what is misconfigured and any other issues 
caused by the misconfiguration.
   I think we could consider the host as an ESXi host if the about info is not 
found.
   
   anyone uses ESX host or other type of host ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to