Unable to create a VM from template in an optimized for remote publish Content Library
search cancel

Unable to create a VM from template in an optimized for remote publish Content Library

book

Article ID: 384040

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Error observed in vSphere UI tasks

"Instantiate from libraries optimized for remote publish is currently not supported"



Messages observed in /var/log/vmware/content-library/cls.log

2024-12-09T10:37:53.256Z | ERROR    | xxxxxx-xxxxxx-auto-xxxxx-h5:xxxxxxx-xx-xx | cls-simple-activity-6     | IntermediateResultListener     | Activity threw exception.
com.vmware.vapi.std.errors.InvalidArgument: InvalidArgument (com.vmware.vapi.std.errors.invalid_argument) => {
    messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = com.vmware.ovfs.ovfs-main.ovfs.instantiate_not_supported_for_library_optimized_for_remote_publish,
    defaultMessage = Instantiate from libraries optimized for remote publish is currently not supported.,
    args = [],
    params = <null>,
    localized = <null>
}],
    data = <null>,
    errorType = INVALID_ARGUMENT
}

 

Optimize remote publish library is set to true

optimizationInfo = OptimizationInfo (com.vmware.content.library.optimization_info) => {
        optimizeRemotePublishing = true



Environment

vSphere 7.x
vSphere 8.x

Cause

This feature is no longer available in vSphere 7.0 & later builds.

Options are Local and Subscribed Content Library

vSphere 7 content library features

Resolution

  • Delete the Content Library
  • Create a new Content Library
  • Re-Publish the Content Libraries back to each other

Additional Information

Instructions to re-create a Content Library

https://knowledge.broadcom.com/external/article/371391/instructions-to-recreate-a-content-libra.html