Description of problem: AWS flavor list is out of date. Missing all R4 and t2.2xlarge Version-Release number of selected component (if applicable): 5.7.1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** Bug 1427044 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq-providers-amazon/pull/171
cc1.4xlarge instance type is missing. I can see that instance types list on AWS site is obsolete: https://aws.amazon.com/ec2/instance-types/ So I created script to parse instance types from pricing list available: curl https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json | jq -r '.products' | jq '.[] | select(.attributes.location=="US East (N. Virginia)") | .attributes.instanceType' | sort -u | grep -v "null" | grep "\." This script also lets me filter it by region and list instance types atributtes.
see https://github.com/ManageIQ/manageiq-providers-amazon/blob/48d5ee4518a548c17849cb6dfeffcfc3b6ec0ffc/lib/tasks_private/instance_types.rake on how we fetch our data. A community driven resource http://www.ec2instances.info/ also uses these sources. So I'm not sure if this pricing list is correct with regards to what is orderable. But nice find - I was unaware of this info, which might come in useful, so thanks for sharing. And as a matter of fact we have cc1.4xlarge in the list of discontinued types: https://github.com/ManageIQ/manageiq-providers-amazon/blob/48d5ee4518a548c17849cb6dfeffcfc3b6ec0ffc/app/models/manageiq/providers/amazon/instance_types.rb#L1864 If you feel the discontinued instance types should show up somewhere, pls open a separate BZ
Verified in 5.8.0.12. AWS flavor list is same as list of instance types which I can deploy in AWS. I thought I saw somewhere cc1.4xlarge with some kind of AMI as option for deployment, but I can't remember where...