hi rajesh,

ran these commands on my xen host

[root@XenMaddy /]# vhd-util check -n
3fdfe519-a8e0-4a0b-9fc7-cd59465e53ab.vhd
cannot stat 3fdfe519-a8e0-4a0b-9fc7-cd59465e53ab.vhd: 2

[root@XenMaddy /]# vhd-util scan 3fdfe519-a8e0-4a0b-9fc7-cd59465e53ab.vhd
vhd=3fdfe519-a8e0-4a0b-9fc7-cd59465e53ab.vhd scan-error=-2
error-message='failure scanning target'
scan failed: -2

its showing failure.

referring -
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

thanks.


On Fri, Apr 25, 2014 at 5:09 PM, Rajesh Battala
<rajesh.batt...@citrix.com>wrote:

> Do you have vhd-util binary present in your xenserver?
>
> -----Original Message-----
> From: Punith S [mailto:punit...@cloudbyte.com]
> Sent: Friday, April 25, 2014 5:07 PM
> To: cloudstack
> Subject: SSVM's are NOT RUNNING !
>
> hi guys,
>
> i have fresh installed the cloudstack 4.3 , on adding a basic zone with
> xenserver 6.2 after seeding the secondary nfs storage mentioned in docs by
>
>
> */usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> <
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> >
> -h xenserver  -F*
>
> also tried seeding the secondary nfs storage by new link of ssvm templates
>
>
> */usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
> http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-xen.vhd.bz2
> <
> http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-xen.vhd.bz2
> >
> -h xenserver -F*
>
> *i'm getting the following errors.*
>
> WARN  [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-99b42320)
> destoryVDIbyNameLabel failed due to there are 0 VDIs with name
> cloud-eedde44e-93ca-4fa1-bc9f-1fa06ddc1279
> WARN  [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-99b42320)
> can not create vdi in sr 2d85eb6a-d5a2-94ae-ed41-4051eafe882a
> *WARN  [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-1:ctx-99b42320)
> Catch Exception com.cloud.utils.exception.CloudRuntimeException for
> template +  due to com.cloud.utils.exception.CloudRuntimeException: can not
> create vdi in sr 2d85eb6a-d5a2-94ae-ed41-4051eafe882a*
> *com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> 2d85eb6a-d5a2-94ae-ed41-4051eafe882a*
> *        at *
>
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
>         at
>
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
>         at
>
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
>         at
>
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
>         at
>
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
>         at
>
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
>         at
>
> ....................
> INFO  [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-9eeb38cf) releasing
> lock for VMTemplateStoragePool 1 WARN  [c.c.u.d.Merovingian2]
> (secstorage-1:ctx-9eeb38cf) Was unable to find lock for the key
> template_spool_ref1 and thread id 1185113504 INFO
>  [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-9eeb38cf) Unable to
> contact resource.
> *com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2]
> is unreachable: Unable to create Vol[1|vm=1|ROOT]:Catch Exception
> com.cloud.utils.exception.CloudRuntimeException for template +  due to
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> 2d85eb6a-d5a2-94ae-ed41-4051eafe882a*
> *        at
>
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)*
>         at
>
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
>         at
>
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
>
> ...................................
>
> INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-9:ctx-f8ea88cc) VM does
> not exist on XenServer68659813-bd58-47cf-a759-986e54613a81
> WARN  [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-9eeb38cf)
> Exception while trying to start secondary storage vm
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for VM[SecondaryStorageVm|s-1-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
>         at
>
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:921)
>         at
>
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
>         at
>
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
>
>
> my primary storage is seen mounted successfully on the hypervisor(host)
>
> is the ssvm template got corrupted ?
>
> thanks.
>
> --
> regards,
>
> punith s
> cloudbyte.com
>



-- 
regards,

punith s
cloudbyte.com

Reply via email to