[UUID ] The operation could not be performed because the argument is invalid. A specified parameter was not correct: profileId - A specified parameter was not correct: profileId
com.vmware.ssdc.library.exceptions.VimInvalidArgumentException: The operation could not be performed because the argument is invalid. A specified parameter was not correct: profileId 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
...
Caused by: (vmodl.fault.InvalidArgument) {
faultCause = null, faultMessage = (vmodl.LocalizableMessage) [ (vmodl.LocalizableMessage) { dynamicType = null, dynamicProperty = null, key = com.vmware.pbm.pbmFault.locale, arg = (vmodl.KeyAnyValue) [ (vmodl.KeyAnyValue) { dynamicType = null, dynamicProperty = null, key = summary, value = Profile not found. Id: , } ], message = com.vmware.pbm.pbmFault.locale } ], invalidProperty = profileId } at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
This is a known issue where all templates that specify a storage policy group which does not exist in VC will fail during upload in VCD.
This issue will be resolved in a later release of Cloud Director.
To work around this issue,remove the following section from the OVF before uploading again.
<vmw:StorageGroupSection ovf:required="false" vmw:id="group1" vmw:name="Workload Storage Policy">
<Info>Storage policy for group of disks</Info>
<vmw:Description>Workload Storage Policy group</vmw:Description>
</vmw:StorageGroupSection>
...
<vmw:StorageGroup ovf:required="false">group1</vmw:StorageGroup>
...
<vmw:StorageSection ovf:required="false" vmw:group="group1">
<Info>Storage policy group reference</Info>
</vmw:StorageSection>