RKuchukbaev
Enthusiast
Enthusiast

Unable to copy big ISO image into catalog

Hello there!

Recently, there was a problem: when I try to upload big ISO image (greater than 2Gb) - tranfer process fail. Small images transfer (I transferred 100Mb ISO image into vCloud) is success. How can I resolve it?

Java console error log:

network: Connecting https://vcloud.dom.loc/api/v1.0/vdc/429162374/media with proxy=DIRECT
network: Connecting http://vcloud.dom.loc:443/ with proxy=DIRECT
network: Connecting https://vcloud.dom.loc/api/v1.0/catalog/1949987102/catalogItems with proxy=DIRECT
network: Connecting http://vcloud.dom.loc:443/ with proxy=DIRECT
network: Connecting http://vcloud.dom.loc:443/ with proxy=DIRECT
network: Connecting http://vcloud.dom.loc:443/ with proxy=DIRECT
network: Connecting http://vcloud.dom.loc:443/ with proxy=DIRECT
[2011-01-24 13:09:04,226] ERROR [com.vmware.vcloud.transfer.client.impl.ImageTransferSessionImpl] Transfer failed. Source File: 'C:\Users\user\Downloads\8.1-RELEASE-i386-all\FreeBSD-8.1-RELEASE-i386-dvd1.iso', Destination: 'https://vcloud.dom.loc:443/transfer/432bd212-f7a6-463d-9462-824efa7db884/file', Response Code: -1, Response Message: ''
java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer(Unknown Source)
    at com.sun.net.ssl.internal.ssl.OutputRecord.write(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecordInternal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.write(Unknown Source)
    at com.vmware.vcloud.common.http.ProgressReportingRequestEntity.writeRequest(ProgressReportingRequestEntity.java:183)
    at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at com.vmware.vcloud.transfer.client.impl.ImageTransferSessionImpl.transfer(ImageTransferSessionImpl.java:267)
    at com.vmware.vcloud.transfer.client.impl.ImageTransferSessionImpl.call(ImageTransferSessionImpl.java:154)
    at com.vmware.vcloud.transfer.client.impl.ImageTransferSessionImpl.call(ImageTransferSessionImpl.java:39)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

0 Kudos
2 Replies
WillL
Enthusiast
Enthusiast

Make sure the transfer folder on vCD server is large enough, default location is /opt/vmware/cloud-director/data/transfer

0 Kudos
RKuchukbaev
Enthusiast
Enthusiast

Free space is more than enough: df -h on vCloud director server

Filesystem                                              Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00            11G  2.3G  7.8G        23% /             <======= here
/dev/sda1                                                 99M   13M   82M     14% /boot
tmpfs                                                   1006M     0     1006M   0% /dev/shm
/dev/hdc                                                 3.5G     3.5G     0      100% /media

0 Kudos