Stalled VCF Automation Precheck / Upgrade Tasks in Fleet Lifecycle (VCF 9.1)
search cancel

Stalled VCF Automation Precheck / Upgrade Tasks in Fleet Lifecycle (VCF 9.1)

book

Article ID: 458277

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

1. Upgrades from VMware Cloud Foundation (VCF) 9.1 to 9.1.1 are blocked by stalled Fleet Lifecycle tasks.

2. PRECHECK tasks (specifically AUTOMATION_PRECHECK_91 and VSP_COMPONENT_PRECHECK) remain in a RUNNING state indefinitely with endTime: null.

3. The Fleet Lifecycle API reports the tasks as cancellable: false.

4. Restarting the vcf-fleet-upgrade-service-fleetupgrade worker pod does not clear the persisted task states.

5. Upstream workflows report failures such as "Backup precheck failed. Timed out waiting for in-progress package deployments to complete: vcfa-bundle."

Environment

VCF 9.1.x

Cause

This issue is caused by a cascading dependency failure that freezes the underlying Argo workflows and blocks the vcfa-bundle package deployment:

Fluentd Buffer Accumulation: The cluster initially encounters a VCFMS-HEALTH-002 error due to full buffer storage on logging-operator-fluentd pods, causing readiness probes to fail and stalling initial workflows (KB 453365).

Service Routing Misconfiguration: An unmatched selector on the VCF Automation health-status Service prevents the prelude deployer from reaching a ready state.

cert-manager Resource Collision: Internal TLS certificates (Resource Manager, Intent, Policy View, Account Manager, Policy Engine) expire. cert-manager scheduling is blocked by stale -2 CertificateRequest objects, preventing automated renewal. Pods may show 1/1 Ready but fail internal TLS handshakes (KB 451851, KB 455815).

Resolution

To resolve the issue: 

Step 1: Remediate Fluentd Buffers

1. Identify non-ready logging-operator-fluentd pods.

2. Clear accumulated files under the /buffers directory on the affected pods.

3. Restart or recreate the affected pods and confirm they recover to a healthy 2/2 Running state.

 

Step 2: Correct Service Routing

1. Inspect the VCF Automation health-status Service.

2. Remove any unmatched selectors that do not correspond to the intended pods.

3. Verify the Service restores its ready endpoints and the prelude deployer reaches Ready: True.

 

Step 3: Clear Blocked Certificate Requests
Warning: Do not bulk-delete Certificate objects or TLS Secrets, as this breaks existing trust chains.

1. Identify services failing internal TLS handshakes (e.g., Resource Manager, Intent, Policy View, Account Manager, Policy Engine).

2. Export the existing, stale CertificateRequest manifests (those appending -2 to the name) to a YAML backup file.

3. Delete only the specific blocking -2 CertificateRequest objects to allow cert-manager to issue new requests.

4. Verify the new Certificates reach a Ready state with an updated revision number.

 

Step 4: Verify Cluster Reconciliation

1. Monitor application logs to ensure pods successfully establish internal TLS connections.

2. Confirm the internal deployment is complete:

     vksm-stack reaches READY=True

     vcfa-bundle reaches PHASE=Successful

 

Step 5: Retry the Fleet Lifecycle Task

1. Do not manipulate the VMSP database directly.

2. Navigate to the VCF Operations UI.

3. Select Retry on the existing failed VCF Automation Upgrade task. The Fleet worker will poll the now-healthy cluster state, recognize the completed package deployments, and proceed with the upgrade (KB 453880).

 

Additional Information

Note: The standard VMSP task cleanup utility (cleanup_component.py) is explicitly unsupported for resolving VCF Automation upgrade failures due to the risk of external state desynchronization (KB 441333).

KB 441333: VCF Automation Upgrade Failure cleanup supportability

KB 453365: VCFMS-HEALTH-002 / Fluentd buffer accumulation blocking lifecycle prechecks

KB 451851: Internal VCF Automation certificate expiration behaviors

KB 455815: cert-manager resource collisions following restorations and upgrades

KB 453880: Managing and retrying stalled Fleet Lifecycle and VMSP upgrade workflows