Getting error "Custom VrfContext is not supported in Overlay mode" when creating a VS in a new NSX-T cloud
search cancel

Getting error "Custom VrfContext is not supported in Overlay mode" when creating a VS in a new NSX-T cloud

book

Article ID: 405949

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

When creating a new VS in a NSX-T cloud with overlay transport zone and you select a custom VRF context, then the VS creation fails with error Custom VrfContext is not supported in Overlay mode

Environment

NSX-T cloud with overlay transport zone. 

Cause

This error occurs when you have created a custom VRF context and are selecting this custom VRF context in the initial VS creation wizard. 

Resolution

Avi automatically creates a VRF context for every Tier 1 defined in the data network segments part of the NSX-T cloud config. Hence, there is no requirement for any user created custom VRF context objects. 

For example, if we have the following data network segments defined in the cloud config


Avi controller automatically creates the following VRF contexts objects in addition to system in-built global VRF. 



If the user correctly selects the appropriate VRF context in the VS setup wizard, then they will not run into this must-check error and the VS will be created successfully.