Error: vCenter should be using an embedded Platform Services Controller during upgrade precheck
search cancel

Error: vCenter should be using an embedded Platform Services Controller during upgrade precheck

book

Article ID: 434993

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VMware vCenter Server

Issue/Introduction

Performing an upgrade precheck for vCenter Server via SDDC Manager fails during the 'Embedded PSC' validation stage with error:
"vCenter should be using an embedded Platform Services Controller" 

  • The issue can present as a false positive where the deploymentType is confirmed as EMBEDDED in logs, yet the precheck still fails.
     
  • From SDDC /var/log/vmware/vcf/sddc-support/sos.log
     YYYY-MM-DDTHH:MM:SS INFO [vcf_sos] [util.py::is_psc_embedded::####::healthcheck-########-####-####-####-###########] PSC ##.##.##.#### is embeddedAnother PSC validation confirming deploymentType as EMBEDDED

  • From SDDC /var/log/vmware/vcf/domainmanager/domainmanager.log

    YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,#################################,####] [c.v.v.v.s.ViManagerServiceImpl,dm-exec-10]  Result of ring topology health validation: {"errorCode":"SSO_RING_TOPOLOGY_INVALID_NODES","arguments":[2,["VCSA_FQDN1(3)","VCSA_FQDN2(2)"]],"stringArgs":["2","[VCSA_FQDN3(3), VCSA_FQDN4(2)]"]}
    YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,#################################,####] [c.v.v.v.c.ViManagerController,http-###-###.#.#.#-####-####-#]  Retrieving ring topology health validation with id: ########-####-####-####-############ .
    YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,#################################,####] [c.v.v.v.s.ViManagerServiceImpl,http-###-###.#.#.#-####-####-#]  Cached validation with id ########-####-####-####-############ found

  • A case mismatch in the sub_domain field of the psc table can trigger this specific error

Environment

  • SDDC Manager 5.x
  • vCenter 8.x

Cause

The issue occurs due to case mismatch between the vCenter Server PNID (Primary Network Identifier) stored on vCenter and the vCenter hostname stored in the SDDC Manager postgres database.

Resolution

  1. This issue is resolved in VMware Cloud Foundation 5.2.4.0, See Download Broadcom products and software for download steps.

  2. If the hostname and PNID match, ignore the precheck and proceed with the upgrade from SDDC Manager.

  3. If there is a PNID mismatch, follow the Broadcom KB: How to update vCenter hostname to match PNID

Validation steps: 

  • To validate the hostname on vCenter Server:
    1. SSH to VCenter Server as root. Enter shell.
    2. Run the following command:
      hostname

      sample output:
      [VCSA_FQDN]

  • To validate PNID on vCenter Server:
    1. SSH to VCenter Server as root. Enter shell.
    2. Run the following command to find the PNID:
      /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost

      sample output:
      [VCSA_FQDN]

Additional Information

Using the VCF Diagnostic Tool for vSphere (VDT)
In VCF 9.x the ELM is deprecated - What is vCenter Enhanced Linked Mode