Hi,
I am trying the Import-CIVAppTemplate command in PowerCLI for vCloud Director and it is failing as below after some 15% completion.
The vAppTemplate import never succeeds after this error.
I am trying PowerCLI on Windows 7.
Any help to overcome this issue will be of great help.
Import-CIVAppTemplate : 3/21/2014 10:30:19 AM Import-CIVAppTemplate An attempt was made to move the file pointer before the begin
ning of the file.
At C:\powercli\vapp1.ps1:3 char:67
+ Import-Csv 'C:\powercli\vapp1.csv' | foreach{Import-CIVAppTemplate <<<< -Name $_.TempName -OrgVdc $_.OrgVdc -Catalog $_.Catalog -SourcePath $_.SourcePath }
+ CategoryInfo : NotSpecified: (:) [Import-CIVAppTemplate], CIException
+ FullyQualifiedErrorId : CloudImpl_VAppTemplateServiceImpl_ImportVApp,VMware.VimAutomation.Cloud.Commands.Cmdlets.ImportCIVAppTemplate
ExtensionData : VMware.VimAutomation.Cloud.Views.VAppTemplate
Status : DiskContentsPending
Published : False
IsGoldMaster : False
Created : 3/21/2014 10:25:43 AM
StorageUsedGB : 8
Catalog : R22C1
Owner : system
OrgVdc : R22Org
CustomizeOnInstantiate : True
Description :
StorageLease : 30.00:00:00
Href : https://xysasaa.example.csc/api/vAppTemplate/vappTemplate-640e81ba-7891-4417-ad3f-7f8a2d91f631
Id : urn:vcloud:vapptemplate:640e81ba-7891-4417-ad3f-7f8a2d91f631
Name : r1vapptemplate