vmware / govmomi

Go library for the VMware vSphere API
Apache License 2.0
2.32k stars 913 forks source link

[BUG] OVF uploads not aborted on error #3554

Closed Xiol closed 4 weeks ago

Xiol commented 2 months ago

Describe the bug If an error occurs during OVF upload, the NFC lease isn't aborted, leading to the upload remaining in vCenter until it times out.

To Reproduce Steps to reproduce the behavior:

  1. Use importer.Import to import an OVF to a vCenter.
  2. Cause an error to occur during the upload resulting in importer.Import failing to upload files.
  3. Note the upload remains in vCenter.

Expected behavior On an upload error, the lease should be aborted.

Affected version v0.43.0

Screenshots/Debug Output image

Additional context N/A

github-actions[bot] commented 2 months ago

Howdy 🖐   Xiol ! 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.