Cannot delete Guest Introspection Service Deployment
book
Article ID: 343362
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
To resolve this issue, delete the EAM agency of the non-existent cluster manually.
Symptoms:
- Guest introspection Service Deployment lists a non-existent cluster.
- Deleting the Service Deployment from the vSphere web client fails with the error similar to:
Invalid cluster id: null
Environment
VMware NSX for vSphere 6.0.x
VMware NSX for vSphere 6.2.x
VMware NSX for vSphere 6.3.x
VMware NSX for vSphere 6.1.x
VMware NSX for vSphere 6.4.x
Cause
This issue occurs when a cluster in which Guest Introspection deployed is manually deleted before removing the Guest Introspection deployment.
Resolution
To resolve this issue, delete the EAM agency of the cluster manually:
- Access the EAM MOB through https://vCenter_IP/eam/mob/ and view the existing agency IDs.
- Make a note of all the agency values in the Properties table.
- Click on the first agency value in the Properties table.
- Click config.
- Make a note of the agency name.
- Click scope.
- Make a note of the computeResource value.
- Repeat steps from #2 to #7 for each agency listed to note the agency value, agencyName, computeResource values.
- Log in to the NSX manager through SSH shell.
- Run this command:
show cluster all
You see the output with all domain-cXX ids and corresponding computeResource IDs.
- Delete the agency whose computeResource is not present in the vCenter Server.
Note: computeResource values present in vCenter Server are not in step #7 and #8.
To delete the agency:
-
- In the EAM MOB, select the agency that must be deleted.
- Click DestroyAgency.
- Click Invoke Method to delete agency.
Feedback
thumb_up
Yes
thumb_down
No