Quantcast
Channel: VMware Communities : Popular Discussions - Open Virtualization Format Tool
Viewing all articles
Browse latest Browse all 34499

ovftool frequently encounters Unexpected end of stream

$
0
0

Hello

I've looked around in the forums, but couldn't find a resolution to this problem. I'm using ovftool (the latest version - 2.1.0) to deploy an ova consisting of 3 VMs to an ESXi 4.1 server, via a vcenter. I see frequent stalls in the data transfer from the vcenter to the server (did a packet capture), and ovftool frequently (but not always) gives up at some random point through the transfer, complaining that it encountered an unexpected end of stream.

 

Here's the commandline I'm using:

 

ovftool --name=foo --X:logToConsole=True --X:logLevel="verbose" --diskMode=thin --net:"VM Network"="VM Network" --vmFolder=bar --skipManifestCheck myova.ova vi://user:pass@localhost/my_dc/host/my_host/Resources/my_pool

 

Here's a log snippet if it might help:

 

2012-09-11T07:13:01.767-07:00 [07668 verbose 'Default'] [ViConnection] Using vim API version: 5.0
2012-09-11T07:13:01.891-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:01.891-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:01.938-07:00 [07668 verbose 'HttpConnectionPool'] HttpConnectionPoolImpl created. maxPoolConnections = 1; idleTimeout = 900000000; maxOpenConnections = 1; maxConnectionAge = 0
2012-09-11T07:13:01.954-07:00 [07668 verbose 'Default'] Keeping VI session alive
Opening VI target: vi://user:pass@localhost:443/my_dc/host/my_host/Resources/my_pool
2012-09-11T07:13:02.016-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:02.016-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
Deploying to VI: vi://user:pass@localhost:443/my_dc/host/my_host/Resources/my_pool
2012-09-11T07:13:10.471-07:00 [07668 verbose 'Default'] Using file size as progress measure
Disk progress: 02012-09-11T07:13:10.518-07:00 [07668 verbose 'Default'] Opening disk target /nut4/client/VirtualLsiLogicController0:0
2012-09-11T07:13:10.534-07:00 [07384 verbose 'Default'] CURL: => Send header POST /nfc/52d3abc1-5c67-3e19-1db6-88303c597203/disk-0.vmdk HTTP/1.1
--> User-Agent: VMware-client/4.0.0 (ovfTool; libcurl)
--> Host: 1.1.1.2
--> Accept: */*
--> Transfer-Encoding: chunked
--> Content-Type: application/x-vnd.vmware-streamVmdk
-->
-->
2012-09-11T07:13:35.010-07:00 [07384 verbose 'Default'] Curl_perform error code 55 (Failed sending data to the peer)
Disk Transfer Failed                      
Error: Internal error: Unexpected end of stream

 

Interestingly, if I use the vsphere client to deploy the ova, it goes through quicker and I haven't seen it fail (I need to use ovftool to automate deployment).

 

Any help would be greatly appreciated.

 

Thanks


Viewing all articles
Browse latest Browse all 34499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>