"Deploy VCF Management Components" task fails during "Import VCF Operations in Fleet Lifecycle" stage
search cancel

"Deploy VCF Management Components" task fails during "Import VCF Operations in Fleet Lifecycle" stage

book

Article ID: 441858

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

This issue occurs during a VCF 9.0 to 9.1 upgrade with the following warnings:

  • Failed to discover component of type 'VCFA'
  • Failed to discover component of type 'VIDB'
  • Failed to discover component of type 'OPS_LOGS'
  • An unexpected error occurred in step discover_vrni_component_task
  • Failed to import vRNI/Operations Networks
  • Failed to import vRLI/Operations for Logs

Example of the 9.1 Upgrade failure in the VCF Operations UI




Example of the failed Import task in the VCF Operations UI

Environment

VCF Operations 9.1

Cause

The import step fails for one or more of the following reasons:

  • Invalid credentials
  • Invalid certificate
  • Missing vCenter host
  • Invalid component IPs

All conditions produce the same symptom. The failed task cannot be retried directly until the invalid data is cleared from VCF Operations.

Resolution

To resolve failures during the "Deploy VCF Management Components" task in a VCF 9.0 to 9.1 upgrade, you must use the attached script to clear invalid metadata and import 9.0 components.

Prerequisites:

Access required: 

  • SSH access to the SDDC Manager appliance

Credentials required:

Password:Purpose:Username:

VCF Services Runtime password

Acquiring Fleet API JWT

vmware-system-user

VCF Operations for Networks password

Option 2 import pre-check

admin@local

VCF Operations for Logs password

Option 2 import

admin

VCF Operations admin password

Backup / status report

admin

VCF Identity Broker password

Option 2 import pre-check

vmware-system-user

VCF Automation password

Option 2 import pre-check

vmware-system-user

SDDC Manager admin password

Resolving internal FQDNs

[email protected]


Remediation Steps:

Note: All steps in this KB must be performed from the SDDC Manager appliance as root.

  1. Download the remediate_deploy_mgmt_components.py script attached to this KB.

  2. Copy the script to the /home/vcf/ directory on the SDDC Manager appliance:

  3. SSH into the SDDC manager appliance with vcf user and then elevate to root with su.

  4. Run the script 

    python /home/vcf/remediate_deploy_mgmt_components.py

    (The script writes a log file to: /var/log/vmware/vcf/vcf_remediation_backups/remediation_YYYYMMDD_HHMMSS.log)

  5. Follow the prompts of the script to identify and remediate any detected issues.

Attachments

remediate_deploy_mgmt_components.py get_app