Deploy VCF Management Components workflow fails with error - Failed to discover component of type 'VCFA'
search cancel

Deploy VCF Management Components workflow fails with error - Failed to discover component of type 'VCFA'

book

Article ID: 441612

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • The upgrade from VCF 9.0.2.0 to 9.1.0.0 is in progress
  • The VCF Operations and SDDC Manager upgrades have been successful
  • The VCF Management Services and License Server components are to be deployed next
  • This deployment task fails with the following error - 

The Fleet lifecycle 'Component import' task with ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx failed. Internal errors: Failed to discover component of type 'VCFA'. '{Undefined key: detail}',

  • VCFA has been confirmed to have been deployed prior in the VCF 9.0.2.0 environment from Lifecycle in VCF Operations
  • vcf-sddc-lcm/sddc-build-service log contains entries similar to - 

YYYY-MM-DDThh:mm:ss.sssssssssZ stdout F YYYY-MM-DDThh:mm:ss.sssZ INFO  sddc-build-service xx [lcm@xxxx scPath="ops" thread="system-task-worker-xx" logger="c.b.v.l.s.b.p.v.d.Vcfa90ComponentBrowser" method="getComponent:81"] [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, taskId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx] - Kubectl command result: CmdResult(exitCode=1, stdout=, stderr=WARNING: Your password has expired.
YYYY-MM-DDThh:mm:ss.sssssssssZ stdout F Password change required but no TTY available.

Environment

VCF 9.1.0.0

Cause

The VCF Automation vmware-system-user credential has expired, this blocks the workflow.

Resolution

To resolve the issue - 

  1. Confirm that the vmware-system-user credential has expired by attempting to SSH to the source 9.0.2.0 VCFA component using the vmware-system-user account
    • If it is expired, you will be prompted to enter the new password twice.
    • Enter the same password as used previously, this ensures that the password cached in the workflow will still match.
  2. Implement these steps from this article - https://knowledge.broadcom.com/external/article/441858 
    • Option 1 — Clear stale data and restart the deploy task
    • Option 2 — Manually import missing 9.0 components, VCF Automation