Venafi TPP integration of VMware NSX Load...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Venafi TPP integration of VMware NSX Load...

L1 Bithead

Venafi TPP integration of VMware NSX Load Balancer (formerly Avi Vantage) stops working with Load Balancer version 30.2.2. Two issues I experienced are

  1. Failure to provision certificates
  2. Failure of Avi Discovery job to find new applications or certificates

 

VMWare has released a patch 30.2.3 which fixes the first provisioning failure due to the below bug.

AV-225475: Unable to add certificates because the controller fails to parse certificates with unusual carriage return (\r) and newline (\n) characters.

 

As for the discovery job, it's saying it completes successfully but is failing to discover new applications on the load balancer. Investigating the logs, it looks like Avi is now returning just a relative link instead of the full URL for subsequent pages.

 

Version 22.1.3

"next": "https://ttpserver/api/virtualservice?page=2"

 

Version 30.2.2

"next": "/api/virtualservice?page=2"

2 REPLIES 2

L1 Bithead

FYI, we were able to resolve this by updating Avi Vantage.ps1 to replace

 

$next_link = $response.next

with

if ($response.next -ne $null) { if($response.next.StartsWith("/api")) { $next_link = "https://{0}{1}" -f $General.HostAddress, $response.next } else { $next_link = $response.next } } else { $next_link = $null }

 

L0 Member

Thank you @Matt Inukai​ for sharing this. We're using a locally maintained and much patched version of the old Avi driver you are referencing so we've implemented the fix differently, but knowing it was there so we could fix it before something breaks in our environment is a very nice place to be. 😎

  • 27 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!