VMware Cloud Community
pgk1
Contributor
Contributor

VcoPlugin.importOvf() is failing to upload ova from S3 bucket.

VcoPlugin.importOvf(url, hostSystem, 'testFolder', 'testTemplate' , networks, datastore, props);

It creates the folder testFolder in vCenter , later takes long time and terminates with below error.

2015-07-28 18:07:07.209+0000 [WorkflowExecutorPool-Thread-52382] INFO {pgk:import:aa9955c2-ae45-4582-a00e-26f2668270f5:ff8080814e9cf0b1014ed5d11f9c217f} [SCRIPTING_LOG] com.vmware.v

im.vmomi.core.exception.MarshallException: com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output

2015-07-28 18:07:07.209+0000 [WorkflowExecutorPool-Thread-52382] WARN {pgk:import:aa9955c2-ae45-4582-a00e-26f2668270f5:ff8080814e9cf0b1014ed 5d11f9c217f} [WorkflowItemTaskRunner] Scr ipt execution error on workflow : import / 'Scriptable task'(item1) :

com.vmware.vim.vmomi.core.exception.MarshallException: com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output


Please let me know is anything wrong here. Also let me know if you need any other details. https://communities.vmware.com/docs/DOC-25307 used this vCenter plugin.

Tags (3)
0 Kudos
2 Replies
dvatov
VMware Employee
VMware Employee

I think this method is only for ovf import. It will not work with ova.

0 Kudos
pgk1
Contributor
Contributor

Sure let me try by importing ovf. Thanks.

0 Kudos