Plug-in Already Registered

The remote plug-in registration script fails.

Problem

The plug-in registration script reports an error. If you overlook the error, the plug-in does not appear in the object navigator and the plug-in is not listed in the vSphere Client under Admin > Client plugins.

Cause

The extension key was previously registered with the Extension Manager. The Extension Manager rejects a new registration with a duplicate value in the extension key property.

The extension-registration.sh or extension-registration.bat script reports a message similar to the following:

Client received SOAP Fault from server: A specified parameter was not correct: extension.key

Solution

  1. Connect a web browser to the Managed Object Browser (MOB) of the vCenter Server with which you attempted to register the plug-in.

    The MOB URL is https://vcenter_server_FQDN/MOB.

  2. To view the ServiceContent data object click the content link.
  3. To view the ExtensionManager managed object click the ExtensionManager link.
  4. In the extensionList values, search for the extension key that you used in your registration command.

    The more... link enables you to see more of the list of extension keys.

  5. If you find the extension key in use, use a different key or unregister the extension key before you retry the extension registration script.