Import virtual machine from vCenter to Cloud Director fails after upgrade to Cloud Director 10.4.2
search cancel

Import virtual machine from vCenter to Cloud Director fails after upgrade to Cloud Director 10.4.2

book

Article ID: 330120

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • Import virtual machine from vCenter into Cloud Director fails
  • Within log reviews, the provider might see the following error:
    • Caused by: java.lang.NullPointerException
              at com.vmware.vcloud.inventory.dao.impl.VirtualMachineRTDaoImpl.getVmModelVersionNumberByCloudUuid(VirtualMachineRTDaoImpl.java:59)


Cause

This is caused by a cloud.uuid property being set on the virtual machine in vCenter.

Resolution

This is a Known Issue affecting Cloud Director version 10.4.2.
To fix, upgrade to version 10.4.2.1 or later.

Workaround:
Note: Check with backup software to ensure the cloud.uuid value is not needed.
Note: Removing the cloud.uuid value is requires the VM to be in a powered off state. 

Before importing into Cloud Director:
  1. Login to vCenter
  2. Edit Settings on the virtual machine to import
  3. Choose the VM Options
  4. Expand the Advanced
  5. Choose the Edit Configuration
  6. Filter the name for cloud.uuid
  7. Remove the value
  8. Click OK
  9. Click OK