DaanHoogland commented on issue #4700:
URL: https://github.com/apache/cloudstack/issues/4700#issuecomment-784025691


   this one is a known issue but shouldn't hamper you, I've seen it in working 
envs.
   ```
   Feb 22 16:42:48 cloud.upbcist.priv java[40541]: ERROR 
[kvm.resource.LibvirtComputingResource] (main:) (logid:) uefi properties file 
not found due to: Unable to find file uefi.properties.
   ```
   
   this one is not good, but i'm not sure if it is related
   ```
   Feb 22 16:42:49 cloud.upbcist.priv java[40541]: libvirt: Domain Config error 
: invalid connection pointer in virConnectGetVersion
   Feb 22 16:42:49 cloud.upbcist.priv java[40541]: ERROR 
[kvm.resource.LibvirtConnection] (Agent-Handler-1:) (logid:) Connection with 
libvirtd is broken: invalid connection pointer in virConnectGetVersion
   ```
   
   and later, this looks like the agent tries to identify itself as a known 
agent with id 0. I think the initialisation of the agent went wrong
   ```
   Feb 22 16:42:49 cloud.upbcist.priv java[40541]: INFO [cloud.agent.Agent] 
(Agent-Handler-2:) (logid:) Startup Response Received: agent id = 0
   Feb 22 16:42:49 cloud.upbcist.priv java[40541]: INFO [cloud.agent.Agent] 
(AgentShutdownThread:) (logid:) Stopping the agent: Reason = sig.kill
   ```
   here it seems the unknown agent tried to do business as usual.
   ```
   Feb 22 16:42:49 cloud.upbcist.priv java[36735]: WARN 
[c.c.a.m.AgentManagerImpl] (AgentManager-Handler-13:null) (logid:) Throwing 
away a request because it came through as the first command on a connect: Seq 
0--1: { Cmd , MgmtId: -1, vi
   Feb 22 16:42:49 cloud.upbcist.priv java[36735]: WARN 
[c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) (logid:) Throwing 
away a request because it came through as the first command on a connect: Seq 
0-1: { Cmd , MgmtId: -1, via
   Feb 22 16:42:50 cloud.upbcist.priv libvirtd[36629]: 2021-02-22 
21:42:50.926+0000: 36629: error : virNetSocketReadWire:1806 : End of file while 
reading data: Input/output error
   ```
   
   I think your best way forward is to clean the agent machine and re-add it to 
cloudstack. Check the host table in the DB as well to make sure there is no 
entry crooked for the agent.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to