Error: "VXLAN network pool not found."
search cancel

Error: "VXLAN network pool not found."

book

Article ID: 320495

calendar_today

Updated On:

Products

VMware Cloud Director VMware Telco Cloud Platform

Issue/Introduction

  • When reviewing logs after a VXLAN to VLAN migration or attempting to delete a Provider Virtual Data Center, the operation fails.
  • In the /opt/vmware/vcloud-director/vcloud-container-debug.log file, entries similar to the following are observed:

com.vmware.vcloud.api.presentation.service.BadRequestException: VXLAN network pool not found. at com.vmware.vcloud.dl.net.vxlan.impl.NetworkFabricDelegateImpl.getVxlanNetworkPoolByHandle(NetworkFabricDelegateImpl.java:382) Caused by: com.vmware.vcloud.fabric.foundation.exception.ObjectNotFoundException: Object not found

OrgVdcNetworkManagerImpl       | Could not find fabric object id for network

ProviderVdcManagerImpl         | Cannot find the network pool by handle: 

Environment

 

  • VCD: 10.4.3
  • TCP: 5.x

 

Cause

  • This is caused by stale entries in the Cloud Director database relating to a redundant network pool.

Resolution

  • This was observed when there was a stale entry in the prov_vdc_logical_resource table correlating to an old network pool that had been previously deleted.
  • To verify if there is a stale entry in the prov_vdc_logical_resource, run the following query, ensuring that you replace <name of Provider VDC> with the name of the Provider VDC being deleted
  • You make take a database backup before making these changes. See: Back Up the Embedded Database of Your VMware Cloud Director Appliance

select * from prov_vdc_logical_resource where prov_vdc_id in (
    select id from prov_vdc where name = '<name of Provider VDC>')
    AND lr_type = 'NETWORK_POOL'
    AND fo_id NOT IN (
        select id from network_pool);

  • Once it has been confirmed that this network pool no longer exists, remove this entry from the prov_vdc_logical_resource table.