Noelantogerorge commented on issue #7586:
URL: https://github.com/apache/cloudstack/issues/7586#issuecomment-1578030290

   Hi,
   Before doing the changes I had restarted both libvirt and cloudstack-agent 
service but unfortuatly agent is not getting connected getting below error
   Kindly help me out for this as it is an existing enviornment some VM's are 
running on it..
   
   2023-06-06 06:55:05,088 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent: 
   javax.naming.ConfigurationException: Error while creating Agent with class 
[com.cloud.hypervisor.kvm.resource.LibvirtComputingResource]. [Root exception 
is java.lang.NumberFormatException: null]
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:434)
        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)
   Caused by: java.lang.NumberFormatException: null
        at java.base/java.lang.Integer.parseInt(Integer.java:614)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtDomainXMLParser.parseDomainXML(LibvirtDomainXMLParser.java:311)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.setupMemoryBalloonStatsPeriod(LibvirtComputingResource.java:1301)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:1244)
        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)
   


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