Hi all,
A while back we had some issues with our VCD environment where there were some communication issues between VCD and vCenter. Those have been resolved now, but I'm stuck with an expired vApp that failed to create during that time. The problem is that I can't delete the vApp. The line in the list of expired vApps is grey, too, and the Delete action doesn't have any effect.
Via PowerCLI, I'm able to see the vApp and it has a status of UNRESOLVED. The PowerCLI vApp object doesn't report having any children. I was able to track down the child VMs and delete them using PowerCLI sucessfully. But, I still can't get the vApp to delete. When I try to do that in PowerCLI, I get the following error:
PowerCLI C:\> $vapp.ExtensionData.Delete()
Exception calling "Delete" with "0" argument(s): "class java.lang.NullPointerException"
At line:1 char:27
+ $vapp.ExtensionData.Delete <<<< ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
or
PowerCLI C:\> remove-civapp $vapp
Confirm
Are you sure you want to perform this action?
Performing operation "Remove vApp" on Target "Lab Deployment 10.2 SP1 - Cluster".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Remove-CIVApp : 11/27/2013 8:45:17 AM Remove-CIVApp INTERNAL_SERVER_ERROR: class java.lang.NullPointerException
At line:1 char:14
+ remove-civapp <<<< $vapp
+ CategoryInfo : NotSpecified: (:) [Remove-CIVApp], CIServerException
+ FullyQualifiedErrorId : CloudImpl_TaskResultConverter_TryConvert_ErrorResult,VMware.VimAutomation.Cloud.Commands.Cmdlets.RemoveCIVapp
So, does anyone have any thoughts on how to get rid of this vApp?
Thanks,
Jason