Error: "null id in com.vmware.vcloud.common.model.event.AuditTrailEventModel entry (don't flush the Session after an exception occurs)" when trying to delete an Organization
search cancel

Error: "null id in com.vmware.vcloud.common.model.event.AuditTrailEventModel entry (don't flush the Session after an exception occurs)" when trying to delete an Organization

book

Article ID: 374548

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • While deleting a decommissioned tenant Organization an error similar to the following is seen:

     [ <request id> ] null id in com.vmware.vcloud.common.model.event.AuditTrailEventModel entry (don't flush the Session after an exception occurs)
    - null id in com.vmware.vcloud.common.model.event.AuditTrailEventModel entry (don't flush the Session after an exception occurs)

Environment

Cloud Director 10.5.x

Cause

This issue can occur if a Kubernetes container cluster is still associated with the Organization being deleted.

Resolution

In the Provider portal navigate to "More -> Kubernetes Container Clusters -> Kubernetes Clusters" and review existing clusters. Identify any which are associated to the Organization being removed and delete the cluster.

Additional Information

  1. For additional information on managing and deleting defined entities see the documentation Managing Defined Entities in VMware Cloud Director.
  2. To delete an organization with the "force" option the following API can be executed:

    DELETE https://<VCD-ENDPOINT>/api/admin/org/<ORG-UUID>?force=true

    For additional information refer to the OpenAPI Delete Org documentation.