Maybe you need this guide for troubleshooting

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting


2013/10/24 ramnivas indani <ram.0...@gmail.com>

> Hi All,
> I am facing issues on my newly installed CloudStack 4.0, I am not able to
> register new templates to CloudStack,
> When i provide URL to download template for OVA or ISO some how it doesn't
> start downloading,
> and when i look into logs it shows that there is no SSVM but I am able to
> connect to SSVM from management server and also from console access.
> here are some logs
>
>  2013-10-24 03:20:58,807 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-18:null) Seq 2-582811683: Executing request
> 2013-10-24 03:20:59,265 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-18:null) Seq 2-582811683: Response Received:
> 2013-10-24 03:20:59,265 DEBUG [agent.transport.Request]
> (StatsCollector-1:null) Seq 2-582811683: Received:  { Ans: , MgmtId:
> 345051758635, via: 2, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
> 2013-10-24 03:21:00,995 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch s
> econdary storage VM
> 2013-10-24 03:21:01,096 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch co
> nsole proxy
> 2013-10-24 03:21:01,416 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 router
> s.
> 2013-10-24 03:21:17,190 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) StorageCollector is running...
> 2013-10-24 03:21:17,196 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) There is no secondary storage VM for seco
> ndary storage host nfs://10.0.110.12/data/cloudstack/secondary
> 2013-10-24 03:21:17,205 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-57:null) Seq 1-160825372: Executing request
> 2013-10-24 03:21:18,070 DEBUG [vmware.resource.VmwareResource]
> (DirectAgent-57:torvms04lx.sigmasys.net) Datastore summary inf
> o, storageId: 22cd8154-12f9-35d4-832b-aa56f2d461cd, localPath:
> /CloudStack/cloudstack-emc01, poolType: VMFS, capacity: 214479
> 929344, free: 210512117760, used: 3967811584
> 2013-10-24 03:21:18,071 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-57:null) Seq 1-160825372: Response Received:
> 2013-10-24 03:21:18,071 DEBUG [agent.transport.Request]
> (StatsCollector-3:null) Seq 1-160825372: Received:  { Ans: , MgmtId:
> 345051758635, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2013-10-24 03:21:18,078 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-58:null) Seq 2-582811684: Executing request
> 2013-10-24 03:21:19,590 DEBUG [vmware.resource.VmwareResource]
> (DirectAgent-58:torvms03lx.sigmasys.net) Datastore summary inf
> o, storageId: 7899cd73-6e32-4252-be8a-79706c674af6, localPath:
> datastore-3403, poolType: LVM, capacity: 141465485312, free: 1
> 40877234176, used: 588251136
> 2013-10-24 03:21:19,590 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-58:null) Seq 2-582811684: Response Received:
> 2013-10-24 03:21:19,591 DEBUG [agent.transport.Request]
> (StatsCollector-3:null) Seq 2-582811684: Received:  { Ans: , MgmtId:
> 345051758635, via: 2, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2013-10-24 03:21:30,995 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch s
> econdary storage VM
> 2013-10-24 03:21:31,096 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Zone 1 is ready to launch co
> nsole proxy
> 2013-10-24 03:21:31,328 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is bei
> ng called at 2013-10-24 07:21:31 GMT
> 2013-10-24 03:21:31,330 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 0 snapshots to be executed
>  at 2013-10-24 07:21:31 GMT
> 2013-10-24 03:21:31,364 DEBUG
> [cloud.network.ExternalLoadBalancerUsageManagerImpl]
> (ExternalNetworkMonitor-1:null) External l
> oad balancer devices stats collector is running...
> 2013-10-24 03:21:31,415 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null)
> Found 0 running rout
> ers.
> 2013-10-24 03:21:31,416 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 router
> s.
> 2013-10-24 03:21:32,870 DEBUG [agent.manager.AgentManagerImpl]
> (AgentManager-Handler-2:null) Ping from 4
>
>
> and when i try to force reconnect to network it shows me exception related
> to POD id
> here are the logs for that
> 2013-10-23 06:16:14,291 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-8:job-14)
> Lock is released for network id 204 as a part of router startup in
>
> Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
> : Dest[Zone(1)-Pod(null)-Cluster(null)-Host(null)-Storage()]
> 2013-10-23 06:16:14,291 WARN  [cloud.network.NetworkManagerImpl]
> (Job-Executor-8:job-14) Failed to implement network Ntwk[204|Guest|7]
> elements and resources as a part of network restart due to
> com.cloud.utils.exception.CloudRuntimeException: Pod id is expected in
> deployment destination
>         at
>
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.getDeploymentPlanAndRouters(VirtualNetworkApplianceManagerImpl.java:1596)
>         at
>
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.findOrDeployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1305)
>         at
> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at
>
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1688)
>         at
>
> com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:172)
>         at
>
> com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
>         at
>
> com.cloud.network.NetworkManagerImpl.restartNetwork(NetworkManagerImpl.java:3892)
>         at
>
> com.cloud.network.NetworkManagerImpl.restartNetwork(NetworkManagerImpl.java:3827)
>         at
> com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at
> com.cloud.api.commands.RestartNetworkCmd.execute(RestartNetworkCmd.java:93)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>         at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         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:722)
> 2013-10-23 06:16:14,293 WARN  [cloud.network.NetworkManagerImpl]
> (Job-Executor-8:job-14) Network id=204 failed to restart.
> 2013-10-23 06:16:14,302 WARN  [cloud.api.ApiDispatcher]
> (Job-Executor-8:job-14) class com.cloud.api.ServerApiException : Failed to
> restart network
> 2013-10-23 06:16:14,303 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-8:job-14) Complete async job-14, jobStatus: 2, resultCode:
> 530, result: Error Code: 530 Error text: Failed to restart network
> 2013-10-23 06:16:14,321 DEBUG [cloud.async.SyncQueueManagerImpl]
> (Job-Executor-8:job-14) Sync queue (1) is currently empty
> 2013-10-23 06:16:14,322 WARN  [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-8:job-14) Unable to unregister active job 14 from JMX
> monitoring
> 2013-10-23 06:16:14,871 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-265:null) Ping from 2
> 2013-10-23 06:16:15,649 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-161:null) Ping from 1
>
> also it shows that there are no virtualrouters
> Can anyone help me to identify the exact issue
>
> Thanks & Regards,
> Ramnivas
>



-- 

N.g.U.y.e.N.A.n.H.t.U

Reply via email to