Bug 1557025
Summary: | [RFE] Amazon provider - Allow user to enable and disable instance_types | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Bronagh Sorota <bsorota> |
Component: | Providers | Assignee: | James Wong <jwong> |
Status: | CLOSED ERRATA | QA Contact: | Matouš Mojžíš <mmojzis> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.8.0 | CC: | bsorota, cpelland, gblomqui, jfrey, jhardy, jprause, jwong, mmojzis, obarenbo, simaishi |
Target Milestone: | GA | Keywords: | FutureFeature, ZStream |
Target Release: | 5.8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | ec2:instance | ||
Fixed In Version: | 5.8.4.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-25 14:18:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | AWS | Target Upstream Version: | |
Embargoed: |
Description
Bronagh Sorota
2018-03-15 19:44:27 UTC
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. This BZ was created for the backport of PR https://github.com/ManageIQ/manageiq-providers-amazon/pull/289 to 4.5.z Answered needsinfo in https://bugzilla.redhat.com/show_bug.cgi?id=1557025#c4 removing needsinfo flag. New commit detected on ManageIQ/manageiq/fine: https://github.com/ManageIQ/manageiq/commit/1efe7a4aff9ce4d2027c9de2fd0f5715b9a5eb46 commit 1efe7a4aff9ce4d2027c9de2fd0f5715b9a5eb46 Author: Nick Carboni <ncarboni> AuthorDate: Wed Sep 20 17:23:27 2017 -0400 Commit: Nick Carboni <ncarboni> CommitDate: Wed Sep 20 17:23:27 2017 -0400 Merge pull request #15990 from jameswnl/rep-server-settings Tool to replicate server settings to other servers (cherry picked from commit a215bb733535f250c58c18c555793b9b09cc805e) https://bugzilla.redhat.com/show_bug.cgi?id=1557025 spec/tools/server_settings_replicator/server_settings_replicator_spec.rb | 31 + tools/replicate_server_settings.rb | 20 + tools/server_settings_replicator/server_settings_replicator.rb | 31 + 3 files changed, 82 insertions(+) New commit detected on ManageIQ/manageiq-providers-amazon/fine: https://github.com/ManageIQ/manageiq-providers-amazon/commit/27eb32c874b4c877f200b81b0e141b73a2703287 commit 27eb32c874b4c877f200b81b0e141b73a2703287 Author: Bronagh Sorota <bsorota> AuthorDate: Mon Sep 18 14:35:06 2017 -0400 Commit: Bronagh Sorota <bsorota> CommitDate: Mon Sep 18 14:35:06 2017 -0400 Merge pull request #289 from jameswnl/instancetypes Support custom instance_types (cherry picked from commit 5d3a5f8950878e75d9cbef6255213b9c04e0aaa9) https://bugzilla.redhat.com/show_bug.cgi?id=1557025 app/models/manageiq/providers/amazon/instance_types.rb | 16 +- config/settings.yml | 13 + lib/tasks_private/instance_types.rake | 24 +- spec/models/manageiq/providers/amazon/instance_types_spec.rb | 75 + 4 files changed, 114 insertions(+), 14 deletions(-) Hello, I tried to reproduce it on my appliance. I was able to disable instance types, but adding another instance type didn't add it to flavors. James, I was able to add instance type and instance type is listed in Flavors, but I don't know how set virtualization type for custom instance type. I tried this: :virtualization_type: - HVM - paravirtual - hvm but it didn't work. Thanks Motous, Can you try using ':hvm' as the value? thanks James James, I was able to set HVM/paravirtualization to true in flavors list, but I still can't see this custom instance in Provision properties. I tried it with EBS and even without it. Thanks Matous, Interesting, I'm able to see the new types in rails c irb(main):028:0> ManageIQ::Providers::Amazon::InstanceTypes.instance_types['t9.large'] => {:ebs_only=>false, :virtualization_type=>[:hvm, :paravirtual], :architecture=>[], :vcpu=>1, :memory=>4096, :description=>"T9 Large", :family=>"General purpose", :name=>"t9.large"} irb(main):030:0> ManageIQ::Providers::Amazon::InstanceTypes.instance_types['t9.large'][:virtualization_type] => [:hvm, :paravirtual] James, I am able to see custom instance types in Instance Types (Flavors page), but they are not displayed in provisioning while selecting instance type. Hi Matous, I think the problem with the provisioning dialogs is a separate issue, can you please open a new BZ to track it. Thanks Bronagh Okay, verified in 5.8.4.3. I am able to add custom instance type. Also I filed this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1581785 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/RHSA-2018:1972 |