Error: "Unable to perform this action. Contact your cloud administrator." when tenants create vApp templates using decoded Amazon S3 URLs.
search cancel

Error: "Unable to perform this action. Contact your cloud administrator." when tenants create vApp templates using decoded Amazon S3 URLs.

book

Article ID: 392989

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Template creation with decoded S3 URLs as per the steps in the documentation is failing with the error :

    Unable to perform this action. Contact your cloud administrator. 

  • System administrators can see the following details from the UI stacktrace and task details:

    [ ########-####-####-####-############ ] One of the OVF's elements is invalid.
     - Batch entry 0 /* Method: unknown */ /* Method: unknown */ /* insert com.vmware.vcloud.common.model.ResourceFileModel */ insert into resource_file (bytes_transferred, check_sum, max_allowed_size, resource_name, file_size, source, spool_dir, strategy_name, transfer_session_id, resource_file_id) values (('0'::int8), (''), ('########'::int8), ('########/templates-ovf/#################################################################################################################################################################################################################################################################################################################'), ('########'::int8), ('https://templates-ovf.###############################################################################################################################################################################################################################################################################################################################################################################'), ('file:///opt/vmware/vcloud-director/data/transfer/########-####-####-####-############/#########################m/templates-ovf/##################################################################################################################/########/########/s3'), (NULL), ('########-####-####-####-############'::uuid), ('########-####-####-####-############'::uuid)) was aborted: ERROR: value too long for type character varying(254)  Call getNextException to see other errors in the batch.

Environment

VMware Cloud Director 10.6

Cause

This issue happens when the length of the URL referencing the VMDKs are greater than the 254. When inserting the entry into the database table resource_file with column length 254, it will then fail with the error.

Resolution

Workaround is to download the templates and use the local files to create the template. See documentation for the steps.

Database changes are required to resolve this issue. 

For assistance, contact technical support and note this Knowledge Article ID (392989) in the problem description. For more information, see How to Submit a Support Request.