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] OVF template is illegal when created via "govc library.clone -ovf" #3308

Open
hunter86bg opened this issue Dec 11, 2023 · 3 comments
Open
Assignees

Comments

@hunter86bg
Copy link

Describe the bug
The OVF template in import.go is broken and leads to the following error when you try to use the template:

Issues detected with selected template. Details: - 47:7:VALUE_ILLEGAL: Value ''lsilogic'' of ResourceSubType element not found in
[VirtualSCSI]. - 55:7:VALUE_ILLEGAL: Value ''3'' of Parent element does not refer to a ref of type DiskControllerReference.

To Reproduce
Steps to reproduce the behavior:

  1. govc import.vmdk "/path/to/disk.vmdk"
  2. govc vm.create -net.adapter=vmxnet3 -m=4096 -c=2 -g="RHEL9_64Guest -firmware=efi -disk="PATH_TODISK_IN_VMWARE.vmdk" -disk.controller=scsi -on=false "VMNAME"
  3. govc library.clone -ovf -ds "VM_DATA_STORE" -vm "VMNAME" "LIBRARY" "OFV_NAME"

Expected behavior
Can create VM from the OVF Template.

Affected version
govc: 0.32.0
Vcenter version 7.0.X

Additional context
Not sure if 7f3a070 fixes it.

Copy link
Contributor

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

Copy link
Contributor

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

@hunter86bg
Copy link
Author

/remove-lifecycle stale

@tenthirtyam tenthirtyam self-assigned this Jun 1, 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

2 participants