vmware / govmomi

Go library for the VMware vSphere API
Apache License 2.0
2.26k stars 896 forks source link

[BUG] vcsim: #2911 mandated to pass the new disk size in Bytes and KB. If either of value is 0, ReconfigVM_Task is throwing *types.InvalidDeviceOperation #3423

Closed Davinder2me closed 2 months ago

Davinder2me commented 2 months ago

2911 mandated to pass the new disk size in Bytes and KB. If either of value is 0, ReconfigVM_Task is throwing *types.InvalidDeviceOperation

To Reproduce Steps to reproduce the behavior:

  1. Deploy VM using vRA with govcsim as endpoint.
  2. VM provisioning failed with InvalidDeviceOperation https://github.com/vmware/govmomi/commit/b6ebcb6bbb338b24d717fe64ca778049801bf974

Expected behavior ReconfigureVM_task should work with one value of new disk.

Affected version v0.37.1 and all other releases with https://github.com/vmware/govmomi/commit/b6ebcb6bbb338b24d717fe64ca778049801bf974

github-actions[bot] commented 2 months ago

Howdy 🖐   Davinder2me ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.