Unable to create a Virtual Service in AKO with same port for both TCP and UDP protocol
search cancel

Unable to create a Virtual Service in AKO with same port for both TCP and UDP protocol

book

Article ID: 406839

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

- When trying to create a Virtual Service in AKO (Avi Kubernetes Operator) that uses the same port number for both TCP and UDP protocols, you may encounter an error stating, "Pool with this Name, Tenant ref and Cloud ref already exists."

- We can see the below logs in AKO logs:

HTTP code:409; error from Avi: map[error:Pool with this Name, Tenant ref and Cloud ref already exists.]

Environment

VMware AVI Load Balancer with TKGS

Cause

This happens because AKO attempts to create a separate Pool in the Avi Vantage platform for each port defined in the Kubernetes Service. However, AKO's naming convention for these pools only includes the port number, not the protocol. Consequently, when you try to create a second pool for the same port (but a different protocol), it conflicts with the first one because they have identical names.

Resolution

This issue has been fixed in VC 9.0