I've the issue with importing vm from vsphere into existing vapp in vcloud director (8.0)
the following message error when i use import-civapp ...
Import-CIVApp, the vSphere server with UUID ...... is not found on this cloud Instance.
And yet I am sure that the vCenter I use is good
Any Idea ?
Code:
Connect-VIserver .... Connect-CIServer ... $vm=Get-VM test Get-CIVapp $vappName | Import-CIVApp $vm
Piece of code and errors:
Connect-VIserver $vcserver
Connect-CIServer $vcdserver
$vappName=GOLD
$vmname=ITGOLD
Get-CIVapp $vappName|Import-CIVApp (Get-VM -Name $vm) -ComputerName $vmname -VMName $vmname -NoCopy:$True -RunAsync
Import-CIVApp : 14/02/2016 17:31:34 Import-CIVApp The vSphere server with UUID '57DFE857-C895-4CC0-A74E-B2399C88C70B' was not found on
this cloud instance.
Line:1 : 22
+ Get-CIVapp $vappName|Import-CIVApp (Get-VM -Name $vm) -ComputerName $vmname -VMN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (57D0E857-C995-4CC0-A74E-B2399C77C70B:String) [Import-CIVApp], CIVSphereServerNotFoundException
+ FullyQualifiedErrorId : Cloud_VAppTemplateServiceImpl_ImportVmAsVAppTemplate,VMware.VimAutomation.Cloud.Commands.Cmdlets.ImportCIVApp
I take a look ad vcloud database, the reference is as follows 57DFE857-C895-4CC0-A74E-B2399C88C70B
Log a call with VMWare, there is a stale entry in your vCloud Director Database. Did you rebuild Virtual Center by any chance?
Surely.
I don't rebuild VC
I will open a case with VMware,
Hi, any progress in this case?
I have the same issue in our environment.
vCenter 6.0.2776510
vCloud Director 8.0.0.3017494
VMware vSphere PowerCLI 6.3 Release 1 build 3639347
---------------
Component Versions
---------------
VMware Cloud Infrastructure Suite PowerCLI Component 6.3 build 3639341
VMware vSphere PowerCLI Component 6.3 build 3639341
VMware VDS PowerCLI Component 6.3 build 3639341
VMware vCloud Director PowerCLI Component 6.3 build 3615264
Hi all,
I was wondering whether you've had any updates on this. Run into the same problem ourselves and VMware are currently investigating.
They suggest the issue may be with PowerCLI working in uppercase, while the vCloud DB is set to case sensitive collation.
Example:
vCenter server UUID in vCloud DB is: ddd7f96c-8ed1-434e-82dc-a3276a5b7788
Error message we're getting in PowerCLI is: The vSphere server with UUID 'DDD7F96C-8ED1-434E-82DC-A3276A5B7788' was not found on this cloud instance.
Thanks