[9.1.1] Region Quota deletion fails after upgrading VMware Cloud Foundation Automation from 9.0.x to 9.1.x
search cancel

[9.1.1] Region Quota deletion fails after upgrading VMware Cloud Foundation Automation from 9.0.x to 9.1.x

book

Article ID: 453765

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • After upgrading VMware Cloud Foundation (VCF) Automation from 9.0.x to 9.1.x, deleting a Region Quota that existed before the upgrade fails.
  • Delete task (DELETE https://VCFA_FQDN/cloudapi/vcf/virtualDatacenters/urn:vcloud:virtualDatacenter:UUID) are Accepted (HTTP 202) but the background Task fails.
  • When you perform a DELETE the status transitions to NOT_READY and then reverts to a READY state. Retrying does not help.
  • Region Quotas created after the upgrade are not affected.

Environment

VMware Cloud Foundation Automation 9.1.1

Cause

As part of the 9.0.x-to-9.1.x upgrade, storage class configuration data belonging to existing Region Quotas is migrated to a new internal data structure introduced in 9.1.

The upgrade process copies this data forward but does not remove the original copy, leaving old, unused storage class records behind for any Region Quota that had one prior to the upgrade.


That leftover record is is then processed by stricter validation during the Region Quota's delete-cleanup step, causing the deletion to fail.

Resolution

The issue only occurs on environments that were upgraded from VCF Automation 9.0.x to 9.1.1.
Only affects Region Quotas that were created before that upgrade and had at least one storage class assigned to them at the time.

To confirm if you are impacted

  1. Connect to one of the VCF Automation control plane nodes
  2. Connect to the VCF Automation database
    • psql -U postgres tenantmanager
  3. Confirm the leftover record exists for this Region Quota

SELECT lr.id AS logical_resource_id,
lr.name AS storage_class_name,
lr.lr_limit AS legacy_limit_mib,
sc.limit_mib AS migrated_limit_mib,
lr.vdc_id AS org_prov_vdc_id
FROM vdc_logical_resource lr
JOIN vcf_vdc_storage_class sc ON sc.id = lr.id
WHERE lr.lr_type = 'STORAGE_CLASS'
AND sc.virtual_datacenter_id = '<region-quota-id>'
ORDER BY lr.name;

To resolve this issue, contact Broadcom Support and note this Article ID (453765) in the problem description. For more information, see Creating and managing Broadcom cases.

Additional Information

No data loss occurs as a result of hitting this issue itself: the failed delete operation is fully rolled back, so the Region Quota and its resources remain intact and usable until the deletion is successfully retried. This issue does not affect the creation, use, or update of Region Quotas — only deletion of Region Quotas created prior to the 9.0.x-to-9.1.x upgrade.