Credential-less Service Discovery is not working post VMTools 13.0.5 upgrade
search cancel

Credential-less Service Discovery is not working post VMTools 13.0.5 upgrade

book

Article ID: 408979

calendar_today

Updated On:

Products

VCF Operations VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

After upgrading VMware Tools to version 13.0.5, users may observe that the Service Discovery Adapter fails to discover services in credential-less mode.

Prior to the upgrade, credential-less discovery worked as expected.

Post-upgrade, the discovery process either does not initiate or terminates prematurely, resulting in incomplete or missing service data.

In the Events log in vCenter for the affected virtual machines, you may see this error:

  • com.vmware.vc.guestOperations.GuestOperationAuthFailure

Environment

VCF Operations 9.0.x
Aria Operations 8.18.x

Resolution

It's advisable to take snapshots of vCenter VM as per Snapshot Best practices for vCenter Server Virtual Machines before proceeding with steps below:

Steps to delete com.vmware.vrops.sdmp from vCenter MOB:

  1. Open a browser and navigate to:

    https://<vcenter-ip>/mob/?moid=namespaceManager&vmodl=1

  2. From the list of methods, select deleteNamespace
  3. In the input fields, provide:

    vm: MOID of the target VM (this can be retrieved from the Virtual Machine Object properties)
    Name: com.vmware.vrops.sdmp
  4. Scroll down and click Invoke Method
  5. If the deletion is successful, the response will show:
    Method Invocation Result: void
  6. Restart the Service Discovery Adapter Instance from Aria Operations Manager

Additional Information

In case there are more than a single VM that needs to be fixed, you can also run below script : delete_sdmp_namespaces.py

It's advisable to take snapshots of vCenter VM as per Snapshot Best practices for vCenter Server Virtual Machines before proceeding with steps below:

To run the script follow below steps : 

  1. Copy the script on a machine that has Python installed
  2. Run following command : python delete_sdmp_namespaces.py
  3. It will prompt:
    1. Host destination, provide FQDN for vCenter
    2. Username, provide vCenter username
    3. Password, provide vCenter password
  4. If it is successful It will show 'Done'

Note : In case of Error: 'requests' module not found, install requests module by running pip install requests

Attachments

delete_sdmp_namespaces.py get_app