Error: "Internal Server Error" after runtime defined entity transitions to RESOLUTION_ERROR state
search cancel

Error: "Internal Server Error" after runtime defined entity transitions to RESOLUTION_ERROR state

book

Article ID: 445663

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Runtime Defined Entity(RDE) state has changed to RESOLUTION_ERROR (definedEntity.state=RESOLUTION_ERROR) after sending POST request to the RDE /resolve API endpoint.
  • Within the log file /opt/vmware/vcloud-director/logs/vcloud-container-debug.log the following is logged followed by a 'Message: null'.

    DEBUG    | pool-jetty-#####         | DefinedEntityServiceImpl       | Failed to resolve entity with id urn:vcloud:entity:<entity-type>:vm:<vm-uuid>. Message: null | requestId=<requestid>,request=PUT https://<cloud.example.com>/cloudapi/1.0.0/entities/urn:vcloud:entity:<entity-type>:vm:<vm-uuid>

    and

    WARN     | pool-jetty-#####         | CJob                           | Tenant error message is not set for failed job <job-id> of object vm : <vm> - urn:vcloud:entity:<entity-type>:vm:<vm-uuid>(com.vmware.vcloud.entity.definedEntity:<vm-uuid>). | requestId=<requestid>,request=GET https://<cloud.example.com>/api/task/<job-id>

    WARN     | pool-jetty-#####         | CJob                           | System administrator error message is not set for failed job <job-id> of object vm : <vm> - urn:vcloud:entity:<entity-type>:vm:<vm-uuid>(com.vmware.vcloud.entity.definedEntity:<vm-uuid>). | requestId=<requestid>,request=GET https://<cloud.example.com>/api/task/<job-id>

Environment

VMware Cloud Director 10.6.1.2

Cause

This issue occurs as the error message which was generated is discarded rather than being associated correctly to the task after the RDE transitions to RESOLUTION_ERROR state. This causes the resulting task to display a generic HTTP 500 Internal Server Error.

Resolution

This is a known issue affecting VMware Cloud Director 10.6.1.2.
Currently, there is no resolution.

Subscribe to this knowledge article to get updates on this issue.

Additional Information

Update Defined Entity

Runtime Defined Entities Lifecycle