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

--output table-wide never return #331

Open
tanvp112 opened this issue Feb 13, 2024 · 1 comment
Open

--output table-wide never return #331

tanvp112 opened this issue Feb 13, 2024 · 1 comment

Comments

@tanvp112
Copy link

I tried the following command ec2-instance-selector --memory 4 --vcpus 2 --cpu-architecture x86_64 -r us-east-1 -o table-wide on Windows 11 with aws-cli/2.15.11 and the command never return. Eventually the process has to be killed. I have tried the same on Fedora with same aws cli version and the outcome is the same.

Any body has similar issue?

@elementalvoid
Copy link

I experience this too. It happens on both table-wide and interactive.

Thing is, it does work it's just excruciatingly slow the first time. Once the cache is built it seems to be reasonably fast.

Nuking the cache and running took 2 minutes. Subsequent runs took only 6-8 seconds.

The us-east-1-spot-pricing-cache.gob cache file seems to be what takes all the time. Interestingly, specifying --usage-class on-demand on the first run after nuking the cache still results in that cache file being generated even though the requested filter won't select spot instances. ¯\_(ツ)_/¯

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