[aws] instance selection based on cpu, memory, nested-virt, etc. not working for default values of cpus, and memory
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- aws, go
- Domain
- cloud, infrastructure
Research direction
Start by reproducing the mapt AWS create failure and compare its default CPU and memory criteria with the ec2-instance-selector commands shown in the issue. Inspect the AWS create path and its instance-selection defaults; done means valid instances are selected for the defaults and the create operation no longer exits with "no instances matching criteria."
Written by the indexing model from the issue text.
Description
While using mapt the create operation exits with the following error:
DEBU running 'mapt aws rhel create'
DEBU context initialized for mapt7591cd5f
ERRO no instances matching criteria
while trying to use the ec2-instance-selection tool (https://github.com/aws/amazon-ec2-instance-selector) which is the library that mapt uses we get the following error:
% ec2-instance-selector --memory 64 --vcpus 8 --baremetal
NOTE: The criteria was too narrow and returned no valid instance types. Consider broadening your criteria so that more instance types are returned.
when providing the cpus, memory as the minimum value it works:
% ec2-instance-selector --memory-min 64 --vcpus-min 8 --baremetal
c5.metal
c5d.metal
c5n.metal
c6a.metal
c6g.metal
c6gd.metal
c6i.metal
c6in.metal
c7g.metal
c7gd.metal
c7i.metal-24xl
c7i.metal-48xl
c8g.metal-24xl
c8g.metal-48xl
g4dn.metal
i3.metal
i3en.metal
i4i.metal
m5.metal
m5d.metal
NOTE: 30 entries were truncated, increase --max-results to see more
We'll have to update our default values, and also consider using the cpus, memory as the minimum value while filtering
- Dominant language
- Go
- Stars
- 26
- Forks
- 41
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 27
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from redhat-developer/mapt
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
redhat-developer/mapt#997 ·
Maintainers usually reply within 3 days
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH keyMay be free again @abdulazeem-tk4vr claimed this 167 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/mapt#817 · 12 comments ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
redhat-developer/mapt#991 ·
Maintainers usually reply within 3 days
-
enhancement provider/AWS provider/IBMCLOUD target/openshift-snc
Difficulty 4/5 3-5 days Newbie friendliness 57/100
redhat-developer/mapt#990 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
redhat-developer/mapt#974 ·
Maintainers usually reply within 3 days
All issues in redhat-developer/mapt
Similar issues
-
effort:s impact:low raised-by:reviewer risk:low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
medici-finance/assay#8050 · 1 comment ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
factory:subtask
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
enhancement needs-triage service/licensemanager
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hashicorp/terraform-provider-aws#51503 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100