"Could not look up property 'vcloud.HardwareVersion.Hw4.MaxNics'" error when importing a VM from vSphere
search cancel

"Could not look up property 'vcloud.HardwareVersion.Hw4.MaxNics'" error when importing a VM from vSphere

book

Article ID: 320490

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • Import from vSphere operation fails with the error:
Could not look up property 'vcloud.HardwareVersion.Hw4.MaxNics'
  • This is seen with some VMs that have been restored using VEEAM.
  • The restored VM is looking for the following VM hardware version parameter 'vcloud.HardwareVersion.Hw4.MaxNics', despite it actually having a much higher hardware version than 4.


Environment

VMware Cloud Director for Service Provider 9.x

Cause

This issue occurs when one or more VM Hardware Version parameters are missing from the vCloud Director database.

Resolution

  • This can be rectified by means of the cell-management-tool which allows you to insert configuration values directly into the vCloud/Cloud Director database.
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vcloud.HardwareVersion.Hw4.MaxNics -v 4 -v 0
  • To verify if the above has been added, please run the following command:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vcloud.HardwareVersion.Hw4.MaxNics -l