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 runtimeRemediation Message: Reference Token: XXXXXXRoot 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.
VCF 9.0.x
VCF 9.1.x
This issue is caused by a subnet mask mismatch on the SDDC Manager appliance.
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.
nmctl statusip -br addr/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/26 entry. Because nmctl appends addresses rather than overwriting them, manually remove the incorrect /26 entry from the configuration file:vi /etc/systemd/network/10-eth0.networknmctl reloadnmctl reconfigure eth0eth0 reflects the /24 subnet mask and correct broadcast address:ip addr show eth0nmctl status eth0/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.