Error : "validation error on field 'bootRetryDelayMs': Value must be between 10 and 2147483 seconds" when editing VM settings
search cancel

Error : "validation error on field 'bootRetryDelayMs': Value must be between 10 and 2147483 seconds" when editing VM settings

book

Article ID: 391386

calendar_today

Updated On: 06-06-2025

Products

VMware Cloud Director

Issue/Introduction

  • Editing VM general settings or VM disk settings fails with the error below:

    [########-####-####-########74f1] validation error on field 'bootRetryDelayMs': Value must be between 10 and 2147483 milli seconds

  • In /opt/vmware/vcloud-director/logs/vcloud-container-debug.log below entry can be seen:

    DATE TIME | ERROR    | pool-jetty-254461         | AbstractValidationMethodInterceptor | validation error at method VAppService.updateVm, parameter 0 (field VmSpec.updateVm.arg0.bootRetryDelayMs): Value must be between 10 and 2147483 seconds. | requestId=########-####-####-########74f1,request=POST https://cloud.example.com/api/vApp/vm-########-####-####-########122a/action/reapplyComputePolicy,requestTime=1742382445542,remoteAddress=##.##.##.##:56298,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha

  • If you try to edit the VM general settings the SAVE icon is greyed out.
  • The Failed Boot Recovery Delay option on the VM is not enabled or set to a value less than 10 seconds.
  • Once the BootRetryDelay for the VM has been changed in vCenter on the VM settings, the SAVE icon in VMware Cloud Director UI is again available.
  • This issue occurs after upgrading VMware Cloud Director from 10.5.1 to 10.6.1.

Environment

VMware Cloud Director 10.6.1

Cause

This issue occurs because VCD enforces a validation that the BootRetryDelay for a VM must be between 10 milli seconds and 2147483 milli seconds. If this parameter has a value of 0 or if you are not using the parameter, when editing the VM, the VM validation process fails.

Resolution

The issue has been resolved in 10.6.1.1

For VMware Cloud Director version 10.6.1 the workaround is provided below

Workaround:

  • Edit the settings of a VM
  • Using the Tenant Portal, navigate to the details page of the VM, and click Edit to change the general settings.
  • Turn on the Failed Boot Recovery toggle.
  • Set the Failed Boot Recovery Delay to 10, and click Save.
There is no known workaround for bulk VM edit.
 
Alternate Method:

Edit the "Failed Boot Recovery" VM settings in vCenter to the default value "10 milli seconds". For additional information please visit the documentation Delay the Boot Sequence

Additional Information