Unable to clone a VM template with spaces in the name to content library.
search cancel

Unable to clone a VM template with spaces in the name to content library.

book

Article ID: 341793

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
Unable to clone a VM template with spaces in the name to content library.

Error :
Task Name : Clone to OVF package in content library from Virtual Machine or Virtual Appliance
Status: Failed to export OVF package

Log Snippets:
Cls.log

2020-11-24T19:29:56.173Z | ERROR | khw3favq-956-auto-qm-h5:70000543-9e-4b | cls-simple-activity-6 | ExportSessionActivity | OVF export session ########-####-####-####-########6fed f
ailed with server error.
com.vmware.vapi.std.errors.InternalServerError: InternalServerError (com.vmware.vapi.std.errors.internal_server_error) => {
messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = vapi.bindings.method.impl.unexpected,
defaultMessage = Provider method implementation threw unexpected exception: Illegal character in path at index 3: New Virtual Machine space test.cert,
args = [Illegal character in path at index 3: New Virtual Machine space test.cert]
}],

Environment

VMware vCenter Server 7.0.x
VMware vCenter Server Appliance 6.7.x

Resolution

Issue is fixed in 7.0 U2 version.

Workaround:
By not entering spaces in the item name when cloning the VM as an OVF template to a library. After the item is created, you can rename the item with spaces in the name