VCF Import fails during datastore pre-check validation
search cancel

VCF Import fails during datastore pre-check validation

book

Article ID: 395600

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  •  /var/log/vmware/vcf/sddc-manager/vcf_brownfield.log

2025-04-02 10:17:49,494] [INFO] sddc_manager_helper:846: Could not configure datasoure
[2025-04-02 10:17:49,495] [DEBUG] sddc_manager_helper:847: b'{"errorCode":"BASELINER_DATASOURCE_VALIDATION_FAILED","arguments":["INTERNAL_MIXED_SDDC_MANAGER",""],"context":{"orchestrator.er
ror.retriable":"false"},"message":"Validation of data source of type INTERNAL_MIXED_SDDC_MANAGER and address failed.","referenceToken":"XXXX"}'
[2025-04-02 10:17:49,495] [DEBUG] sddc_manager_helper:849: Response from set datasource: b'{"errorCode":"BASELINER_DATASOURCE_VALIDATION_FAILED","arguments":["INTERNAL_MIXED_SDDC_MANAGER","
"],"context":{"orchestrator.error.retriable":"false"},"message":"Validation of data source of type INTERNAL_MIXED_SDDC_MANAGER and address failed.","referenceToken":"XXXX"}'
[2025-04-02 10:17:49,495] [INFO] sddc_manager_helper:403: Using cached SDDC Manager token header

Environment

SDDC Manager 5.2.1.2

Cause

The issue occurs while we attempt to convert  vCenter into the management domain. This process requires the management cluster to have at least four hosts if it contains the management vCenter VM, or at least three hosts if the management vCenter VM is hosted elsewhere.

Resolution

To resolve this critical validation issue, increase the number of hosts in the management cluster to at least four, and ensure there are at least three hosts in any non-management cluster.

To workaround the cluster common datastore check add below parameter in application.properties file.

  • Take a snapshot of SDDC Manager
  • set a property using command: echo 'vcf.bion.minclustersize.convert.default.size=2' >> /etc/vmware/vcf/operationsmanager/application.properties
  • restart operations manager service

NOTE: The above parameter should be implemented only for the common datastore check. It does not apply to any other pre-checks.