Making Deployment DNS changes via TKGI Management Console results in "Input validation failed Validation errors found: Fail to parse network : invalid CIDR address"
search cancel

Making Deployment DNS changes via TKGI Management Console results in "Input validation failed Validation errors found: Fail to parse network : invalid CIDR address"

book

Article ID: 327476

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid

Issue/Introduction

Symptoms:

Scenario:
You are making an address changes for Deployment DNS settings via the Management Console for TKGI Configuration.  

For example, you update the following via TKGI MC:

-> TKGI Configuration -> Networking -> Deployment DNS 
 

You apply the configuration via the Management Console and see the following error:
Input validation failed Validation errors found: Fail to parse network : invalid CIDR address: 


Environment

VMware Tanzu Kubernetes Grid Integrated Edition 1.x

Cause

This is a bug within TKGI Management Console as it does not have the ability to change the Deployment DNS field. 

You can see the current value via the Opsmanager Web UI -> Bosh Directory Tile -> Create Networks -> YOUR-NETWORK-NAME (dropdown) -> DNS

Resolution

This issue is fixed in TKGI 1.13.3.

Workaround:
Export the TKGI MC yaml.  Then change the "dep_network_cidr" field in the TKGI MC deployment yaml.

You have to input the deployment CIDR (It can be any CIDR that does NOT contain the deployment DNS IP), this CIDR will not affect the user’s original CIDR configuration, for example:
dep_network_cidr: "80.0.0.1/24"

After finishing editing, click "APPLY CONFIGURATION"