WARN | task-service-activity-pool-242 | VAppUploadManagerImpl | Transfer session: #####-#####-#####-#####-#####. Error during content upload: No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.StorageClassProviderVdcLogicalResourceModel#PvdcLogicalResourceID] | requestId=#####-#####-#####-#####-#####,request=POST https://<vcd.example.com>/api/catalog/#####-#####-#####-#####-#####/action/upload,requestTime=1763339934997,remoteAddress=#.#.#.#:####,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=#####-#####-#####-#####-#####,task=#####-#####-#####-#####-##### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:#####-#####-#####-#####-#####)org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.vmware.vcloud.common.model.logicalresource.StorageClassProviderVdcLogicalResourceModel#PvdcLogicalResourceID] at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108) at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at com.vmware.vcloud.common.model.logicalresource.StorageClassProviderVdcLogicalResourceModel_$$_jvst450_91.getStorageClassSettings(StorageClassProviderVdcLogicalResourceModel_$$_jvst450_91.java) at com.vmware.ssdc.backend.dao.impl.VdcStorageClassSettingsDaoImpl.getPvdcStorageClassSettings(VdcStorageClassSettingsDaoImpl.java:100) at com.vmware.ssdc.backend.dao.impl.VdcStorageClassSettingsDaoImpl.getConfigForVdcLogicalResource(VdcStorageClassSettingsDaoImpl.java:92) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)VMware Cloud Director 10.x
This issue occurs due to a mismatch in the Logical Resources, essentially what is defined as the logical link between the physical resources and the provider VDC Resources.
To identify mismatch of logical resource ID's, perform the following actions:
dbor sudo -i -u postgres psql vcloud
select plr.name from vdc_logical_resource vlr join prov_vdc_logical_resource plr on vlr.name = plr.name where vlr.prov_vdc_lr_id <> plr.id and vlr.prov_vdc_lr_id not in (select id from prov_vdc_logical_resource);
If any results are returned from the above query, please open a Support Request with Broadcom Technical Support and note this Article ID (418894) in the problem description. For more information, see Creating and managing Broadcom support cases.