Bug 1293731

Summary: Amazon t2.nano instance type is not supported
Product: Red Hat CloudForms Management Engine Reporter: Joe Vlcek <jvlcek>
Component: ProvidersAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: amogh <amavinag>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: cpelland, jfrey, jhardy, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1293733 1293734 (view as bug list) Environment:
Last Closed: 2016-06-29 15:23:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1293733, 1293734    

Description Joe Vlcek 2015-12-22 21:28:25 UTC
Description of problem:
The new Amazon instance type t2.nano is not supported yet.

Need to add support for this newly introduced EC2 instance type

Comment 2 CFME Bot 2015-12-23 22:49:40 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1351fa103b36fa513bd1fe73b55b984235e4aaf4

commit 1351fa103b36fa513bd1fe73b55b984235e4aaf4
Author:     Joe VLcek <jvlcek>
AuthorDate: Wed Dec 23 14:01:35 2015 -0500
Commit:     Joe VLcek <jvlcek>
CommitDate: Wed Dec 23 14:01:35 2015 -0500

    Add Amazon t2.nano instance type
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1293734
    
    Original PR:
    https://github.com/ManageIQ/manageiq/pull/5942
    
    Original BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1293731
    
    The cherry pick was not clean because of the file layout refactoring.
    However the small changes were easily applied manually.

 lib/Amazon/MiqEc2InstanceTypes.rb                  | 24 ++++++++++++++++++++++
 .../refreshers/ec2_refresher_other_region_spec.rb  |  4 ++--
 .../ems_refresh/refreshers/ec2_refresher_spec.rb   |  4 ++--
 3 files changed, 28 insertions(+), 4 deletions(-)

Comment 3 CFME Bot 2015-12-23 22:49:48 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ca7894e247c716220b26a03219b7ac034bebc4bb

commit ca7894e247c716220b26a03219b7ac034bebc4bb
Merge: ca8dde7 1351fa1
Author:     Dan Clarizio <dclarizi>
AuthorDate: Wed Dec 23 17:29:49 2015 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Wed Dec 23 17:29:49 2015 -0500

    Merge branch 'bz_1293734' into '5.4.z'
    
    Add Amazon t2.nano instance type
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1293734
    
    Original PR:
    https://github.com/ManageIQ/manageiq/pull/5942
    
    Original BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1293731
    
    The cherry pick was not clean because of the file layout refactoring.
    However the small changes were easily applied manually.
    
    See merge request !667

 lib/Amazon/MiqEc2InstanceTypes.rb                  | 24 ++++++++++++++++++++++
 .../refreshers/ec2_refresher_other_region_spec.rb  |  4 ++--
 .../ems_refresh/refreshers/ec2_refresher_spec.rb   |  4 ++--
 3 files changed, 28 insertions(+), 4 deletions(-)

Comment 4 CFME Bot 2015-12-23 22:49:54 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=19881ca723aaae029edc74f8a5ff6e0bf0ca9ad7

commit 19881ca723aaae029edc74f8a5ff6e0bf0ca9ad7
Merge: cc13c9b c5cb59e
Author:     Jason Frey <jfrey>
AuthorDate: Wed Dec 23 17:29:27 2015 -0500
Commit:     Jason Frey <jfrey>
CommitDate: Wed Dec 23 17:29:27 2015 -0500

    Merge branch 'bz_1293731' into '5.5.z'
    
    Add Amazon t2.nano instance type
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1293733
    
        Original PR:
        https://github.com/ManageIQ/manageiq/pull/5942
    
        Original BZ:
        https://bugzilla.redhat.com/show_bug.cgi?id=1293731
    
        The cherry pick was not clean for the 2 spec files because of the recent
        rspec changes. However the small changes were easy to make and confirm.
    
    See merge request !665

 .../manageiq/providers/amazon/instance_types.rb    | 24 ++++++++++++++++++++++
 .../cloud_manager/refresher_other_region_spec.rb   |  4 ++--
 .../amazon/cloud_manager/refresher_spec.rb         |  4 ++--
 3 files changed, 28 insertions(+), 4 deletions(-)

Comment 5 CFME Bot 2015-12-23 22:50:02 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c5cb59effee0c9437029c6fcf6a5975743014ccf

commit c5cb59effee0c9437029c6fcf6a5975743014ccf
Author:     Joe VLcek <jvlcek>
AuthorDate: Mon Dec 21 11:56:26 2015 -0500
Commit:     Joe VLcek <jvlcek>
CommitDate: Wed Dec 23 11:21:32 2015 -0500

    Add Amazon t2.nano instance type
    
        https://bugzilla.redhat.com/show_bug.cgi?id=1293733
    
        Original PR:
        https://github.com/ManageIQ/manageiq/pull/5942
    
        Original BZ:
        https://bugzilla.redhat.com/show_bug.cgi?id=1293731
    
        The cherry pick was not clean for the 2 spec files because of the recent
        rspec changes. However the small changes were easy to make and confirm.

 .../manageiq/providers/amazon/instance_types.rb    | 24 ++++++++++++++++++++++
 .../cloud_manager/refresher_other_region_spec.rb   |  4 ++--
 .../amazon/cloud_manager/refresher_spec.rb         |  4 ++--
 3 files changed, 28 insertions(+), 4 deletions(-)

Comment 6 amogh 2016-05-03 18:44:59 UTC
Verified, fixed in 5.6.0.4-beta2.3.20160421172650_719e256 

Tested on EC2 East (us-east-1e); AMI used was "amzn-ami-minimal-hvm-2015.03.rc-0.x86_64-ebs".

Comment 8 errata-xmlrpc 2016-06-29 15:23:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348