Error: "No row with the given identifier exists" occurs when removing a catalog item in VMware Cloud Director
search cancel

Error: "No row with the given identifier exists" occurs when removing a catalog item in VMware Cloud Director

book

Article ID: 436039

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When attempting to remove and organization VDC, an error similar to the following occurs:

    You must remove all catalogs backed by this VDC before you can delete it. Here are the first # (out of # catalogs) backed by this VDC: ...

  • The remaining catalog item in the referenced catalog is a media item (e.g., example.iso).
  • Attempting to delete the catalog item results in an error similar to the following:

    No row with the given identifier exists: [com.vmware.vcloud.common.model.VappVmModel#########-####-####-####-############]
     at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
     at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:171)


  • The media item had been attached to virtual machines in the past, but does not appear to be in use currently or there are no remaining virtual machines in the VDC.

Environment

  • VMware Cloud Director 10.6.x

Cause

The catalog media item is still attached to a VM that no longer exists, which prevents it from being removed.

Resolution

In order to correct this issue, please contact Broadcom technical support and reference this Article ID (436039) in the problem description. For more information on creating a request, please refer to the following:

Creating and managing Broadcom support cases