Creation of Avi SE on new Azure Cloud fails due to management/data plane network being listed as undefined
search cancel

Creation of Avi SE on new Azure Cloud fails due to management/data plane network being listed as undefined

book

Article ID: 377876

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

Azure Service Engine instance creations fail with error: 'NoneType' object has no attribute 'split'

CREATE_SE_FAIL event  under > Operations > Events

The management or data plane network in the cloud configuration pupulates/lists as "undefined."

Environment

Affected Versions: 

30.2.x

30.1.x

22.1.7 base

22.1.6 and older 22.1.x versions

21.1.x 

Cause

Azure recently changed it's API response payload for vnet subnets to include two different keys for subnet addr prefix.  In the current design Avi only parses the old API response format for the vnet subnet which leads to this issue.

Resolution

The fix for this issue will be delivered across the affected versions, please look for bug ID AV-217209 in the GA release or patch release notes.

Workaround(s):

This issue has been identified to only occur if the Azure vNet is created via the Azure portal GUI.  As a workaround, please create the vNet using the Azure CLI before configuring your azure cloud on the Avi load Balancer or recreate the non-working vNets via Azure CLI and update the azure cloud on the Avi load Balancer with the new vnets.

Microsoft Azure Documentation: Use the Azure CLI to create a virtual network