Deploying a service of type LoadBalancer from a container environment to NSX-T fails using ncp
search cancel

Deploying a service of type LoadBalancer from a container environment to NSX-T fails using ncp

book

Article ID: 322607

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • You are using ncp and trying to deploy a new service of type LoadBalancer
  • The service deployment shows error:
ncp/error.loadbalancer: SERVICE_LOADBALANCER_UNREALIZED
  • Log entries like the following are seen in ncp:
[nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="WARNING"] vmware_nsxlib.v3.client The HTTP request returned error code 500, whereas 200 response codes were expected. Response body {'module_name': 'common-services', 'error_message': 'General error has occurred.', 'details': 'Must supply exactly one composite runtime persistence strategy per enforcement point type.', 'error_code': 100}
  • NSX-T manager syslog shows:
  • nwnsxdev01 NSX 4614 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="manager"] Must supply exactly one composite runtime persistence strategy per enforcement point type.
  • You are using the NSX-T native load balancer and have deployed the NSX-T Advanced Load Balancer (AVI).


Environment

VMware NSX-T Data Center 3.x
VMware NSX-T Data Center

Cause

NCP assumes NSX-T LB is the default enforcement point for the load balancer; when NSX ALB is deployed, NCP API calls for LB provisioning receive an unexpected error response. NCP does not support NSX ALB.

Resolution

Currently this is a known issue impacting ncp.

Workaround:
Delete the Advanced load balancer deployment, then the service creation should work again.