Error: "Following errors occurred while updating network connections: Invalid network parameter: Specified IP address "#.#.#.#" is invalid" after vApp deployment failure
search cancel

Error: "Following errors occurred while updating network connections: Invalid network parameter: Specified IP address "#.#.#.#" is invalid" after vApp deployment failure

book

Article ID: 419357

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • A Vapp deployment task involving VApp networks validation which fails with an error indicating that a seemingly valid internal IP address is marked as invalid. 

  • The process attempts to update network connections but fails due to incorrect validation logic.
YYYY-MM-DD HH:MM:SS, | WARN     | task-service-activity-pool-1387 | VmManagerImpl                  | Hit exception during reconfigure VM with EntityRef: ######(com.vmware.vcloud.entity.vm:###-#####-#####-####-######), vm ID: ######-#####-#####-#####-######. Attempting to roll back storage policy updates | requestId= ######-#####-#####-#####-######,request=PUT https://www.example.com/api/vApp/vm- ######-#####-#####-#####-######/virtualHardwareSection/...,requestTime=####,remoteAddress=10.#.#.#:53670,userAgent=Apache-HttpClient/4.5.13 (Java/1.8.0_322),accept=application/*+xml;version 32.0 vcd= ######-#####-#####-#####-######,task= ######-#####-#####-#####-###### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid: ######-#####-#####-#####-######)
com.vmware.vcloud.api.presentation.service.BadRequestException: Following errors occurred while updating network connections:
 Invalid network parameter: Specified IP address "10.#.#.#" is invalid.
        at com.vmware.vcloud.dl.net.nic.impl.NetworkConnectionSectionOrchestratorImpl.createPresentationException(NetworkConnectionSectionOrchestratorImpl.java:401)

Environment

10.x

Cause

  • The issue is caused by metadata corruption or incorrect state associated with the source catalog item (VApp Template). This can occur if the template was created from a source that had an invalid or incompatible network configuration, or if the catalog item was corrupted during the deployment process. 

  • When the deployment attempts to reconcile the network settings of the VApp , it pulls the network parameters from the corrupted catalog metadata, leading to the Invalid network parameter rejection. The issue is not the IP itself, but the source data defining the network characteristics.

Resolution

  1. Delete the VApp Network
  2. Delete the corrupted Catalog Item
  3. Re-upload the catalog
  4. Re-create the Internal Network
  5. Retry the deployment

Additional Information