Tanzu Hub app count discrepancy due to Orphaned Apps shown on Hub App List
search cancel

Tanzu Hub app count discrepancy due to Orphaned Apps shown on Hub App List

book

Article ID: 429909

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

  • The Hub Apps page may display an inaccurate total app count. In this example, it shows 29,571 apps, even though only 24 Foundations are configured and filtering each Foundation individually has no more than 60 apps per Foundation. This difference indicates the presence of orphaned or stale entries.

  • In other instances, users have seen a less obvious discrepancy between the "Total" app count and the sum of "Running" "Stopped" and "Down" apps.

Environment

Tanzu Hub v10.4

Cause

The root cause is a defect in the Hub Collector's CurrentDroplet namespace controller. The controller was updated to explicitly handle delete change events for CurrentDroplet objects. However, this introduced a conflict where both the new CurrentDroplet namespace controller and the existing Application controller were independently processing delete change events for the same objects which resulted in stale application records.

A secondary contributing factor is that if collectors are placed in a disconnected state and not explicitly removed, their previously reported app counts are still reflected in the total displayed on the Apps page.

Resolution

This will be fixed in a future release of Tanzu Hub 10.4.