top of page

Can't update vCD Network due to the error duplicate key value

We are in the middle of v2t migration and we can't move forward due to the error.



What I did is I check the value to the DB Cell and update it.


Steps:

  • SSH Primary Cell login ad root

  • Type "sudo -su postgress psql vcloud"

  • Type \x so that you have good display

  • Run "select * from tenant_network_logical_resource where id = "XXXXX-XXXXX"


Note: In this process we just need to get the Tenant logical network ID

  • Now that we have the Tenant logical network ID. We will process to update the Network Name.

  • Type update tenant_network_logical_resource set name = 'NetworkName' where id = 'XXX-XXX-XXX';


Note: We can see the output there is network update value 1. meaning we successfully updated the network name on the DB


  • Next step just refresh your browser and you will see on the vCD Provider Web UI that the network name is updated as well


Note: This is my personal and owned experience that I love to share in the VMware Community. I hope you appreciate it, thank you


Recent Posts

See All

Can't delete vApp and VM

Error: [ bfe374cf-fd73-4076-86da-e842ba50b13a ] No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.VdcLogicalResourceModel#f8e04f29-5810-4fe6-9178-94b7ab049f25] W

bottom of page