Unexpected exception received during provider invocation in NSX logs
search cancel

Unexpected exception received during provider invocation in NSX logs

book

Article ID: 448349

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

In VMware NSX, administrators may observe recurring warning messages in the syslog related to provider invocation. While these messages typically do not impact current network traffic or service availability, they indicate a validation failure during segment profile checks.

  • The following error appears in the NSX syslog: Unexpected exception received during provider invocation.
  • More detailed log analysis reveals: Cannot change to Enhanced Networking Stack specific SwitchingProfile[<Profile_UUID>] for entity[<Entity_UUID>]. Please use non Enhanced Networking Stack default/custom profiles.

Environment

VMware NSX-T 3.x

VMware NSX 4.x

Cause

The issue is caused by the use of the default-segment-security-profile-for-ens profile.

This specific profile, designed for the Enhanced Networking Stack (ENS) mode in earlier NSX versions, is deprecated in current releases. When the system performs state checks on segments associated with this deprecated profile, it triggers a provider invocation exception.

Resolution

This issue was fixed in NSX 4.2.4

 

To resolve this error, you must replace the deprecated ENS security profile with a standard custom security profile on all affected segments.

Prerequisites

  • Ensure you have a current backup of the NSX Manager.

Step 1: Create a New Custom Security Profile

  1. Navigate to Networking > Segments > Profiles > Segment Profiles.
  2. Click ADD SEGMENT PROFILE.
  3. Select the Segment Security tab.
  4. Reference the settings in the default-segment-security-profile-for-ens and create a new profile (e.g., Custom-Non-ENS-Security-Profile) with the same operational parameters.
  5. Click Save.

Step 2: Re-associate Affected Segments

  1. Navigate to Networking > Segments.
  2. Locate the target segment reporting the error.
  3. Click the three vertical dots (Actions) and select Edit.
  4. Expand the SEGMENT PROFILES section.
  5. In the Segment Security drop-down menu, select the new custom profile created in Step 1.
  6. Click Save.
  7. Repeat these steps for all segments currently using the deprecated ENS profile.