Usage Meter 3.6.1 and vRealize Operations 8.1 Authentication

On our VMware Cloud Provider Partner Slack workspace, a question came up on why Usage Meter 3.6.1 (UM) was failing to connect to a newly deploy vRealize Operations (vROps) 8.1 instance.

The failure message that was being received was “incorrect username or password”, even though the credentials were correct. Firewall rules were not blocking accessibility.

In my lab environment, I had vROps 8.0 working successfully –

I upgraded my vROps instance, and attempted to recreate this issue.

I started to receive the following errors (please disregard the version detection, this seems to always be quirky) –

Changes in vROps Authentication

Starting with vROps 8.1, basic authentication via the API is disabled. Usage Meter 3.6.1 utilizes a local account for metering purposes and does this through the API. Therefore, one must re-enable basic authentication via the API.

The VMware Knowledge Base article depicts this scenario, but here are the steps required.

Procedure

  1. Log into the vRealize Operations Manager Master node as root via SSH.
  2. Open /usr/lib/vmware-vcops/user/conf/api-conf.properties in VI.
  3. Change the basicAuthentication.enabled property value to true.
    1. Example: basicAuthentication.enabled=true
  4. Save and close the file.
  5. Restart the REST API service:
service api restart
  1. Repeat steps 1-5 on all other nodes in the vRealize Operations Manager cluster.

Resolution

Finally, after applying the changes to my environment, vROps metering is now operational.

Enjoy!

-Daniel

4 thoughts on “Usage Meter 3.6.1 and vRealize Operations 8.1 Authentication”

  1. Fixed it for me also. (After I just spent 2 hours on a call with vmware, removing and re-adding adapters. Thanks!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: