Search the VMware Knowledge Base (KB)
View by Article ID

Cannot Create Custom Group Using Adapters That Make vRealize Operations Manager REST API Calls (2147670)

  • 0 Ratings

Details

After installing a management pack that includes an adapter which makes vRealize Operations Manager REST API calls, the process to create a custom group from within the adapter fails with an exception error. The error indicates a problem with the Java language bindings of the vRealize Operations Manager REST API. This currently applies to several management packs installed in vRealize Operations Manager 6.4.

If you think this issue applies to an adapter in your management pack, contact your VMware Ecosystems Services Partner Program Manager.

Solution

Due to a conflict between .jar files, certain adapters do not invoke the REST APIs related to custom groups correctly.  To work around the problem, edit a file to remove the code that represents the classpath for the platform-api-model.jar file.

This procedure addresses the problem for the vRealize Operations Manager Linux versions only, such as SUSE Linux Enterprise Server Virtual Appliance and Red Hat Enterprise Linux installations.

Procedure

Perform the following steps on all nodes, including the remote collector nodes.
  1. Using SSH or RDP, log in to the node as root.
  2. Stop the collector process: service vmware-vcops stop collector
  3. Change to the collector directory: cd $VCOPS_BASE/user/conf/collector
  4. Open the wrapper.conf file in a text editor.
    1. Search for the line with platform-api-model*.jar such as
      wrapper.java.classpath.29=%ALIVE_BASE%/common/lib/platform-api-model-*.jar
    2. Comment out the line.
    3. Search for the line with validation-api-*-Final.jar such as
      wrapper.java.classpath.41=%ALIVE_BASE%/common/lib/validation-api-1.1.0.Final.jar
    4. Comment out the line
  5. Start the collector process: service vmware-vcops start collector

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: