Failed to deploy OVF template with error 'INTERNAL_SERVER_ERROR'
search cancel

Failed to deploy OVF template with error 'INTERNAL_SERVER_ERROR'

book

Article ID: 410019

calendar_today

Updated On:

Products

VMware vCenter Server 8.0

Issue/Introduction

  • Deploying OVF template in vCenter fails with below error:

    Failed to deploy OVF package. Cause: A general system error occurred: Provider method implementation threw unexpected exception: com.vmware.vapi.std.errors.InternalServerError: InternalServerError (com.vmware.vapi.std.errors.internal_server_error) => { messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => { id = com.vmware.vapi.endpoint.badGateway, defaultMessage = The endpoint, while acting as a gateway, received an invalid response from an upstream server it accessed while attempting to fulfill the request., args = [], params = <null>, localized = <null> }], data = <null>, errorType = INTERNAL_SERVER_ERROR }

  • Similar error message can be observed in /var/log/vmware/content-library/cls.log:

    Method com.vmware.transfer.transfer_service.create_session threw an exception
    com.google.common.util.concurrent.UncheckedExecutionException: com.vmware.vapi.std.errors.InternalServerError: InternalServerError (com.vmware.vapi.std.errors.internal_server_error) => {
        messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
        id = com.vmware.vapi.endpoint.badGateway,

Environment

VMware vCenter Server 8.0

Cause

Applmgmt service is in stopped state on vCenter.

Resolution

Manually start applmgmt service with below command after logging into vCenter CLI: 

service-control --start applmgmt

Additional Information

For more information on how to stop, start or check vCenter services please refer to: Stop, Start or Restart Services on vCenter Server 7.x/8.x.