Tanzu Kubernetes Grid Integrated Edition cluster creation or smoke-tests errand fails after upgrading NSX-T to NSX-T 3.0.3
search cancel

Tanzu Kubernetes Grid Integrated Edition cluster creation or smoke-tests errand fails after upgrading NSX-T to NSX-T 3.0.3

book

Article ID: 298721

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

This issue was reported while debugging the following product versions:
  • Ops Manager 2.10.12
  • TKGI 1.9.5
  • NSX-T upgrade from v2.5.1 to v3.0.3
After upgrading to NSX-T 3.0.3, creating a new Tanzu Kubernetes Grid Integrated Edition (TKGI) cluster or running the smoke-tests errand fails with an error similar to the one below:
Error: error processing provision parameters: Error creating NSX-T cluster network `pks-<ID>`:  [POST /pools/ip-subnets][500] createIpBlockSubnetInternalServerError
{
   "RelatedAPIError":{
      "Details":"java.lang.NullPointerException",
      "ErrorCode":100,
      "ErrorData":"<nil>",
      "ErrorMessage":"General error has occurred.",
      "ModuleName":"common-services"
   },
   "RelatedErrors":[]
}
Error when creating test Cluster: Error: exit status 1.
Error: error processing provision parameters: Error creating NSX-T cluster network `pks-4bec8085-ee0b-4495-80c2-7266f72fadb9
`: [POST /pools/ip-subnets][500] createIpBlockSubnetInternalServerError
{
   "RelatedAPIError":{
      "Details":"java.lang.NullPointerException",
      "ErrorCode":100,
      "ErrorData":"<nil>",
      "ErrorMessage":"General error has occurred.",
      "ModuleName":"common-services"
   },
   "RelatedErrors":[]
}


Environment

Product Version: 1.9
OS: Linux

Resolution

Workaround

To work around this issue and create a new TKGI cluster or run a smoke-tests errand, follow these steps:

1. Login to the NSX-T Manager UI with admin credentials.

2. Identify Nodes IP block ID configured in the TKGI tile (Ops Manager UI > TKGI tile > Networking > Nodes IP Block ID).

3. Search for the ID using NSX-T Manager UI.

4. Select the result where the resource type is IP blocks. Make sure the ID matches the same ID obtained from the previous step.

5. On the Overview tab, select the Summary tab, and click the Edit button.

6. Click Save without making any changes.

7. Try creating a cluster via the TKGI CLI or run a smoke-tests errand to validate that the issue can longer be reproduced.


Patch timeline

  • The code fix is planned to be delivered in NSX-T 3.1. Please check the NSX-T release notes for the latest updates.