Bug 1556976 - Some ec2 instance types are missing in CFME
Summary: Some ec2 instance types are missing in CFME
Keywords:
Status: CLOSED DUPLICATE of bug 1555046
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Tomas Coufal
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ec2:provisioning
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-15 16:25 UTC by Matouš Mojžíš
Modified: 2018-04-04 17:25 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-04 17:25:05 UTC
Category: ---
Cloudforms Team: AWS
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matouš Mojžíš 2018-03-15 16:25:42 UTC
Description of problem:
Some of these instance types are region specific.

Version-Release number of selected component (if applicable):
5.9.0.22

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
x1e type missing
i3 type missing
c5 type missing
p3 type missing
m5 type missing but already reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1555046

Expected results:


Additional info:

Comment 3 Bronagh Sorota 2018-03-16 15:26:30 UTC
Hi Matous,
The inclusion of new instance types is being taken care of by open BZ https://bugzilla.redhat.com/show_bug.cgi?id=1555046

However, given that this BZ was reported against 5.9.* you are able to add support for these instance types yourself by editing the advanced settings, like this:

:ems_amazon:
   <snip>
    :additional_instance_types: {}
    #  :t9.large:
    #  :name: t9.large
    #  :family: General purpose
    #  :description: T9 Large
    #  ...

    :disabled_instance_types: []
    # disable instance_types by their keys found in app/models/manageiq/providers/amazon/instance_types.rb e.g.
    # - t2.nano

Comment 4 Matouš Mojžíš 2018-03-22 13:11:24 UTC
Hi Bronagh,
can you give me full example of one instance type added in advanced_settings?
I tried to add one, but I always had malformed format so it wasn't saved.

Thanks

Comment 5 Bronagh Sorota 2018-03-26 15:44:09 UTC
Hi Matous,
Can you please paste into this BZ what you tried?

Hi James,
Can you help Matous?

Thanks
Bronagh

Comment 7 Tomas Coufal 2018-04-03 14:50:38 UTC
Currently listed types in upstream:

AVAILABLE_TYPES = ["c4", "c5", "d2", "f1", "g3", "h1", "i3", "m4", "m5", "p2", "p3", "r4", "t2", "x1", "x1e"]

DEPRECATED_TYPES = ["c1", "c3", "cc2", "cr1", "g2", "hs1", "i2", "m1", "m2", "m3", "r3", "t1"]

DISCONTINUED_TYPES = ["cc1", "cg1", "hi1", "unknown"]

The list of types was updated two weeks ago by someone else than me [1]. It's already backported to Gaprindashvili as well.

Matous, please let me know if I can help you anyhow with the additional settings thingy to set it up manually. 

This bug can be moved to POST since the patch is already in upstream.

[1] https://github.com/ManageIQ/manageiq-providers-amazon/pull/420

Comment 8 Satoe Imaishi 2018-04-04 17:25:05 UTC

*** This bug has been marked as a duplicate of bug 1555046 ***


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