Unable to deploy NSX AVI Load Balancer from SDDC Manager :"NSX Advanced Load Balancer VIP creation failed"
search cancel

Unable to deploy NSX AVI Load Balancer from SDDC Manager :"NSX Advanced Load Balancer VIP creation failed"

book

Article ID: 407846

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

The NSX AVI Load Balancer deployment from SDDC Manager is failing at the NSX VIP creation stage, with the error "NSX Advanced Load Balancer VIP creation failed"

/var/log/vmware/vcf/domainmanager/domainmanager.log indicates :

ERROR[c.v.v.v.s.n.n.NsxtClusterServiceImpl,ForkJoinPool.commonPool-worker-504] NSX version 4.2.0.2.0-24278654 is not supported for addVi
INFO [vcf_dm,################,####] [c.v.e.s.c.s.a.i.ImageManagementServiceAdapterImpl}

Environment

VMware Cloud Foundation 5.x

Cause

The issue is caused due to NSX not being watermarked in the SDDC environment.

When NSX is not watermarked, SDDC Manager cannot properly recognize or manage the NSX instance. As a result, operations such as AVI Load Balancer deployment or other lifecycle management tasks may fail.

Resolution

Note: Snapshot of SDDC VM is mandatory

  1. Run the following GET API call to check if watermarking exists:

    GET https://{{management_nsx_manager_vip}}/api/v1/watermark

    Example Output:

    { "httpStatus": "NOT_FOUND", "error_code": 600, "module_name": "common-services", "error_message": "The requested object : Deployment Info Details could not be found. Object identifiers are case sensitive." }

    This confirms that watermarking is not yet done for the management NSX.

  2. To watermark NSX, run the following POST API call:

    POST https://{{management_nsx_manager_vip}}/api/v1/watermark

    Payload: 

    { "deployed_by": "VMware Cloud Foundation", "version": "<sddc_manager_version>", "managed_by": "<sddc_manager_fqdn>", "instance_id": "<sddc_manager_id>", "log_token": "VCF" }

  3. Once the POST call is successful, please re-initiate the task from SDDC Manager.