[ ####.####.####.#### ] Cannot update network with new subnet because it does not overlap allocated ip (##.##.##.##) from original range ().
opt/vmware/vcloud-director/logs/vcloud-container-debug.log
you have entries like below:DATE TTIME DEBUG opt/vmware/vcloud-director/logs/vcloud-container-debug.log task-service-activity-pool-28 | CJob | updateFailedJob(com.vmware.vcloud.api.presentation.service.BadRequestException) with locale=en_US | requestId=####.####.####.####,request=PUT https://cloud.example.com/cloudapi/1.0.0/orgVdcNetworks/urn:vcloud:network:####.####.####.####,requestTime=1726485979939,remoteAddress=##.##.##.##:21557,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/json;version 39.0.0-alpha vcd=####.####.####.####,task=####.####.####.#### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:####.####.####.####)
com.vmware.vcloud.api.presentation.service.BadRequestException: Cannot update network with new subnet because it does not overlap allocated ip (192.168.0.159) from original range ().
at com.vmware.ssdc.util.ExceptionUtil.logAndThrowBadRequest(ExceptionUtil.java:79)
at com.vmware.vcloud.networking.model.network.TenantNetwork.lambda$confirmIpScopesContainAllAssignedIps$5(TenantNetwork.java:433)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at com.vmware.vcloud.networking.model.network.TenantNetwork.confirmIpScopesContainAllAssignedIps(TenantNetwork.java:412)
at com.vmware.vcloud.networking.model.network.OrgVdcNetwork.updateOrgVdcNetwork(OrgVdcNetwork.java:172)
at com.vmware.vcloud.networking.model.network.NsxTOrgVdcNetwork.updateOrgVdcNetwork(NsxTOrgVdcNetwork.java:378)
at com.vmware.vcloud.networking.services.handlerproxy.activity.networks.UpdateOrgVdcNetworkActivity$UpdateNetworkActivity.invoke(UpdateOrgVdcNetworkActivity.java:69)
at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
DATE T TIME ERROR opt/vmware/vcloud-director/logs/networking.log networking-web-activity-pool-39675 | UpdateOrgVdcNetworkActivity | [Activity Execution] Uncaught Exception during Activity execution. Recent phase: com.vmware.vcloud.networking.services.handlerproxy.activity.networks.UpdateOrgVdcNetworkActivity$UpdateNetworkActivity@76e6bdf4 - Handle: urn:uuid:####.####.####.####, Current Phase: UpdateOrgVdcNetworkActivity$UpdateNetworkActivity | requestId=####.####.####.####,request=PUT https://cloud.example.com/cloudapi/1.0.0/orgVdcNetworks/urn:vcloud:network:####.####.####.####,requestTime=1726485979939,remoteAddress=##.##.##.##:21557,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/json;version 39.0.0-alpha vcd=####.####.####.####,task=####.####.####.#### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:####.####.####.####) activity=(com.vmware.vcloud.networking.services.handlerproxy.activity.networks.UpdateOrgVdcNetworkActivity,urn:uuid:39250a69-a4bd-4351-a11d-1be859115944)
java.util.concurrent.ExecutionException: com.vmware.vcloud.api.presentation.service.BadRequestException: Cannot update network with new subnet because it does not overlap allocated ip (##.##.##.##) from original range ().
at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:136)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vmware.vcloud.api.presentation.service.BadRequestException: Cannot update network with new subnet because it does not overlap allocated ip (192.168.0.159) from original range ().
at com.vmware.ssdc.util.ExceptionUtil.logAndThrowBadRequest(ExceptionUtil.java:79)
at com.vmware.vcloud.networking.model.network.TenantNetwork.lambda$confirmIpScopesContainAllAssignedIps$5(TenantNetwork.java:433)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at com.vmware.vcloud.networking.model.network.TenantNetwork.confirmIpScopesContainAllAssignedIps(TenantNetwork.java:412)
at com.vmware.vcloud.networking.model.network.OrgVdcNetwork.updateOrgVdcNetwork(OrgVdcNetwork.java:172)
at com.vmware.vcloud.networking.model.network.NsxTOrgVdcNetwork.updateOrgVdcNetwork(NsxTOrgVdcNetwork.java:378)
at com.vmware.vcloud.networking.services.handlerproxy.activity.networks.UpdateOrgVdcNetworkActivity$UpdateNetworkActivity.invoke(UpdateOrgVdcNetworkActivity.java:69)
at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
... 5 more
VMware Cloud Director 10.3
VMware Cloud Director 10.4
In versions of Cloud Director prior to 10.5.1, External Network and Org VDC network validation checked that all the allocated IP's fall within the subnet ranges of the network.
However in some edge cases, IP's can be allocated outside of the subnet ranges.
This is especially true for vApp gateway assigned IPs, as these can be manually allocated.
This issue is resolved in VMware Cloud Director 10.5.1, available at Broadcom Downloads.