An administrator has been tasked with the deletion of a workload domain within a VMware Cloud Foundation (VCF) instance. The following information has been provided:
* There are two workload domains and a management domain within the VCF instance.
* There is a single vSphere cluster within the workload domain to be deleted.
* There are no user created Virtual Machines in the workload domain cluster.
When performing the deletion in VCF Operations, the task fails at the Gather input for deletion of NSX component stage. The administrator checks the details of the failed task and notices the cause of the error is stated as Cannot read the array length because "
What could be the possible cause of this error message?
In VMware Cloud Foundation, deletion of a workload domain requires that VCF Operations can correctly discover and process the NSX components attached to that domain. The workload domain delete workflow explicitly includes removal of the NSX Manager and NSX Edge components associated with the domain, unless those NSX components are shared.
In earlier and current VCF guidance, VMware state that NSX Edge clusters for a workload domain must be removed using the documented/VCF-aware method (for example, using the NSX Edge removal process referenced in KB 78635, not by deleting objects directly in NSX Manager). If an administrator deletes the NSX Edge cluster directly in NSX Manager, the VCF inventory and orchestration logic still ''believes'' the Edge cluster exists. When the workload domain delete workflow reaches the stage ''Gather input for deletion of NSX component'', it queries NSX / internal state for Edge cluster data. Because the underlying object has been manually removed, the returned structure is null, which results in an internal ''Cannot read the array length because '<locall9>' is null'' style error.
Using the NSX Edge Cluster Deployment Removal Tool as per documentation keeps VCF and NSX in sync and is the supported path, so option A is not the likely cause. Network pools and shared NSX Manager configurations do not match the specific NSX-component array/null condition described.
Chuck
5 days agoStarr
10 days agoHelene
15 days agoGracia
20 days agoNicolette
25 days agoTammy
1 month agoSunshine
1 month agoFidelia
1 month agoVirgie
2 months agoJose
2 months agoElke
2 months agoMargo
2 months agoIrma
2 months agoNathalie
2 months ago