The operation could not be performed because the argument is invalid. A specified parameter was not correct: spec.sharesInfo.shares - A specified parameter was not correct: spec.sharesInfo.shares/opt/vmware/vcloud-director/logs/vcloud-container-debug.log file contains entries similar to:YYYY-MM-DDTHH:MM:SS,### | ERROR | task-service-activity-pool-71 | FutureUtil | Failed to create VM in Storage Fabric | requestId=########-####-####-####-############,request=POST https://example.com/api/vdc/########-####-####-####-############/action/instantiateOvf,requestTime=1753313976446,remoteAddress=##.####.##.###:50389,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/201...,accept=application/*+xml;version 38.0 vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-############)com.vmware.ssdc.library.exceptions.VimInvalidArgumentException: The operation could not be performed because the argument is invalid. A specified parameter was not correct: spec.sharesInfo.shares at com.vmware.ssdc.library.vim.LmVim.Convert(LmVim.java:262) at com.vmware.ssdc.library.vim.LmVim.Convert(LmVim.java:498) at com.vmware.vcloud.val.internal.impl.ImportVAppFromOvfActivity$ImportOvfToVcPhase.initiateImportFromOvf(ImportVAppFromOvfActivity.java:854) at com.vmware.vcloud.val.internal.impl.ImportVAppFromOvfActivity$ImportOvfToVcPhase.invoke(ImportVAppFromOvfActivity.java:243) at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175) at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)Caused by: (vmodl.fault.InvalidArgument) { faultCause = null, faultMessage = null, invalidProperty = spec.sharesInfo.shares}This issue can occur if an incorrect storageIOAllocation.shares.level is specified in the OVF descriptor file being uploaded.
Currently there is no resolution.
As the IOPS shares feature is deprecated in VMware Cloud Foundation(VCF) 9.x versions, this issue won't be resolved in any existing/future vSphere/VCD versions.
See Deprecation of default Storage Policy Components for SIOC Storage Policy
This issue is not seen in VCF Automation 9.1.
To workaround the issue, one of the following options can be used:
storageIOAllocation.shares.level" to normal.<vmw:Config vmw:key="storageIOAllocation.shares.level" vmw:value="custom" ovf:required="false"/><vmw:Config vmw:key="storageIOAllocation.shares.level" vmw:value="normal" ovf:required="false"/>SHA1(example-vm.vmdk)= #########################################SHA1(descriptor.ovf)= #########################################certutil -hashfile descriptor.ovf SHA1sha1sum descriptor.ovfThis issue occurs when importing an OVF file exported from a virtual machine with IOPS shares set to 1000 in Storage Policy.
Create a virtual machine with a value other than IOPS shares 1000, exporting the vApp, and then importing it.