Suggest you take a look at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

This should help you troubleshoot SSVM isssues.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

[email protected]

-----Original Message-----
From: Vahric Muhtaryan [mailto:[email protected]]
Sent: 01 November 2013 13:21
To: CloudStack SupportMailingList
Subject: System VMs couldn't up

Hello,

We newly installed and configured zone and faced system vm issue.
They can¹t run and they are in loop now :D

Two interesting message

One : 2013-11-01 14:04:50,029 INFO
[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) 
Primary secondary storage is not even started, wait until next turn

We can not understand why and who will up the Primary Secondary storage ?

Other issue is , we can not understand host:2 unreachable , all connection are 
ok , cloudstack see green up and running

2013-11-01 14:42:09,495 WARN
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Exception 
while trying to start secondary storage vm

com.cloud.exception.AgentUnavailableException: Resource [Host:2] is
unreachable: Host 2: Unable to start instance due to null

at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:988)

at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:
578)

at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:
571)

at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(Se
condaryStorageManagerImpl.java:267)

at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(Second
aryStorageManagerImpl.java:696)

at
com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Secondary
StorageManagerImpl.java:1300)

at
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSeco
ndaryStorageManagerImpl.java:123)

at
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSeco
ndaryStorageManagerImpl.java:50)

at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)

at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)

at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)

at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$
201(ScheduledThreadPoolExecutor.java:165)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Sch
eduledThreadPoolExecutor.java:267)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
46)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
15)

at java.lang.Thread.run(Thread.java:679)

Caused by: java.lang.NullPointerException

at
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(
VolumeServiceImpl.java:422)

at
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTempl
ateAsync(VolumeServiceImpl.java:569)

at
com.cloud.storage.VolumeManagerImpl.recreateVolume(VolumeManagerImpl.java:25
36)

at com.cloud.storage.VolumeManagerImpl.prepare(VolumeManagerImpl.java:2592)

at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:889)

... 20 more

2013-11-01 14:42:09,496 INFO
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable to 
start secondary storage vm for standby capacity, secStorageVm vm Id :
244, will recycle it and start a new one


But another interesting message is below , under /var/run/ there is no 
cloud_mount folder under and also no guid there ?!

2013-11-01 14:42:06,169 DEBUG [agent.transport.Request]
(DirectAgent-321:null) Seq 1-1414201462: Processing:  { Ans: , MgmtId:
345049864043, via: 1, Ver: v1, Flags: 110, 
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"det
ails":"Catch Exception com.cloud.utils.exception.CloudRuntimeException for 
template +  due to com.cloud.utils.exception.CloudRuntimeException: can't mount 
10.110.200.204:/vahric/secondary//template/tmpl/1/1 to 
/var/run/cloud_mount/fe70ecb9-4615-4a94-b5e9-f66b229d2d36","wait":0}}] }

Could you help me pls ?
Regards
VM


This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to