Hi,
We have vCenter 7.0U3c and I created a new cluster object and added few ESXi hosts to it. I have removed the ESXi hosts from the cluster but unable to delete the cluster object from inventory. It throws error as below,
The operation is not allowed in the current state. Cannot remove vSphere cluster because it failed to check if vSphere namespaces are enabled.
We don't have any namespaces defined in our vCenter. Any suggestions on this before I reach out to support?
Thanks in advance
Regards,
Satish
We know in vSphere7.x introduced the feature vSphere supervisor Kubernetes cluster(WCP).
i.e Converting vSphere cluster into WCP supervisor cluster.
In deleteCluster operation, even if WCP is not enabled in the vSphere cluster but vc service(vpxd) will call wcp service to check if the cluster has WCP supervisor enabled.
Maybe at that time wcp service is down/stuck responding to vpxd , because wcp internally depends on some other services like vmon,content-library services...
So better check the wcp service status and its logs(both vpxd , wcp) for any errors.i.e,
To check the status of the vcenter services:
> service-control --status --all
Log locations:
VPXD >/var/log/vmware/vpxd/vpxd.log
WCP > /var/log/vmware/wcp/wcpsvc.log
My suggestion take the backup of vCenter(snapshot..) and check the status of the services/logs, based on that restart the services (like wcp , vmon..) . Afterwards, try to delete the vSphere cluster.
Thanks doskiran
Well it explains now. we are having issues with wcp as the host enter/exit maintenance mode operations are also failing due to namespace error. Seeing errors as documented in (https://kb.vmware.com/s/article/88508). I hope once we get this wcp issue fixed (ongoing case with vmware), that should also fix the cluster delete issue.
Just to give an update..issue fixed after implementing fix as per https://kb.vmware.com/s/article/88508
Try logging onto VAMI (vSphere Appliance Management), go to Services --> Start the "Workload Control Plane" service. Then come back to the vCenter and try deleting the cluster.
