redhat-developer / redhat-developer/mapt

[BUG] Spot instance type recommendation not available on recommended region

Open
#313 8 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug priority/HIGH provider/AWS provider/AZURE
Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

Description

There is some checks missing when looking for best spot price / type machine:

We can see:

DEBU Based on avg prices for instance types [m4.large m5.large m5a.large m5ad.large m5d.large m5dn.large m5n.large m5zn.large m6a.large m6i.large m6id.large m6idn.large m6in.large m7a.large m7i-flex.large] is az eu-west-2b, current avg price is 0.05 and max price is 0.05 with a score of 9 
INFO @ updating.............                      
INFO  +  rh:qe:aws:bso main-bso-bso creating (0s)  
INFO  +  rh:qe:aws:bso main-bso-bso created       
INFO  +  pulumi:pulumi:Stack debug-fedora-spotOption-debug-fedora created (10s)  
INFO Outputs:                                     
INFO     avg   : 0.0452                           
INFO     az    : "eu-west-2b"                     
INFO     max   : 0.0452                           
INFO     region: "eu-west-2"                      
INFO     score : 9                                

But when we try to use the recommended machine type we got:

Diagnostics:
  aws:ec2:Eip (eip-publicmain-afd-net):
    warning: urn:pulumi:stackFedoraBaremetal-debug-fedora::debug-fedora::aws:ec2/eip:Eip::eip-publicmain-afd-net verification warning: use domain attribute instead

  pulumi:pulumi:Stack (debug-fedora-stackFedoraBaremetal-debug-fedora):
    error: update failed

  aws:autoscaling:Group (main-afd-asg):
    error: 1 error occurred:
    	* creating Auto Scaling Group (main-afd-asg-89ce230): operation error Auto Scaling: CreateAutoScalingGroup, https response error StatusCode: 400, RequestID: 0175d099-0523-431f-9dee-a39975af885d, api error ValidationError: The specified instance type m5zn.large is not valid

Resources:
    + 20 created

Duration: 2m45s

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.