Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Export to ovf makes a bad ovf file #3440

Open
mdelazza opened this issue May 16, 2024 · 1 comment
Open

[BUG] Export to ovf makes a bad ovf file #3440

mdelazza opened this issue May 16, 2024 · 1 comment

Comments

@mdelazza
Copy link

mdelazza commented May 16, 2024

Describe the bug
ovf file has wrong file references size
e.g.
<References> <File ovf:href="vm-disk-0.vmdk" ovf:id="file1" ovf:size="92341796864"/> <File ovf:href="vm-disk-1.vmdk" ovf:id="file2" ovf:size="92341796864"/> <File ovf:href="vm-disk-2.vmdk" ovf:id="file3" ovf:size="92341796864"/> </References>
must be:
<References> <File ovf:href="vm-disk-0.vmdk" ovf:id="file1" ovf:size="9856942080"/> <File ovf:href="vm-disk-1.vmdk" ovf:id="file2" ovf:size="3832659456"/> <File ovf:href="vm-disk-2.vmdk" ovf:id="file3" ovf:size="6024260608"/> </References>

92341796864 is the size of the whole VM
To Reproduce
Steps to reproduce the behavior:

./govc export.ovf -vm=xxx -k=true -f=true /tmp

Expected behavior
file size must be correct

Affected version
latest

Copy link
Contributor

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

@mdelazza mdelazza changed the title Export to ovf makes a bad ovf file[BUG] [BUG] Export to ovf makes a bad ovf file May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant