TCA manager virtual infrastructure search returns "Internal server error" with numeric only strings
search cancel

TCA manager virtual infrastructure search returns "Internal server error" with numeric only strings

book

Article ID: 433641

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

  • In the Telco Cloud Automation (TCA) Manager UI, navigating to Virtual Infrastructure and performing a search using a string containing only numerical characters results in an "Internal Server Error". Searching with alphabetical characters or a mixture of alphabetical and numerical characters functions normally.
  • The UI returns the error without generating corresponding backend log events. A network trace reveals the following API request failing with a 500 Internal Server Error:
    "GET https://<REDACTED_HOSTNAMES>/tca/vim/api/v2/orgs/default/vims?nextpage_opaque_marker=page_no=1,page_size=50,sort=tags:asc&filter=(cont,id,3509);(cont,name,3509);(cont,type,3509);(cont,creationTenantId,3509);(cont,creationUser,3509);(cont,lastUpdateUser,3509);(cont,status,3509);(cont,tcaCp.tcaCpId,3509);(cont,location.city,3509);(cont,location.cityAscii,3509);(cont,location.country,3509);(cont,vroId,3509);(cont,vroStatus,3509);(cont,nsxtId,3509);(cont,nsxtStatus,3509);(cont,location.latitude,3509); (cont,location.longitude,3509);"

Environment

VMware Telco Cloud Automation 3.4

Cause

This is a software defect in TCA 3.4 where numeric-only search strings construct a malformed API filter query containing an unhandled additional field, which triggers a server-side exception.

Resolution

  • To work around this issue, ensure search strings in the Virtual Infrastructure view contain at least one alphabetical character, or utilize alternative filtering attributes.
  • The permanent code fix resolving this query construction defect will be included in the VMware Telco Cloud Platform (TCP) 5.1.1 release. Upgrade to TCP 5.1.1 once available to restore numeric-only search functionality.