cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLOUDSTACK-3622) Built-in template download failure
Date Thu, 18 Jul 2013 06:58:48 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei Zhou reassigned CLOUDSTACK-3622:
------------------------------------

    Assignee: Alex Huang

Alex changed in commit 541f9d7f9c6bcd3c07db252647de2433667d1bb4. Assign to him.


diff --git a/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java b/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
index 9408d48..5931aa1 100755
--- a/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
+++ b/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
@@ -419,7 +419,7 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements
Secondar

         SearchCriteriaService<HostVO, HostVO> sc = SearchCriteria2.create(HostVO.class);
         sc.addAnd(sc.getEntity().getType(), Op.EQ, Host.Type.SecondaryStorageVM);
-        sc.addAnd(sc.getEntity().getStatus(), Op.IN, com.cloud.host.Status.Up, com.cloud.host.Status.Connecting);
+        sc.addAnd(sc.getEntity().getState(), Op.IN, com.cloud.host.Status.Up, com.cloud.host.Status.Connecting);
         List<HostVO> ssvms = sc.list();
         for (HostVO ssvm : ssvms) {
                if (ssvm.getId() == ssAHostId) {

                
> Built-in template download failure
> ----------------------------------
>
>                 Key: CLOUDSTACK-3622
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3622
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Prasanna Santhanam
>            Assignee: Alex Huang
>            Priority: Blocker
>
> The default built-in tempalte fails to download on latest master (11971b5a5812ab433b33365bc938704f2bd180e3)
with the following exception:
>  [{"com.cloud.agent.api.SecStorageSetupAnswer":{"_dir":"b5622678-7b80-3cd1-b196-09e9c943ece6","result":true,"details":"success","wait":0}}]
}
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com local0: 2013-07-18 04:37:51,209 DEBUG
[agent.transport.Request] (AgentConnectTaskPool-5:ctx-6a489527) Seq 5-13434881: Received:
 { Ans: , MgmtId: 200973787296321, via: 5, Ver: v1, Flags:
>  110, { SecStorageSetupAnswer } }
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com local0: 2013-07-18 04:37:51,209 DEBUG
[agent.manager.AgentManagerImpl] (AgentConnectTaskPool-5:ctx-6a489527) Details from executing
class com.cloud.agent.api.SecStorageSetupCommand: succ
> ess
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com local0: 2013-07-18 04:37:51,242 DEBUG
[agent.manager.AgentAttache] (AgentManager-Handler-10:null) Seq 5-13434881: No more commands
found
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com local0: 2013-07-18 04:37:51,268 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (AgentConnectTaskPool-5:ctx-6a489527) Successfully
programmed secondary storage nfs://nfs.fmt.vmops.
> com:/export/automation/acs/secondary in secondary storage VM s-1-VM
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com local0: 2013-07-18 04:37:51,303 ERROR
[agent.manager.AgentManagerImpl] (AgentConnectTaskPool-5:ctx-6a489527) Monitor SecondaryStorageListener
says there is an error in the connect proces
> s for 5 due to Index: 0, Size: 0
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com java.lang.IndexOutOfBoundsException:
Index: 0, Size: 0
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at java.util.ArrayList.rangeCheck(ArrayList.java:571)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at java.util.ArrayList.get(ArrayList.java:349)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.utils.db.SearchCriteria2.addAnd(SearchCriteria2.java:117)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.storage.secondary.SecondaryStorageManagerImpl.generateFirewallConfiguration(SecondaryStorageManagerImpl.java:422)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.storage.secondary.SecondaryStorageListener.processConnect(SecondaryStorageListener.java:84)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:588)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1088)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:146)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1162)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> Jul 17 21:37:51 cloudstack-centos63.fmt.vmops.com     at java.lang.Thread.run(Thread.java:679)

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