Unable to create a VM placement policy on Cloud Director 10.5.1
search cancel

Unable to create a VM placement policy on Cloud Director 10.5.1

book

Article ID: 325691

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:
  • During creation of a VM placement policy, the UI fails to display the VM Groups within the datacenter hierarchy display menu.
  • Within the log file /opt/vmware/vcloud-director/logs/vcloud-container-debug.log you observe the following error:
2024-02-01 18:47:52,319 | ERROR    | pc-activity-pool-6        | EventManagerImpl               | Listener failed to process event=VimUpdateEvent(modify,VirtualMachine,[vcId=1161a211-ab12-cd34-ef67-652b15434350, moref=vm-123456]) | activity=(com.vmware.vcloud.vimproxy.internal.impl.PCEventProcessingActivity,urn:uuid:03f75f03-cbde-409c-937c-d748b3ffa575)
java.lang.NullPointerException
at com.vmware.vcloud.api.presentation.entity.rcl.VmPvdcComputePolicySpec.equals(VmPvdcComputePolicySpec.java:113)
at com.google.common.base.Objects.equal(Objects.java:52)


Environment

VMware Cloud Director 10.5.1

Cause

This issue can occur if a policy in the pvdc_compute_policy table of the database has incomplete information within the policy_detail column.

This has been observed in Cloud Director 10.5.1.

Resolution

For assistance, contact VMware Support and note this Article ID (96665) in the problem description. For more information, see How to Submit a Support Request

To be alerted when this article is updated, click the Subscribe button in the Actions box.​