shulemmosko opened a new issue, #8310:
URL: https://github.com/apache/cloudstack/issues/8310

   
   
   
    * Bug Report
   
   
   Cloudstack-agent
   
   version 4.18.1.0
   
   
   Im using shapeblue repository.
   servers are running latest version of Ubuntu.
   
   
   
   Im trying to add a new host but it fails, on the management server there is 
not error or failure.
   in the agent.log I got the following.
   
   
   2023-12-05 16:03:32,884 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Agent started
   2023-12-05 16:03:32,888 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.18.1.0
   2023-12-05 16:03:32,890 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
   2023-12-05 16:03:32,942 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
   2023-12-05 16:03:32,942 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
   2023-12-05 16:03:32,994 INFO  [cloud.utils.LogUtils] (main:null) (logid:) 
log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2023-12-05 16:03:32,995 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Using default Java settings for IPv6 preference for agent connection
   2023-12-05 16:03:33,094 INFO  [cloud.agent.Agent] (main:null) (logid:) id is
   2023-12-05 16:03:33,108 ERROR [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) uefi properties file not found due to: Unable to find file 
uefi.properties.
   2023-12-05 16:03:33,165 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) (logid:) Failed to find passphrase for keystore: cloud.jks
   2023-12-05 16:03:33,170 INFO  [kvm.resource.LibvirtConnection] (main:null) 
(logid:) No existing libvirtd connection found. Opening a new one
   2023-12-05 16:03:33,299 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent:
   com.cloud.utils.exception.CloudRuntimeException: Failed to connect socket to 
'/var/run/libvirt/libvirt-sock': No such file or directory
           at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:1076)
           at com.cloud.agent.Agent.<init>(Agent.java:190)
           at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:452)
           at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
           at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
           at com.cloud.agent.AgentShell.start(AgentShell.java:511)
           at com.cloud.agent.AgentShell.main(AgentShell.java:541)
   
   
   ##### EXPECTED RESULTS
   the host to be added to the cluster.
   
   ##### ACTUAL RESULTS
   in the management GUI when im trying to add the host its not giving an error 
nor does it give a confirmation.
   
   


-- 
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: [email protected]

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

Reply via email to