Task status reporting is not consistent across all components in 9.1
search cancel

Task status reporting is not consistent across all components in 9.1

book

Article ID: 435564

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

When Commissioning hosts, the task in vCenter may not get updated for a few minutes after the task completes. VCF Ops and SDDC manager may show the task as completed but, vCenter shows the task is 10% completed and then completes a few minutes later. Since, these all cannot be true. 

Environment

VCF 9.1

Cause

The VCF Ops UI and SDDC Manager standalone UI fetch the status from the operations manager service inside SDDC Manager VM so, they get the up to date status.

The Operations Manager service only periodically publishes tasks to vCenter task system. The interval is configurable and currently set to 5 mins.

This is working as designed/implemented to handle large scale deployments

Resolution

If near up to date data is required, The interval can be changed to a minimum of 1 min. (But should avoided in a large scale environment becuase the common services service can become stressed).

  1. Shh into the SDDC manager appliance and log in with the vcf user.
  2. Elevate to root with the su - command
  3. Edit /etc/vmware/vcf/operationsmanager/application.properties
    vi /etc/vmware/vcf/operationsmanager/application.properties
  4. Type i to enter insert more to add the following
    ask.publish.cron.delay.minute = 1
  5. Hit escape and then :x to save and exit
  6. Restart operationsmanager
    systemctl restart operationsmanager