Error while creating a VirtualService : VRF Context for VS and POOL are different
search cancel

Error while creating a VirtualService : VRF Context for VS and POOL are different

book

Article ID: 439801

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

The following error is displayed during Virtual Service creation through the Basic Setup wizard, even though the Virtual Service and the selected Pool are configured within the same VRF Context.

Note: The Virtual Service and POOL are configured in a non-global VRF Context

 

 

Environment

31.2.x

Cause

The issue occurs because the UI in the affected version omits the vrf_context_ref field from the nested pool_ref_data object during Virtual Service creation. Consequently, the Pool's VRF Context defaults to the Global VRF instead of inheriting the configured VRF Context. This field is correctly included in working versions such as 22.1.x and 30.2.x.

Working setup:

 

Non-Working setup:

By running the developer tools on the AVI UI Page that threw the error you can confirm if the vrf_context_ref feild is present 

 

Steps to access the Developer Tool on Google Chrome:

Click the three dots located at the top-right corner of the browser’s address bar.

Navigate to More Tools and select Developer Tools.

Once the Developer Tools panel opens, select the Network tab, as shown below:

 

Resolution

Workaround: Create the Virtual Service using the Advanced Setup 

This issue will be fixed in a future maintenance release.