VMware Cloud Community
RKuchukbaev
Enthusiast
Enthusiast

Unable to copy ISO/vApp into catalog

Hi all!

Well, I created demo organization in my vCloud. After that I logged in by org administrator. Then created a directory. Switch to media and tried to download ISO image inside. So, it was fail: Transfer failed.

That's logs from java consonsole:

Trace level set to 5: all ... completed.
network: Connecting https://vcloud.example.ru/api/v1.0/vdc/1533341661/media with proxy=DIRECT
network: Connecting http://vcloud.example.ru:443/ with proxy=DIRECT
network: Connecting https://vcloud.example.ru/api/v1.0/catalog/320241594/catalogItems with proxy=DIRECT
network: Connecting http://vcloud.example.ru:80/ with proxy=DIRECT
network: Connecting http://vcloud.example.ru:80/ with proxy=DIRECT

And a lot of debug messages in vSD log files, but no one error. Why my transfers failed?

Reply
0 Kudos
3 Replies
RKuchukbaev
Enthusiast
Enthusiast

Uploaded images has status pending in vCloud console. But I cannot find it in datastore.

Found some records from vcloud-container-debug.log

==========================

2010-12-20 15:32:54,292 | DEBUG    | pool-jetty-13             | TransferServerManagerImpl      | Local transfer server URL: http://vcloud.example.ru:80/transfer |
2010-12-20 15:32:54,309 | DEBUG    | pool-jetty-13             | BackendEventBuilder            | class com.vmware.vcloud.backend.event.CatalogItemEventBuilder: no HttpInfo found while building event: Event [id=ce711851-b60a-49e2-9805-fe3b1016629c, timestamp=1292848374309, type=com/vmware/vcloud/event/catalogItem/create, properties={
        currentContext.org.name=Demo,
        currentContext.user.id=1613553513,
        catalogItem.description=,
        catalogItem.catalog.id=320241594,
        entity.type=com.vmware.vcloud.entity.catalogitem,
        currentContext.login.user.id=1613553513,
        currentContext.user.name=demo,
        currentContext.org.id=1595137271,
        currentContext.success=true,
        catalogItem.catalog.name=Demo storage,
        currentContext.login.org.id=1595137271,
        catalogItem.name=test,
        catalogItem.properties=null,
        entity.name=test,
        entity.id=481479731,
        catalogItem.id=481479731,

}] |
2010-12-20 15:32:54,358 | DEBUG    | pool-jetty-13             | JaxRsDispatcherServlet         | Successfully completed request |
2010-12-20 15:32:54,436 | DEBUG    | pool-jetty-13             | AuthorizationMethodInterceptor | Authorizing method: public abstract com.vmware.vcloud.api.presentation.entity.vdc.ResourceEntitySpec com.vmware.vcloud.api.presentation.service.VdcService.getResourceEntitySpec(com.vmware.vcloud.api.presentation.entity.common.EntityRef) throws com.vmware.vcloud.api.presentation.service.PresentationException. |

==================================================

Hmmm. I'm interesting the "Local transfer server URL: http://vcloud.example.ru:80/transfer" what does it mean? Why man of http://communities.vmware.com/thread/289428 post was a different result "Local transfer server URL: https://xxx.xxx.xxx.xxx:443/transfer"? How can I change this value?

Reply
0 Kudos
admin
Immortal
Immortal

When you upload a vApp template or media to VCD it stages it in the local file system ($VCLOUD_HOME/data/transfer) prior to importing it into vSphere, so you won't see it in vSphere until the upload is complete and has passed through quarantine (assuming the quarantine service is enabled, it's not by default).

Did you set the REST API base URI setting in Administration -> Public Addresses?  If so, did you inadvertently include the port number in the URI?  If so, remove it and restart the cell.

The errors in the thread you referenced were due to someone changing the IP addresses used by the VCD service; did you attempt to do the same?

In general, when uploading or downloading files you'll want to look at the Java console or applet logs (as you've done).  Once the upload is mostly complete or complete-but-pending you'll want to look at the server-side logs (vcloud-container-*.log).

RKuchukbaev
Enthusiast
Enthusiast

BIG THANX!!!

How could I forget about it ((((

=====================

Did you set the REST API base URI setting in Administration -> Public  Addresses?  If so, did you inadvertently include the port number in the  URI?  If so, remove it and restart the cell.

=====================

Reply
0 Kudos