VMware Cloud Community
leo_shen
Contributor
Contributor

local storage ceritification test encount "Failed to lock the file" error

I am doing local storage ceritification test using workbench, when test the automatic test case 'snapsHotTest', it always failed on the step 'power on the virtual machine'

I have tried several kind of disks and no one is lucky, so, i couldn't be disk issue.

the configuration just has 3 parameter,which are hba,lun, and vm template linux.vmdk.

It seems very simple to configure, but I tried many times never get through this error.

any one has an idea how to fix these. I would appreciate very much!!!

partial logs:

2014-08-19 13:15:29 UTC [ TESTHASH  ] [0] INFO: Updating the Node for TestDatastore.

2014-08-19 13:17:26 UTC [ TESTHASH  ] [0] INFO: Process VirtualMachine Setup........................................................................................................

2014-08-19 13:17:26 UTC [ TESTHASH  ] [0] INFO: Process VirtualDiskPartition Setup

2014-08-19 13:17:26 UTC [ TESTHASH  ] [0] INFO: Updating the Node for TestDatastore.

2014-08-19 13:17:34 UTC [ TESTHASH  ] [0] INFO: Process VirtualMachine Setup........................................

2014-08-19 13:17:47 UTC [ CONTAINER ] [0] WARN: You are about to overwrite VTAFVM1_192.168.0.187_14778.VIRTUALDISK-0 of Container Object.This may lead to data loss.......................................................

2014-08-19 13:17:51 UTC [ TESTHASH  ] [0] INFO: Process VirtualDiskPartition Setup....

2014-08-19 13:17:51 UTC [ TESTHASH  ] [0] ERROR: Failed to execute processSetup for the Setup : Failed to execute handleHostVMObj for the Setup :  RC: 5146 ErrDesc: Failed to lock the file

2014-08-19 13:17:51 UTC Cannot open the disk '/vmfs/volumes/53f34de6-2fae1d30-cfd5-d067e5056dff/vtafVM1_192.168.0.187_14778/linux_centos_5_32.vmdk' or one of the snapshot disks it depends on.

2014-08-19 13:17:51 UTC Module DiskEarly power on failed.

2014-08-19 13:17:51 UTC Failed to start the virtual machine.

2014-08-19 13:17:51 UTC  ErrMsg:  Exception: com.vmware.vc.GenericVmConfigFault Trace: com.vmware.qa.staf.vc.task.STAFVCTask.monitorTask(STAFVCTask.java:420) ## com.vmware.qa.staf.vc.vm.STAFVirtualMachine.powerOn(STAFVirtualMachine.java:406) ## com.vmware.qa.staf.vc.vm.VMSTAFService.handlePowerOn(VMSTAFService.java:4194) ## com.vmware.qa.staf.vc.vm.VMSTAFService.acceptRequest(VMSTAFService.java:470) ##

2014-08-19 13:17:51 UTC [ TESTHASH  ] [0] WARN: found objects that need to be cleaned up

0 Kudos
1 Reply
Jayden56
Enthusiast
Enthusiast

Hi

Welcome to communities.

please check compatibility first..

http://www.vmware.com/resources/compatibility/search.php?deviceCategory=san

0 Kudos