VCF 9.0.X to 9.1.0 Upgrade Fails During VCF Management Services Installation with "Failed to bootstrap VCF services runtime"
search cancel

VCF 9.0.X to 9.1.0 Upgrade Fails During VCF Management Services Installation with "Failed to bootstrap VCF services runtime"

book

Article ID: 463098

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

Upgrading VCF from 9.0.2 to 9.1.0 fails during the VCF Management Services installation phase.

The upgrade reports the following error details:
Error Message: Failed to bootstrap VCF services runtime
Remediation Message: Reference Token: XXXXXX
Root Cause: java.lang.StringIndexOutOfBoundsException: Range [-1, 41) out of bounds for length 41

The domainmanager.log file logs a Health API timeout error similar to:
LocalProcess ERROR: failed to call Health API: Get "https://x.x.x.x:5480/health": context deadline exceeded.
Running a curl test to https://x.x.x.x:5480/health fails when initiated from the SDDC Manager VM, but succeeds from another VM (such as a Windows VM) residing in the x.x.x.x/x subnet.

Environment

VCF 9.0.x
VCF 9.1.x

Cause

This issue is caused by a subnet mask mismatch on the SDDC Manager appliance.

Resolution

Important: Ensure you take a valid backup or snapshot of the SDDC Manager VM before modifying its network configuration.
Below is an example for /24 & /26 subnet.

  1. Review the current network state.
    nmctl status
    ip -br addr

  2. Add the correct /24 subnet mask. Assign the SDDC Manager IP address with the /24 mask to eth0:
    nmctl add-addr dev eth0 a x.x.x.x/24

  3. Remove the stale /26 entry. Because nmctl appends addresses rather than overwriting them, manually remove the incorrect /26 entry from the configuration file:
    Edit the configuration: vi /etc/systemd/network/10-eth0.network
    Delete the line: Address=x.x.x.x/26
    Note: If the Gateway IP requires updating, use nmctl add-default-gw dev eth0 gw <GATEWAY_IP> onlink yes and remove the old gateway entry from the file. 

  4. Apply the network changes. Reload and reconfigure the interface to initialize the updated settings:
    nmctl reload
    nmctl reconfigure eth0

  5. Validate the configuration. Confirm that eth0 reflects the /24 subnet mask and correct broadcast address:
    ip addr show eth0
    nmctl status eth0

  6. Resume the upgrade.
    Once the SDDC Manager is back on the /24 subnet, it can successfully complete health check calls to the VCF-MS VMs, allowing the bootstrap process and VCF 9.1.0 upgrade to proceed.