Unable to acknowledge NSX precheck warning, "Invalid pre-check id provided"
search cancel

Unable to acknowledge NSX precheck warning, "Invalid pre-check id provided"

book

Article ID: 427075

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • An upgrade of NSX was recently completed, or the manager node portion of the upgrade was completed (further components might be in a failed state).
  • The NSX upgrade was performed via API calls to the NSX manager or through SDDC Manager (i.e., not via the NSX UI)
  • There is a precheck warning visible in the NSX UI.
  • Any attempt to acknowledge the precheck warning generates a message similar to the following:

Invalid pre-check id provided. Please provide valid pre-check id to acknowledge or resolve the pre-check.

  • Entries similar to the following are present in the /var/log/upgrade-coordinator/upgrade-coordinator.log file:
    2026-01-23T13:40:43.129Z  INFO http-nio-127.0.0.1-7442-exec-13 NsxUpgradeMetricsServiceImpl 3725 SYSTEM [nsx@4413 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Processing event runPreUpgradeChecks on component-type FINALIZE_UPGRADE
    2026-01-23T13:40:43.130Z  INFO http-nio-127.0.0.1-7442-exec-13 UpgradeServiceImpl 3725 SYSTEM [nsx@4413 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Inspection task/Precheck with preUpgradecheckID: mP2PolicyWarningCheck not found. Not setting any acknowledge status
    2026-01-23T13:40:43.131Z  INFO http-nio-127.0.0.1-7442-exec-13 FacadeInterceptorHelperImpl 3725 SYSTEM [nsx@4413 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Caught error in facade interceptor
    com.vmware.nsx.management.upgrade.exceptions.CannotAcknowledgeException: null

    2026-01-23T13:40:43.131Z  INFO http-nio-127.0.0.1-7442-exec-13 AuditingServiceImpl 3725 - [nsx@4413 audit="true" comp="nsx-manager" level="INFO" request="POST /api/v1/upgrade/pre-upgrade-checks/mP2PolicyWarningCheck?action=acknowledge" subcomp="upgrade-coordinator" update="true"] UserName="admin", Src="172.27.110.1", ModuleName="Upgrade", Operation="AcknowledgePreUpgradeCheck", Operation status="failure", New value=["mP2PolicyWarningCheck"]
    2026-01-23T13:40:43.135Z  INFO http-nio-127.0.0.1-7442-exec-13 NsxBaseRestController 3725 SYSTEM [nsx@4413 audit="true" comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] UserName:'admin' ModuleName:'upgrade-coordinator' Operation:'POST@/api/v1/upgrade/pre-upgrade-checks/mP2PolicyWarningCheck' Operation status: 'failure' Error: Invalid pre-check id provided. Please provide valid pre-check id to acknowledge or resolve the pre-check

Environment

VMware NSX

Cause

Precheck warnings are only required to be acknowledged when an upgrade is performed via the NSX UI. Upgrades performed via API or SDDC Manager are allowed to skip the acknowledgement of any precheck warnings, resulting in these warnings still being present when the upgrade is completed successfully. These leftover precheck warnings cannot be acknowledged as they are no longer valid (the upgrade is complete).

Resolution

The precheck warning can be ignored as it will not impact future upgrades via API or via SDCC Manager.