VMware Cloud Community
Cyanatide
Enthusiast
Enthusiast

ESXi 8.0: File upload fails without any error

Hi,
I have installed a new ESXi Host with version 8.0 Update 1.
Using the web interface, I try to uploade different ISO files in my datastore. Almost every time, few seconds after the upload started, the progress bar in Datastore browser simply disappears and my file doesn't appears in my datastore (no error message). In Recent Tasks panel, I see my "Upload file to datastore" task with the value "Running... 33%" in the Completed column, but upload seems to be completely stopped (percent value change between two upload of a same file). See pictures enclosed.
Bigger is the file I try to upload, bigger the upload has chance to fail. I'm completely unable to upload files bigger than 4GB, so this issue has a real impact.
Trusted root certificate are installed on my client laptop.

Tags (1)
24 Replies
Cyanatide
Enthusiast
Enthusiast

Hi crmercado,

On my side, certificate was already installed during all previous tests.

Reply
0 Kudos
jonedved
Enthusiast
Enthusiast

Hi,

I think once the transfer starts, you're already past any certificate issue.

I have a similar setup - vSphere 8.0 U1 running on Dell R6525, using the latest driver pack (single image LCM updating).

I copied a 10G test file bunch of times using the Host Client - from Chrome browser, no proxy, no firewall between browser and the host - but over a router. I didn't face any issues.

You may want to check /var/log/hostd.log - might get some hints there. For example:

1. Start copying your file. I used NSX .mub.

2. search hosts.log for entries marking start of the transfer. cat /var/log/hostd.log | grep NSX. This will find entry showing start of the transfer, with a request ID:

2023-06-02T16:13:29.348Z In(166) Hostd[2100594]: [Originator@6876 sub=HTTP server /folder req=000000c4dff49580 user=root] Got HTTP PUT request for /folder/temp/VMware-NSX-upgrade-bundle-4.1.0.2.0.21761691.mub?dcPath=ha-datacenter&dsName=Local-esx-111-1

Then wait for the issue to happen. Search the hostd.log again - this time searching for the request ID. Or running tail -f /var/log/hostd.log to follow the log during the file upload.

Successful transaction should look like this:

cat /var/log/hostd.log | grep 000000c4dff49580

2023-06-02T16:13:29.348Z In(166) Hostd[2100594]: [Originator@6876 sub=HTTP server /folder req=000000c4dff49580 user=root] Got HTTP PUT request for /folder/temp/VMware-NSX-upgrade-bundle-4.1.0.2.0.21761691.mub?dcPath=ha-datacenter&dsName=Local-esx-111-1
2023-06-02T16:13:29.349Z In(166) Hostd[2106479]: [Originator@6876 sub=Vimsvc.TaskManager opID=req=000000c4dff49580-c760 sid=5208a845 user=root] Task Created : haTask--vim.SearchIndex.findByInventoryPath-1622109
2023-06-02T16:13:29.349Z In(166) Hostd[2106481]: [Originator@6876 sub=Vimsvc.TaskManager opID=req=000000c4dff49580-c760 sid=5208a845 user=root] Task Completed : haTask--vim.SearchIndex.findByInventoryPath-1622109 Status success
2023-06-02T16:13:29.351Z In(166) Hostd[2100385]: [Originator@6876 sub=DatastoreBrowser opID=req=000000c4dff49580-c762 sid=5208a845 user=root] DatastoreBrowserImpl::SearchInt MoId:60c08b5a-6292d474-d9aa-bc97e1db06d0-datastorebrowser dsPath:[Local-esx-111-1]temp recursive:false

2023-06-02T16:18:47.358Z In(166) Hostd[2100595]: [Originator@6876 sub=HTTP server /folder req=000000c4dff49580] Sent Created response for PUT /folder/temp/VMware-NSX-upgrade-bundle-4.1.0.2.0.21761691.mub?dcPath=ha-datacenter&dsName=Local-esx-111-1
2023-06-02T16:18:47.359Z In(166) Hostd[2100595]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 149543 : File upload to path '[Local-esx-111-1]temp/VMware-NSX-upgrade-bundle-4.1.0.2.0.21761691.mub' was initiated from 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36@172.31.11.100' and completed with status ''
2023-06-02T16:18:47.466Z In(166) Hostd[2106476]: [Originator@6876 sub=DatastoreBrowser opID=esxui-c7f0-d572 sid=5208a845 user=root] DatastoreBrowserImpl::SearchInt MoId:60c08b5a-6292d474-d9aa-bc97e1db06d0-datastorebrowser dsPath:[Local-esx-111-1] temp recursive:false

If you get an error, please share it here.

Regards,

Josef

Cyanatide
Enthusiast
Enthusiast

Hi Josef,

Here are the logs when I try to upload file ERP-disk1.vmdk:

2023-06-06T13:01:12.001Z In(166) Hostd[2099248]: [Originator@6876 sub=HTTP server /folder] Allow CORS from https://vcenter.mydomain.local for OPTIONS /folder/ISO/ERP-disk1.vmdk?dcPath=ha-datacenter&dsName=RAID6-SSD&enc=std
2023-06-06T13:01:12.004Z In(166) Hostd[2099243]: [Originator@6876 sub=HTTP server /folder] Allow CORS from https://vcenter.mydomain.local for PUT /folder/ISO/ERP-disk1.vmdk?dcPath=ha-datacenter&dsName=RAID6-SSD&enc=std
2023-06-06T13:01:12.004Z In(166) Hostd[2099243]: [Originator@6876 sub=HTTP server /folder req=0000003cfd072fc0 user=vpxuser:VSPHERE.LOCAL\Administrator] Got HTTP PUT request for /folder/ISO/ERP-disk1.vmdk?dcPath=ha-datacenter&dsName=RAID6-SSD&enc=std
2023-06-06T13:01:12.005Z In(166) Hostd[2099252]: [Originator@6876 sub=Vimsvc.TaskManager opID=req=0000003cfd072fc0-e89b sid=524f9453 user=vpxuser] Task Created : haTask--vim.SearchIndex.findByInventoryPath-321053
2023-06-06T13:01:12.006Z In(166) Hostd[2099265]: [Originator@6876 sub=Vimsvc.TaskManager opID=req=0000003cfd072fc0-e89b sid=524f9453 user=vpxuser] Task Completed : haTask--vim.SearchIndex.findByInventoryPath-321053 Status success
2023-06-06T13:01:12.007Z In(166) Hostd[2099272]: [Originator@6876 sub=DatastoreBrowser opID=req=0000003cfd072fc0-e89d sid=524f9453 user=vpxuser] DatastoreBrowserImpl::SearchInt MoId:64706b87-add52c50-3fc1-ec2a72466822-datastorebrowser dsPath:[RAID6-SSD]ISO recursive:false
2023-06-06T13:01:24.667Z Wa(164) Hostd[2099259]: [Originator@6876 sub=IO.Connection req=0000003cfd072fc0] Failed to read buffer from stream; <io_obj p:0x0000003d02314158, h:53, <TCP '127.0.0.1 : 8309'>, <TCP '127.0.0.1 : 14875'>> e: 2(End of file), async: false, duration: 0msec
2023-06-06T13:01:24.658Z Wa(164) Hostd[2099256]: [Originator@6876 sub=Vimsvc.CgiServiceManager] Ticket not found: ***39891: (PUT /folder/ISO/ERP-disk1.vmdk?dcPath=ha-datacenter&dsName=RAID6-SSD&enc=std)
2023-06-06T13:02:13.486Z Wa(164) Hostd[2099259]: [Originator@6876 sub=IO.Connection req=0000003cfd072fc0] Failed to read buffer from stream; <io_obj p:0x0000003d02314158, h:-1, <TCP '127.0.0.1 : 8309'>, <TCP '127.0.0.1 : 14875'>> e: 2(End of file), async: false, duration: 48819msec
2023-06-06T13:02:13.521Z In(166) Hostd[2099259]: [Originator@6876 sub=HTTP server /folder req=0000003cfd072fc0] Incomplete message body received for PUT /folder/ISO/ERP-disk1.vmdk?dcPath=ha-datacenter&dsName=RAID6-SSD&enc=std
2023-06-06T13:02:13.521Z In(166) Hostd[2099259]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 1872 : File upload to path '[RAID6-SSD]ISO/ERP-disk1.vmdk' was initiated from '@' and completed with status ''
Reply
0 Kudos
insomnyteq
Contributor
Contributor

IDK how this sint resolved I literally cannot load anything into ESXI data store of any size. doesn't anyone have any idea what is happening? this is a local esxi install on a del opti 700 worked fine the first time i tried to install Windows in a vm, but now i can't add and i literally cannot add anything of any size. help, please 

Reply
0 Kudos
Paul_BenitesG
Contributor
Contributor

Hello, yesterday I had this problem. What works for me is to change my computer, use another laptop to upload the files and work. Likewise, if it doesn't work for you, I recommend:

- use customized version of vmware for the server in that version.

- upload files with winscp or filezilla

- use previous versions like 7.

Reply
0 Kudos