Devdeep Singh created CLOUDSTACK-3661:
-----------------------------------------

             Summary: Keep getting IndexOutOfBoundException in the connect 
process to the secondary storage vm
                 Key: CLOUDSTACK-3661
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3661
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Devdeep Singh
            Assignee: Devdeep Singh
            Priority: Blocker


Observe this issue in the latest master. I keep seeing an 
IndexOutOfBoundException. Connection doesn't get established to the SSVM and 
the registered templates are not reported to be Ready.

ERROR [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-5:ctx-cb14fc28) 
Monitor SecondaryStorageListener says there is an error in the connect process 
for 3 due to Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:604)
        at java.util.ArrayList.get(ArrayList.java:382)
        at com.cloud.utils.db.SearchCriteria2.addAnd(SearchCriteria2.java:117)
        at 
com.cloud.storage.secondary.SecondaryStorageManagerImpl.generateFirewallConfiguration(SecondaryStorageManagerImpl.java:422)
        at 
com.cloud.storage.secondary.SecondaryStorageListener.processConnect(SecondaryStorageListener.java:84)
        at 
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:591)
        at 
com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1091)
        at 
com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:146)
        at 
com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1165)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)


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

Reply via email to