aws / aws/eks-anywhere

Fix govc "pipe closed" issue when auto importing through CLI

Open
#4,507 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

The cli used the `govc library.import` command to import using the content library, which causes the command to fail with `Error transferring file` `Pipe closed.`. When doing it through the UI however, it doesn't run into this issue, which for now is a workaround for users to manually import their OVAs using the UI: https://anywhere.eks.amazonaws.com/docs/reference/vsphere/vsphere-ovas/

We should perform the following actions in order to improve the overall user experience to see if we can get rid of this problem for the 1.24 BottleRocket OVA for the latest release.

- [ ] Rebuild the OVA to see if it will alleviate the issue for the latest release
- [ ] Change the autoimport logic to directly import without using the content library
- [ ] Investigate other aspects of the import process that might cause an issue with OVA and/or VSphere environment

Contributor guide

Open the contributing guide

Research direction

Start by locating the autoimport logic that invokes govc library.import and reproduce the Error transferring file/Pipe closed failure with the 1.24 Bottlerocket OVA. Compare the CLI path with the UI workaround, then evaluate the listed import alternatives and confirm a latest-release OVA imports successfully without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.