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

VMware Cloud Foundation SDDC manager tasks 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 maybe causing.


Symptoms:

The task panel in SDDC manager displays "Fetching subtask info..." and the progress indication is stuck at 0%.


Environment

VMware Cloud Foundation 4.1
VMware Cloud Foundation 4.4
VMware Cloud Foundation 4.3
VMware Cloud Foundation 4.2
Vmware Cloud Foundation 4.5

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 weren't successfully cleaned up.

Resolution

This issue is resolved with the release of VCF 4.4 version.


Workaround:
Below is a method to cleanup 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.