Error “not found error” while deleting zerto plugin in vCenter
search cancel

Error “not found error” while deleting zerto plugin in vCenter

book

Article ID: 374062

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:

 

  • When trying to repair zerto software from its installer, , you get the error “not found error” while installer is deleting zerto plugin in vCenter.
  • Prior to the issue vCenter Server had been repointed to another SSO Domain
  • in vpxd.log file you can see lines similar to:

<timestamp> info vpxd[09742] [Originator@6876 sub=MoExtensionMgr opID=62c2afe5] Clearing data for com.zerto.plugin
<timestamp> info vpxd[09742] [Originator@6876 sub=MoExtensionMgr opID=62c2afe5] Unregistering extension with extensionKey = com.zerto.plugin by user: DOMAIN/Username

<timestamp> warning vpxd[09742] [Originator@6876 sub=LSClient opID=62c2afe5] Service registration stub privilege error during lookup service RPC: N5Vmomi5Fault13SecurityError9ExceptionE(Fault cause: vmodl.fault.SecurityError
--> )
-->

  • in lookupserver-default.log file you can see lines similar to:

[<timestamp> pool-2-thread-5 INFO  com.vmware.vim.lookup.vlsi.ServiceRegistrationImpl] User: {Name: vpxd-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxx, Domain: SSO_DOMAIN} attempted to create service with duplicate ID: XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX_com.zerto.plugin

 

  • Checking services registration with lstool.py, you can see that service owner ID is  OLD_SSO_DOMAIN , which is not your SSO Domain

/usr/lib/vmware-lookupsvc/tools/lstool.py list --url http://localhost:7090/lookupservice/sdk

       Name: com.zerto.plugin.label
        Description: com.zerto.plugin.summary
        Service Product: com.vmware.cis
        Service Type: com.zerto.plugin
        Service ID: XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX_com.zerto.plugin
        Site ID: SITE_ID
        Owner ID: vpxd-xxxx-xxxx-xxxx-xxxx-xxxxxxxxxx@OLD_SSO_DOMAIN

Environment

  • VMware vCenter Server 7.x

Resolution

  •  BACKUP vCenter Server

https://knowledge.broadcom.com/external/article/313886/vmware-vcenter-in-enhanced-linked-mode-p.html

When using multiple vCenters in the same Single Sign on Domain (Enhanced Linked Mode), there is high potential of corruption of the domain if no offline snapshots are taken of all nodes before the changes. 

If a change must be reverted, all nodes of the Enhanced Linked Mode domain have to be restored back to this offline/consistent snapshot. All nodes must be reverted to the snapshots first, before powering any on.

 

  • Unregister the com.zerto.plugin service via mob

 

1/ Log in with vCenter Server credentials to

https://<vCenter_Server_address>:443/lookupservice/mob/?moid=ServiceRegistration&method=List&vmodl=1.

 

2/ To search for zerto registration, replace the value in the Value field with the following text and click Invoke Method.

<filterCriteria> 
<siteId></siteId> 
<nodeId></nodeId> 
<serviceType> 
<product></product> 
<type>com.zerto.plugin</type> 
</serviceType> <endpointType> 
<protocol></protocol> 
<type></type> 
</endpointType> 
</filterCriteria>

 

3/ Look for the old zerto registration and copy its serviceId value (e.g. XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX_com.zerto.plugin)

4/ Navigate to https://<vCenter_Server_address>:443/lookupservice/mob/?moid=ServiceRegistration&method=Delete

5/ To delete the service registration, enter the serviceId (e.g. XXXXXX-XXXX-XXXX-XXXX-XXXXXXXX_com.zerto.plugin)value and click Invoke Method.

 

  • Repair zerto software from the installer

Additional Information