Open fpiecka opened 1 month ago
Howdy 🖐 fpiecka ! 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.
@fpiecka We also faced the same issue. We were also previously using v0.37.1 which was successful, but when we switched to v0.37.2, the disk resize started failing. We are currently working around it with a patch to govmomi, that reverts setting the capacityInKB
value to 0. So I believe deprecating capacityInKB
by setting it to 0 (as is being done in https://github.com/vmware/govmomi/commit/e6fe159bf77e743d815f2204598f53f1b1d21b7c) has some unintended consequences.
Describe the bug Unable to expand disk in version 0.37.2.
0.37.1 works.
To Reproduce Steps to reproduce the behavior:
podman run --rm -it -e GOVC_URL -e GOVC_USERNAME -e GOVC_PASSWORD vmware/govc:v0.37.2 /govc vm.disk.change -vm "${VM_NAME}" -disk.key 2000 -size "20G"
Expected behavior Disk should be resized.
Affected version 0.37.2 is affected and anything older works. I expect the problem is with commit e6fe159bf77e743d815f2204598f53f1b1d21b7c.
Screenshots/Debug Output
I think the problem is the difference in the following SOAP call. Everything else in the trace output seems the same.
Additional context vCenter version: 8.0.2.00100 (Build: 22617221)