NSX precheck error for VCF 9 upgrades : Data Migration Dry Run Failed: Unexpected error while upgrading upgrade unit: <DATE> MPObject Scan ERROR: MpObjectDetectionTask: MP Objects found in DB before promotion for tables : IpBlock
search cancel

NSX precheck error for VCF 9 upgrades : Data Migration Dry Run Failed: Unexpected error while upgrading upgrade unit: <DATE> MPObject Scan ERROR: MpObjectDetectionTask: MP Objects found in DB before promotion for tables : IpBlock

book

Article ID: 459180

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

While upgrading to 9.x , during the pre-checks you will receive the below Error from SDDC:

NSX manager upgrade failed in waitForNsxtComponentUpgradeToComplete. Overall upgrade status is :PAUSING. componentUpgradeStatus for NSX Manager is: FAILED

Error code:

com.vmware.vcf.error.runtime.nsxt.manager.cluster.upgrade.d

 

Error from NSX manager:

Unexpected error while upgrading upgrade unit: <DATE> MPObject Scan ERROR: MpObjectDetectionTask: MP Objects found in DB before promotion for tables : IpBlock, please perform Manager to Policy promotion or delete the MP objects and retry the prechecks.

Environment

VMware VCF 9

Cause

MP Logical APIs and the MP to Policy promotion tool have been removed in VCF 9.0. Prior to upgrade any Manager objects must be either removed or migrated to Policy objects. This precheck purposefully blocks the upgrade to allow the resolution steps to be followed.

Resolution

Verify whether any objects currently exist in Manager mode. All legacy Manager objects must be promoted to Policy mode before proceeding with the upgrade.

Follow the steps below to complete the migration:

Prerequisites

The migration coordinator service must be first started by running the following admin cli command on any one node of Manager cluster nodes.

 start service migration-coordinator

Remediation Steps

  1. On the NSX UI navigate to System > General Settings > Manager Objects Promotion ( Login  to the same manager Node on which service was started)
  2. Click Start Objects Promotion.
    The system displays summary of manager objects.
  3. Click Continue.
    The system starts the promotion and displays the progress and status of promotion. If any object fails to get promoted, the system displays an error. You can click Skip and Continue to continue the promotion, or you can click Cancel to stop the promotion.
  4. Once the promotion is completed successfully, the system displays the Manager to Policy Objects Promotion page.
  5. Rerun the Upgrade prechecks

Additional Information

NSX-UPG-PRECHK

"Check for data inconsistencies in DB upgrade" NSX precheck error for VCF 9 upgrades - "MP Objects found in DB"