Error: OVF uses vmw:ExtraConfig elements which are not allowed
search cancel

Error: OVF uses vmw:ExtraConfig elements which are not allowed

book

Article ID: 401606

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Extra config for VMs are skipped while uploading OVF

  • When importing OVF to the VCD template, got an error as below:

    [ ef63f111-783d-4b54-bc79-9a71cb515dc0 ] Validation failed for the OVF file you provided: The OVF uses vmw:ExtraConfig elements which are not allowed by VMware Cloud Director. com.vmware.vcloud.api.presentation.service.BadRequestException: Validation failed for the OVF file you provided: The OVF uses vmw:ExtraConfig elements which are not allowed by VMware Cloud Director.

Environment

10.x

Cause

  • User/Role does not allow upload of ExtraConfigs

  • ExtraConfigs are missing

Resolution

  1. To list existing values of "vApp: Allow Matching Extra Config":
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -l

  2. To update values of "vApp: Allow Matching Extra Config":
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config-n vapp.allowed.extra.config -v numa.nodeaffinity

  3. Each update overrides the previous update. You must include all existing keys plus the new key in a single, comma-separated list. 
    /opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vapp.allowed.extra.config -v "vm.clock.frequency,some.other.key,numa.nodeAffinity,disk.enableUUID,numa.vcpu.preferHT"

  4. Make sure the user account has the highlighted rights below for pushing the extra configuration.

Additional Information

vcd-rights-in-predefined-global-tenant-roles 

using-the-cell-management-tool-to-specif