Error while creating VsVip : "Tier 1 cannot be derived from vrf"
search cancel

Error while creating VsVip : "Tier 1 cannot be derived from vrf"

book

Article ID: 404461

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

The VSVIP creation fails with the error : "Tier 1 cannot be derived from vrf"

Also, you would see the Tier1 Logical Router empty  during the vsvip creation

Environment

NSXT cloud

Cause

The vrfcontext does not have the tier1 reference, hence, creating a vsvip in that specific vrf throws the above-mentioned error. 

Resolution

Workaround

VrfContext configuration should be updated with the correct Tier1 reference to resolve the issue. 

To add the reference, login to the shell prompt for Avi Controller (cluster leader)  and follow below steps: 

  • Use the below command to switch to the required nsxt cloud : 

> switchto cloud <nsxtcloudname>

  • Get the credential_uuid for your cloudconnector user using below command: 

> show cloudconnectoruser

  • Copy the required tier1 object id using below command : 

> show nsxt tier1s host  <nsxt_manager_address> credentials_uuid <cloudconnectoruser-uuid>

  • Update the required vrfcontext with the tier1 object id.  

> configure vrfcontext <vrf-name>

> attrs

> key tier1path

> value <nsxt_tier1_object_id> 

> save

> save

Fix:

This issue will be fixed in 31.2.1