Bug 1427966 - AWS flavor list is out of date.
Summary: AWS flavor list is out of date.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.8.0
Assignee: Marcel Hild
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ec2:provider
: 1427044 (view as bug list)
Depends On:
Blocks: 1432957
TreeView+ depends on / blocked
 
Reported: 2017-03-01 15:31 UTC by Josh Carter
Modified: 2020-04-15 15:24 UTC (History)
8 users (show)

Fixed In Version: 5.8.0.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1432957 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:49:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josh Carter 2017-03-01 15:31:57 UTC
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:

Comment 3 Greg Blomquist 2017-03-02 14:56:27 UTC
*** Bug 1427044 has been marked as a duplicate of this bug. ***

Comment 6 Matouš Mojžíš 2017-04-27 15:17:15 UTC
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.

Comment 7 Marcel Hild 2017-04-28 07:05:53 UTC
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

Comment 8 Matouš Mojžíš 2017-04-28 14:05:30 UTC
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...


Note You need to log in before you can comment on or make changes to this bug.