cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-2177) NPE : Monitor DownloadListener says there is an error in the connect process
Date Thu, 25 Apr 2013 00:13:13 GMT
Chandan Purushothama created CLOUDSTACK-2177:
------------------------------------------------

             Summary: NPE : Monitor DownloadListener says there is an error in the connect
process
                 Key: CLOUDSTACK-2177
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2177
             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: Chandan Purushothama
             Fix For: 4.2.0


=================================
Observations from Management Server Log:
=================================

2013-04-24 17:06:22,855 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Sending Connect to listener: DownloadListener
2013-04-24 17:06:22,860 DEBUG [agent.transport.Request] (AgentConnectTaskPool-17:null) Seq
5-1101070340: Sending  { Cmd , MgmtId: 7200344900649, via: 5, Ver: v1, Flags: 100111, [{"storage.ListTemplateCommand":{"secUrl":"nfs://10.223.110.232/export/home/chandan/asfmas-131-170/secondary3","wait":0}}]
}
2013-04-24 17:06:22,976 DEBUG [agent.transport.Request] (AgentManager-Handler-3:null) Seq
5-1101070340: Processing:  { Ans: , MgmtId: 7200344900649, via: 5, Ver: v1, Flags: 110, [{"storage.ListTemplateAnswer":{"secUrl":"nfs://10.223.110.232/export/home/chandan/asfmas-131-170/secondary3","templateInfos":{"206-2-ca669910-529a-3b5b-a48b-721c8cc02eed":{"templateName":"206-2-ca669910-529a-3b5b-a48b-721c8cc02eed","installPath":"template/tmpl/2/206//a6b5bbc2-b08e-3d9e-9a68-a3bbae68e890.qcow2","size":21474836480,"physicalSize":1374552064,"id":206,"isPublic":true,"isCorrupted":false},"205-2-8d3e868b-684c-32cb-9b95-3562815554ed":{"templateName":"205-2-8d3e868b-684c-32cb-9b95-3562815554ed","installPath":"template/tmpl/2/205//ce40f040-ce2c-35b5-a077-081acd515687.qcow2","size":21474836480,"physicalSize":1374486528,"id":205,"isPublic":true,"isCorrupted":false},"routing-3":{"templateName":"routing-3","installPath":"template/tmpl/1/3//411ed0e0-cbf0-433b-8051-183478ad0bc0.qcow2","size":275883520,"physicalSize":275883520,"id":3,"isPublic":true,"isCorrupted":false},"2cf9abd08-7452-364f-896a-0ce357095790":{"templateName":"2cf9abd08-7452-364f-896a-0ce357095790","installPath":"template/tmpl/4/204//2cf9abd08-7452-364f-896a-0ce357095790.qcow2","size":21474836480,"physicalSize":1374552064,"id":1,"isPublic":true,"isCorrupted":false},"202-2-c2c68e84-57a4-3d67-885e-67d62ecfe84d":{"templateName":"202-2-c2c68e84-57a4-3d67-885e-67d62ecfe84d","installPath":"template/tmpl/2/202//4bb7bdcc-6f41-35fd-a03e-91f79aed4bb9.qcow2","size":21474836480,"physicalSize":1374093312,"id":202,"isPublic":true,"isCorrupted":false},"216c4c16e-bfb2-379a-ae02-48e91f35fd2a":{"templateName":"216c4c16e-bfb2-379a-ae02-48e91f35fd2a","installPath":"template/tmpl/4/203//216c4c16e-bfb2-379a-ae02-48e91f35fd2a.qcow2","size":21474836480,"physicalSize":1374486528,"id":1,"isPublic":true,"isCorrupted":false},"centos55-x86_64":{"templateName":"centos55-x86_64","installPath":"template/tmpl/1/4//4c4fe407-2642-399b-ba5b-236930070b4b.qcow2","size":8589934592,"physicalSize":1769537536,"id":4,"isPublic":true,"isCorrupted":false}},"result":true,"details":"success","wait":0}}]
}
2013-04-24 17:06:22,976 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-3:null) Seq
5-1101070340: No more commands found
2013-04-24 17:06:22,976 DEBUG [agent.transport.Request] (AgentConnectTaskPool-17:null) Seq
5-1101070340: Received:  { Ans: , MgmtId: 7200344900649, via: 5, Ver: v1, Flags: 110, { ListTemplateAnswer
} }
2013-04-24 17:06:22,976 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Details from executing class com.cloud.agent.api.storage.ListTemplateCommand: success
2013-04-24 17:06:22,985 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync found SystemVM Template (KVM) already in the template host table
2013-04-24 17:06:23,476 DEBUG [cloud.user.AccountManagerImpl] (AgentConnectTaskPool-17:null)
Access granted to Acct[1-system] to Domain:1/ by DomainChecker_EnhancerByCloudStack_b34c1dfe
2013-04-24 17:06:23,484 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync found CentOS 5.5(64-bit) no GUI (KVM) already in the template host table
2013-04-24 17:06:24,163 DEBUG [cloud.user.AccountManagerImpl] (AgentConnectTaskPool-17:null)
Access granted to Acct[1-system] to Domain:1/ by DomainChecker_EnhancerByCloudStack_b34c1dfe
2013-04-24 17:06:24,172 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync did not find CentOS 5.6(64-bit) no GUI (XenServer) ready on server 2, will request
download to start/resume shortly
2013-04-24 17:06:24,173 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync did not find CentOS 5.3(64-bit) no GUI (vSphere) ready on server 2, will request
download to start/resume shortly
2013-04-24 17:06:24,177 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync found ubuntu already in the template host table
2013-04-24 17:06:24,182 DEBUG [cloud.user.AccountManagerImpl] (AgentConnectTaskPool-17:null)
Access granted to Acct[1-system] to Domain:1/ by DomainChecker_EnhancerByCloudStack_b34c1dfe
2013-04-24 17:06:24,190 INFO  [storage.download.DownloadMonitorImpl] (AgentConnectTaskPool-17:null)
Template Sync found ipv6-template already in the template host table
2013-04-24 17:06:24,193 DEBUG [cloud.user.AccountManagerImpl] (AgentConnectTaskPool-17:null)
Access granted to Acct[1-system] to Domain:1/ by DomainChecker_EnhancerByCloudStack_b34c1dfe
2013-04-24 17:06:24,196 ERROR [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Monitor DownloadListener says there is an error in the connect process for 5 due to null
java.lang.NullPointerException
        at java.net.URI$Parser.parse(URI.java:3019)
        at java.net.URI.<init>(URI.java:595)
        at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:92)
        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-24 17:06:24,196 INFO  [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Host 5 is disconnecting with event AgentDisconnected
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
The next status of agent 5is Alert, current status is Connecting
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Deregistering link for 5 with state Alert
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Remove Agent : 5
2013-04-24 17:06:24,198 DEBUG [agent.manager.ConnectedAgentAttache] (AgentConnectTaskPool-17:null)
Processing Disconnect.
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Sending Disconnect to listener: com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer_EnhancerByCloudStack_d93f823
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Sending Disconnect to listener: com.cloud.network.NetworkManagerImpl_EnhancerByCloudStack_e5e9942c
2013-04-24 17:06:24,198 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-17:null)
Sending Disconnect to listener: com.cloud.storage.secondary.SecondaryStorageListener


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

Mime
View raw message