[ https://issues.apache.org/jira/browse/CLOUDSTACK-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devdeep Singh resolved CLOUDSTACK-2188. --------------------------------------- Resolution: Fixed Fixed in commit 41f7820709f8856a93473818f13093c6dd6dd7ca and 1741fdfb12fd37ce73708b4d563ac22217098c03 in 4.2 and master > Parsing error with Download Monitor while checking the health of downloaded > templates > ------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-2188 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2188 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > Assignee: Devdeep Singh > Priority: Critical > Fix For: 4.2.0 > > Attachments: management-server.log > > > Setup: Advanced Networking Zone with Xen 6.1 , MS -RHEL 6.3 > Steps: > 1. Ensure that System Template,Default template got downloaded with no issues > 2. System VM's should be up & running > 3. Restarted Management server > Observation: > Parsing error with Download Monitor while checking the health of downloaded > templates > 2013-04-25 17:03:36,856 ERROR [agent.manager.AgentManagerImpl] > (AgentConnectTaskPool-2:null) Monitor DownloadListener says there is an error > in the connect process for 4 due to null > java.lang.NumberFormatException: null > at java.lang.Long.parseLong(Long.java:401) > at java.lang.Long.parseLong(Long.java:478) > at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:95) > at > com.cloud.storage.download.DownloadMonitorImpl.handleTemplateSync(DownloadMonitorImpl.java:881) > at > com.cloud.storage.download.DownloadMonitorImpl.handleSync(DownloadMonitorImpl.java:644) > at > com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:439) > at > com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:611) > at > com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1111) > at > com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:145) > at > com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1186) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-04-25 17:03:36,857 INFO [agent.manager.AgentManagerImpl] > (AgentConnectTaskPool-2:null) Host 4 is disconnecting with event > AgentDisconnected > 2013-04-25 17:03:36,859 DEBUG [agent.manager.AgentManagerImpl] > (AgentConnectTaskPool-2:null) The next status of agent 4is Alert, current > status is Connecting > 2013-04-25 17:03:36,859 DEBUG [agent.manager.AgentManagerImpl] > (AgentConnectTaskPool-2:null) Deregistering link for 4 with state Alert > 2013-04-25 17:03:36,859 DEBUG [agent.manager.AgentManagerImpl] > (AgentConnectTaskPool-2:null) Remove Agent : 4 > 2013-04-25 17:03:36,860 DEBUG [agent.manager.ConnectedAgentAttache] > (AgentConnectTaskPool-2:null) Processing Disconnect. > 2013-04-25 17:03:36,861 DEBUG [agent.manager.AgentAttache] > (AgentConnectTaskPool-2:null) Seq 4-875560965: Sending disconnect to class > com.cloud.agent.manager.SynchronousListener -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira