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
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log
on the Cloud Director cells there are log entries similar to that below:Caused by: 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)
...
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: ,
This is a known issue affecting Cloud Director releases earlier than Cloud Director 10.4.3 and 10.5.1.1.
This issue occurs due to a change of behavior in vCenter Server 8.0 Update 2 in how it handles Storage Policies in OVFs. Applications added from VMware Marketplace in Cloud Director are imported into the connected vCenter Server as OVFs and can encounter this issue. This issue does not affect Cloud Director when connected to vCenter Server versions lower than 8.0 Update 2.
This issue is resolved in Cloud Director 10.4.3 and 10.5.1.1 available from VMware By Broadcom Downloads.
If installation of the available patch is not immediately possible, use the workaround specified below.
Workaround:
To workaround the issue remove the BootOrderSection
or the StorageGroupSection
from the OVF and attempt the upload again.
If the issue occurs for an application from VMware Marketplace the following steps can be taken:
ovftool /ovfs/my_vapp.ova /ovfs/my_vapp.ovf
BootOrderSection
or StorageGroupSection
entries. For example we may remove the following entries if present in the .ovf file:<vmw:StorageGroupSection ovf:required="false" vmw:id="<group name>" vmw:name="<Storage Policy Name>">
<Info>Storage policy for group of disks</Info>
<vmw:Description>Storage Policy Description</vmw:Description>
</vmw:StorageGroupSection>
...
<vmw:StorageGroup ovf:required="false"><group name></vmw:StorageGroup>
...
<vmw:StorageSection ovf:required="false" vmw:group="group name">
<Info>Storage policy group reference</Info>
</vmw:StorageSection>
.mf
files as the changes to the OVF descriptor will have invalidated them. Cloud Director does not require a manifest file during upload, it is optional, and creation of a new one is not required."Content Hub -> Add -> Upload OVA/OVF"
option to upload the edited OVF to the desired Catalog. Include all other files referenced by the OVF, such as VMDK files.