You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "weizhouapache (via GitHub)" <gi...@apache.org> on 2023/06/09 14:50:40 UTC

[GitHub] [cloudstack] weizhouapache commented on issue #7547: CloudStack agent trims Host.OS in the response to management server

weizhouapache commented on issue #7547:
URL: https://github.com/apache/cloudstack/issues/7547#issuecomment-1584711678

   @DaanHoogland @NuxRo 
   I restarted cloudstack-agent on a host, and got the exception 
   ```
   2023-06-09 14:49:01,657 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-9:ctx-f3c5da4e) (logid:7f27c10b) Failed to handle host connection:
   java.lang.IllegalArgumentException: Can't add host: 10.0.32.193 with hostOS: Rocky Linux into a cluster,in which there are Rocky hosts added
           at com.cloud.hypervisor.kvm.discoverer.LibvirtServerDiscoverer.createHostVOForConnectedAgent(LibvirtServerDiscoverer.java:474)
           at com.cloud.resource.ResourceManagerImpl.dispatchToStateAdapters(ResourceManagerImpl.java:1997)
           at com.cloud.resource.ResourceManagerImpl.createHostVO(ResourceManagerImpl.java:2224)
           at com.cloud.resource.ResourceManagerImpl.createHostVOForConnectedAgent(ResourceManagerImpl.java:2556)
   ```
   
   we need to solve it. 


-- 
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-unsubscribe@cloudstack.apache.org

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