VMware {code} Community
robinrosenberg
Contributor
Contributor

vifs --get internal error

Hi,

I'm getting an internal error 500 from

# vifs --server srv2 --username root --password *** -g "[SATA-RAID5] ISO/CentOS-6.2-x86_64-minimal.iso" ./x

GET https://srv2/folder/ISO/CentOS-6.2-x86_64-minimal.iso?dsName=SATA-RAID5 unsuccessful : 500 Internal Server Error

It worked at first, but stopped working some time after I deleted the VM that was using the image. I have rebooted the host

to no avail. I can retrieve the file from another host in the cluster.

Does anyone have a clue to what is going on here? The host is using vSpere 5.0. Logs below. It says "Error creating Reader: FileIO error : Failed to lock file",

but I don't know how to unlock.

-- robin

2013-06-07T22:14:34.563Z [69DDBB90 verbose 'Locale' opID=HB-host-413@75-f3d8feaa-a5] Default resource used for 'counter.virtualDisk.busResets.summary' expected in module 'perf'.

2013-06-07T22:14:41.990Z [69E5DB90 verbose 'SoapAdapter'] Responded to service state request

2013-06-07T22:14:43.236Z [69E1CB90 verbose 'Proxysvc Req00019'] New proxy client SSL(TCP(local=10.1.2.75:443, peer=10.1.2.76:57162))

2013-06-07T22:14:43.262Z [69681B90 verbose 'Locale' opID=HB-host-413@77-b8d3397a-5c] Default resource used for 'counter.virtualDisk.commandsAborted.label' expected in module 'perf'.

2013-06-07T22:14:43.262Z [69681B90 verbose 'Locale' opID=HB-host-413@77-b8d3397a-5c] Default resource used for 'counter.virtualDisk.commandsAborted.summary' expected in module 'perf'.

2013-06-07T22:14:43.262Z [69681B90 verbose 'Locale' opID=HB-host-413@77-b8d3397a-5c] Default resource used for 'counter.virtualDisk.busResets.label' expected in module 'perf'.

2013-06-07T22:14:43.262Z [69681B90 verbose 'Locale' opID=HB-host-413@77-b8d3397a-5c] Default resource used for 'counter.virtualDisk.busResets.summary' expected in module 'perf'.

2013-06-07T22:14:43.288Z [69E1CB90 verbose 'ha-license-manager' opID=HB-host-413@77-b8d3397a-5c] Load: Loading existing file: /etc/vmware/license.cfg

2013-06-07T22:14:43.303Z [69E1CB90 verbose 'Default' opID=HB-host-413@77-b8d3397a-5c] ha-license-manager:Validate -> Valid license detected for "VMware ESX Server 5.0" (lastError=0, desc.IsValid:Yes)

2013-06-07T22:14:52.466Z [FFE9FAD0 verbose 'Proxysvc Req00020'] New proxy client SSL(TCP(local=10.1.2.75:443, peer=10.1.2.196:50316))

2013-06-07T22:14:52.667Z [696C2B90 verbose 'Proxysvc Req00021'] New proxy client SSL(TCP(local=10.1.2.75:443, peer=10.1.2.196:50321))

pam_per_user: create_subrequest_handle(): doing map lookup for user "root"

pam_per_user: create_subrequest_handle(): creating new subrequest (user="root", service="system-auth-generic")

Accepted password for user root from 10.1.2.196

2013-06-07T22:14:52.785Z [69AC2B90 info 'Vimsvc'] [Auth]: User root

2013-06-07T22:14:52.785Z [69AC2B90 info 'ha-eventmgr'] Event 120 : User root@10.1.2.196 logged in

2013-06-07T22:14:52.884Z [FFE9FAD0 info 'TaskManager'] Task Created : haTask--vim.SearchIndex.findByInventoryPath-91916343

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] FindByInventoryPath: inventoryPath = ha-datacenter

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] GetMatchingChild: node = <null>, childName = ha-datacenter

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] RefToNamedManagedEntity: ref = vim.Datacenter:ha-datacenter, name = ha-datacenter

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] RefNamedManagedEntity: result = vim.Datacenter:ha-datacenter

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] GetMatchingChild: returning child = [N4Solo17HaFixedDatacenterE:0x57098f4]

2013-06-07T22:14:52.884Z [69DDBB90 verbose 'SearchIndex'] FindByInventoryPath returning vim.Datacenter:ha-datacenter

2013-06-07T22:14:52.884Z [69DDBB90 info 'TaskManager'] Task Completed : haTask--vim.SearchIndex.findByInventoryPath-91916343 Status success

2013-06-07T22:14:52.886Z [69A81B90 verbose 'DatastoreBrowser'] 4f702519-ed59a094-6804-d4bed9ed50ab-datastorebrowser::Search Path = [SATA-RAID5]ISO Spec = (vim.host.DatastoreBrowser.SearchSpec) {

-->    dynamicType = <unset>,

-->    query = (vim.host.DatastoreBrowser.Query) [

-->       (vim.host.DatastoreBrowser.FolderQuery) {

-->          dynamicType = <unset>,

-->       },

-->       (vim.host.DatastoreBrowser.Query) {

-->          dynamicType = <unset>,

-->       }

-->    ],

-->    details = (vim.host.DatastoreBrowser.FileInfo.Details) {

-->       dynamicType = <unset>,

-->       fileType = true,

-->       fileSize = false,

-->       modification = false,

-->       fileOwner = false,

-->    },

-->    searchCaseInsensitive = <unset>,

-->    matchPattern = (string) [

-->       "CentOS-6\.2-x86_64-minimal\.iso"

-->    ],

-->    sortFoldersFirst = <unset>,

--> }

2013-06-07T22:14:52.887Z [69A81B90 verbose 'DatastoreBrowser'] 4f702519-ed59a094-6804-d4bed9ed50ab-datastorebrowser::SearchInt

2013-06-07T22:14:52.887Z [69A81B90 verbose 'DatastoreBrowser'] 4f702519-ed59a094-6804-d4bed9ed50ab-datastorebrowser::GetLocalpathFromDatastorepath

2013-06-07T22:14:52.889Z [69A81B90 verbose 'DatastoreBrowser'] 4f702519-ed59a094-6804-d4bed9ed50ab-datastorebrowser::Verify

2013-06-07T22:14:56.899Z [FFE9FAD0 warning 'HTTP server /folder'] Error creating Reader: FileIO error : Failed to lock file  : /vmfs/volumes/4f702519-ed59a094-6804-d4bed9ed50ab/ISO/CentOS-6.2-x86_64-mini

mal.iso

2013-06-07T22:14:56.899Z [FFE9FAD0 verbose 'HttpSvc.HTTPService'] HTTP Response: Complete (processed 0 bytes)

2013-06-07T22:14:56.899Z [FFE9FAD0 verbose 'HttpSvc.HTTPService'] User agent is 'VI Perl'

2013-06-07T22:14:56.899Z [FFE9FAD0 verbose 'HTTP server /folder'] Sent InternalServerError response for GET /folder/ISO/CentOS-6.2-x86_64-minimal.iso?dsName=SATA-RAID5

Tags (3)
0 Kudos
0 Replies