Bug 1235449

Summary: [RFE] Add new M4 and t2.large instance types for Amazon EC2
Product: Red Hat CloudForms Management Engine Reporter: Jason Frey <jfrey>
Component: ProvidersAssignee: Jason Frey <jfrey>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.3.0CC: cpelland, dajohnso, gblomqui, jfrey, jhardy, mfeifer, obarenbo, rananda, snansi
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.3.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.5.1 Doc Type: Enhancement
Doc Text:
In the new version of CloudForms Management engine, the Amazon EC2 M4 and T2.large large instance types have been added. It is now possible to select these instance types when provisioning virtual machines on the Amazon EC2 provider.
Story Points: ---
Clone Of: 1235439 Environment:
Last Closed: 2015-07-15 12:55:59 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:
Embargoed:
Bug Depends On: 1235439    
Bug Blocks:    

Description Jason Frey 2015-06-24 20:31:05 UTC
+++ This bug was initially created as a clone of Bug #1235439 +++

Need to add new M4 instance types (m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge), and the new t2.large instance type.

--- Additional comment from CFME Bot on 2015-06-24 16:16:16 EDT ---

New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=63d50c677c116691556c33c277689edbbd91e5de

commit 63d50c677c116691556c33c277689edbbd91e5de
Author:     Jason Frey <jfrey>
AuthorDate: Mon Jun 15 12:25:07 2015 -0400
Commit:     Jason Frey <jfrey>
CommitDate: Wed Jun 24 16:07:50 2015 -0400

    Add Amazon M4 instance types
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235439

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

--- Additional comment from CFME Bot on 2015-06-24 16:16:19 EDT ---

New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5a872f7fd1d13ae65a2e28f702746675bbe13f17

commit 5a872f7fd1d13ae65a2e28f702746675bbe13f17
Author:     Jason Frey <jfrey>
AuthorDate: Thu Jun 18 10:02:53 2015 -0400
Commit:     Jason Frey <jfrey>
CommitDate: Wed Jun 24 16:07:57 2015 -0400

    Add Amazon t2.large instance type.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235439

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

--- Additional comment from CFME Bot on 2015-06-24 16:16:23 EDT ---

New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3ae711df8b1379724eb3db591f675746afbacbd2

commit 3ae711df8b1379724eb3db591f675746afbacbd2
Merge: 71081f3 5a872f7
Author:     Greg Blomquist <gblomqui>
AuthorDate: Wed Jun 24 16:13:47 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Wed Jun 24 16:13:47 2015 -0400

    Merge branch '5.4.z_add_new_amazon_types' into '5.4.z'
    
    Add new M4 and t2.large instance types for Amazon EC2
    
    Clean cherry-pick from https://github.com/ManageIQ/manageiq/pull/3168 and https://github.com/ManageIQ/manageiq/pull/3209
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235439
    
    @gblomqui Please review
    
    See merge request !146

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

Comment 1 CFME Bot 2015-06-25 13:42:34 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a72b94bf315ec8276e6de5bd02334fc4209560fd

commit a72b94bf315ec8276e6de5bd02334fc4209560fd
Author:     Jason Frey <jfrey>
AuthorDate: Mon Jun 15 12:25:07 2015 -0400
Commit:     Jason Frey <jfrey>
CommitDate: Wed Jun 24 16:32:09 2015 -0400

    Add Amazon M4 instance types
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235449
    
    Conflicts:
    	vmdb/spec/models/ems_refresh/refreshers/ec2_refresher_spec.rb

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

Comment 2 CFME Bot 2015-06-25 13:42:38 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a95664b4711adcd86d860ff1ae0c3d39380918a2

commit a95664b4711adcd86d860ff1ae0c3d39380918a2
Author:     Jason Frey <jfrey>
AuthorDate: Thu Jun 18 10:02:53 2015 -0400
Commit:     Jason Frey <jfrey>
CommitDate: Wed Jun 24 16:32:16 2015 -0400

    Add Amazon t2.large instance type.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235449
    
    Conflicts:
    	vmdb/spec/models/ems_refresh/refreshers/ec2_refresher_spec.rb

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

Comment 3 CFME Bot 2015-06-25 13:42:42 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=11690278e3d59285478c45116ec0ff15ce7247ec

commit 11690278e3d59285478c45116ec0ff15ce7247ec
Merge: 0185524 a95664b
Author:     Greg Blomquist <gblomqui>
AuthorDate: Thu Jun 25 09:35:33 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Thu Jun 25 09:35:33 2015 -0400

    Merge branch '5.3.z_add_new_amazon_types' into '5.3.z'
    
    5.3.z: Add new M4 and t2.large instance types for Amazon EC2
    
    Cherry-pick from https://github.com/ManageIQ/manageiq/pull/3168 and https://github.com/ManageIQ/manageiq/pull/3209
    
    There were conflicts in vmdb/spec/models/ems_refresh/refreshers/ec2_refresher_spec.rb, but I just changed the numbers, so the resolution was simple.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1235449
    
    @gblomqui Please review
    
    See merge request !147

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

Comment 5 Ramesh A 2015-07-01 03:30:53 UTC
Good to go.  Verified and working fine in 5.3.5.1.20150630091250_5515226

Choosing a 64-bit HVM AMI displays M4 instance types (m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge), and the new t2.large instance type

Comment 7 errata-xmlrpc 2015-07-15 12:55:59 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://rhn.redhat.com/errata/RHBA-2015-1223.html