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

ova cannot be imported into vsphere #8672

Open
Martin-Lierschof opened this issue Apr 29, 2024 · 2 comments
Open

ova cannot be imported into vsphere #8672

Martin-Lierschof opened this issue Apr 29, 2024 · 2 comments

Comments

@Martin-Lierschof
Copy link

Bug Report

Version: 1.7.0 and version 1.6.7 ova cannot be imported into vcenter/vsphere

Description

Downloading the file first locally:
https://github.com/siderolabs/talos/releases/download/v1.7.0/vmware-amd64.ova
https://github.com/siderolabs/talos/releases/download/v1.6.7/vmware-amd64.ova
https://github.com/siderolabs/talos/releases/download/v1.6.5/vmware-amd64.ova

When importing via govc:

  • govc library.import -n vmlibname contentlibname ./vmware-amd64-1.7.0.ova fails
  • govc library.import -n vmlibname contentlibname ./vmware-amd64-1.6.7.ova fails
  • govc library.import -n vmlibname contentlibname ./vmware-amd64-1.6.5.ova works

Same behavior is when importing it via the web ui of vsphere.
1.6.6 not tested.

Logs

400 Bad Request: {"type":"com.vmware.vapi.std.errors.not_allowed_in_current_state","value":{"error_type":"NOT_ALLOWED_IN_CURRENT_STATE","messages":[{"args":["complete","ERROR","Error transferring file disk.vmdk to ds:///xxxx. Reason: IO error during transfer of ds:///xxx: Pipe closed"],"default_message":"The operation complete can not be invoked when the import session is in the ERROR state. Reason: Error transferring file disk.vmdk to ds:///xxx. Reason: IO error during transfer of ds:///xxx: Pipe closed","id":"com.vmware.vdcs.cls-main.update_session_invalid_state_for_operation_reason"}]}}

Environment

  • Talos version: 1.6.7, 1.70
  • Kubernetes version: all supported
  • Platform: VSphere VCenter 8.0.2 Build: | 22617221 -> Host hypervisor: VMware ESXi, 7.0.3, 21313628
@smira
Copy link
Member

smira commented Apr 29, 2024

There were similar bugreports already, but there were no changes in the way VMWare images are built. Can you please gather some more logs from VMWare / contact VMWare support to figure out the problem?

We're happy to fix, but we have zero idea on what is wrong.

@soulwhisper
Copy link

As far as I know, this is an error for vmware, not talos.
I am using script uploading image to vsphere like this govc library.import -n talos-drbd-170 k8s-talos "./talos-drbd-170.ova".
Image tested from v1.6.0 to v1.7.1, all good.

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

3 participants