Alert: Adapter instance object has error status on VCF object(s)
search cancel

Alert: Adapter instance object has error status on VCF object(s)

book

Article ID: 324154

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This Article provide steps that will prevent this alert from triggering when API calls from VCF to Aria Operations are taking time

  • Receiving an alert 'Adapter instance object has error status' triggering on VCF object(s)
  • Status of the adapter instance shows as OK
  • In /storage/log/vcops/logs/Adapters/VCFAdapter/vcfadapter.log file  you can see similar errors :
    'Error occured in InventoryProcessor. Reason: Request is taking longer time than expected, please try again in sometime com.vmware.vrops.adapter.vcf.exception.VcfException: Request is taking longer time than expected, please try again in sometime'



Environment

VMware Aria Operations 8.x

Cause

Slow API queries from VCF adapter in Aria Operations to VCF

Resolution

Important: Take snapshots of each of the VMware Aria Operations nodes before applying any of the steps below How to take a Snapshot of VMware Aria Operations.

  1. SSH to master node as root
  2. run "systemctl stop collector"
  3. Edit the file "vi /usr/lib/vmware-vcops/user/plugins/inbound/VcfAdapter/conf/config.properties"
  4. Remove the entry "api.connection.timeout=30"
  5. Add the entry "connection.timeout=120"
  6. Save the file
  7. Run "systemctl start collector"
  8. Repeat step 7 on all other node(s) that are running or will run the VCF adapter