VCF Management services deployment failed- Bootstrap VCF Services Platform
search cancel

VCF Management services deployment failed- Bootstrap VCF Services Platform

book

Article ID: 441847

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

 

VCF Management services deployment failed at stage: Bootstrap VCF Services Platform

From the VCF Installer we see the following /var/log/vmware/vcf/domainmanager/domainmanager.log 

YYYY-MM-DDTHH:MM:SS+0000 INFO [vcf_dm,##################,1844] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-443] Datastore not exist with datastore name <DATASTORE_NAME>
YYYY-MM-DDTHH:MM:SS+0000 ERROR [vcf_dm,##################,1844] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-443] [TOKEN] PUBLIC_VSP_CLUSTER_BOOTSTRAP_FAILED Failed to bootstrap VCF servi
ces runtime
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to bootstrap VCF services runtime
Caused by: java.lang.NullPointerException: Cannot invoke "com.vmware.vim.binding.vmodl.ManagedObjectReference.getValue()" because the return value of "com.vmware.evo.sddc.common.client.vmware.vsphere.VcMana
gerBase.getDatastoreMorByName(String)" is null

Environment

VMware Cloud Foundation 9.1

Cause

 

  • getDatastoreMorByName(DATASTORE-01") cannot resolve to a single MoRef - the name returns multiple matches across datacenters, which is why it returns null and the bootstrap fails with the NullPointerException.
    • example: 
      • datastore-1 -> DATASTORE-01
      • datastore-2 -> DATASTORE-01
      • datastore-3 -> DATASTORE-01

Resolution

WORKAROUND:

  1. Rename the Datastore temporarily to have a unique name across the Datacenters. 
  2. Retry the deployment.