VMware Cloud Foundation SDDC manager tasks "Fetching subtask info..." shows as running, but the task is stuck at 0%
search cancel

VMware Cloud Foundation SDDC manager tasks "Fetching subtask info..." shows as running, but the task is stuck at 0%

book

Article ID: 318890

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

After a VCF upgrade, in some situations the task panel may display "Fetching subtask info..." and the progress indication is stuck at 0%.

This article will help cleanup these tasks from the task panel and avoids any confusion that it may be causing.

or

Cause

This can happen in a scenario where the bundle associated with the upgrades are cleaned up. The bundle_cleanup script has the logic to delete the task registration data, but it seems like the tasks were not successfully cleaned up.

Resolution

Below is a method to clean up a task:

  • On a SDDC manager terminal session, run the following command: curl -s -X DELETE localhost/tasks/registrations/<taskid>

          Note: The <taskid> below can be obtained by hovering over the task that got stuck in the task panel. You can also find the <taskid> from the browser URL

  • Execute /opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh to restart SDDC services if task doesn't list a taskid.