Custom forms schema error when using the vCenter Disks element
search cancel

Custom forms schema error when using the vCenter Disks element

book

Article ID: 328232

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
When dropping Disks element with custom properties applied to canvas in Custom form Designer with Blueprint having vSphere machine component, you see this error in the Inspector Panel:

vSphere__vCenter__Machine_1~disks: Schema fields [[is_clone, initial_location, volumeId, id, label, custom_properties, userCreated, storage_reservation_policy, capacity]] should match the default value fields [[is_clone, initial_location, volumeId, id, label, userCreated, storage_reservation_policy, capacity]].

Cause

This issue occurs because of a mismatch in vSphere blueprint schema between the header and the default value. Additional attribute is added to the default value (custom_properties), but not added to the header.

Resolution

This issue is resolved in VMware vRealize Automation 7.5, available at VMware Downloads.

Workaround:
To work around this issue if you do not want to upgrade, remove the custom_properties attribute and their values from the default value:
  1. Select the Disks element.
  2. Go to Values tab.
  3. Expand Default Values and modify the value.