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] govc import.ova not working if ESXI hostnames don't don't resolve #3437

Open
luisdavim opened this issue May 13, 2024 · 1 comment
Open

Comments

@luisdavim
Copy link

luisdavim commented May 13, 2024

Describe the bug
govc import.ova not working if ESXI hostnames don't resolve to an IP address.

To Reproduce
Steps to reproduce the behavior:

Follow the steps in the docs to import a OVA file

Expected behavior

It should be possible to import OVA files even if the ESXI hostnames don't have a DNS record.

Affected version

latest using:

curl -Lo - "https://github.com/vmware/govmomi/releases/latest/download/govc_$(uname -s)_$(uname -m).tar.gz" | tar -xvzf - govc

Screenshots/Debug Output

govc import.ova -options=photon-3-kube-v1.24.17-vmsp.json -ds="${DATASTORE}" -pool="${VSPHERE_RESOURCE_POOL}" photon-3-kube-v1.24.17-vmsp.ova
[13-05-24 13:03:24] Warning: Line 104: Invalid value '1' for element 'AddressOnParent'.
[13-05-24 13:03:26] Uploading photon-3-kube-v1.24.17-vmsp-disk1.vmdk... Error: Post "https://esxi-1.vrack.vsphere.local/nfc/5291b4cd-7c0d-77c2-1308-1a1c4114baf1/disk-0.vmdk": dial tcp: lookup esxi-1.vrack.vsphere.local on 127.0.0.53:53: server misbehaving
govc: Post "https://esxi-1.vrack.vsphere.local/nfc/5291b4cd-7c0d-77c2-1308-1a1c4114baf1/disk-0.vmdk": dial tcp: lookup esxi-1.vrack.vsphere.local on 127.0.0.53:53: server misbehaving

Additional context
Add any other context about the problem here.

Copy link
Contributor

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

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