Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1105671

Summary: [RFE] When adding Amis to the EC2 compute resource I would like to be told if I typed in a bad ami
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: Compute ResourcesAssignee: Ohad Levy <ohadlevy>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.3CC: dcleal, kbidarka, ohadlevy, sthirugn
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6098
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:09:23 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: 1324615    
Bug Blocks:    

Description Bryan Kearney 2014-06-06 17:12:01 UTC
I created a compute resource in Foreman 1.5+. It was EC2, US-east. I then added an ami which was in oregon. This caused my provisioning to fail. I would have liked a screen to tell me that the ami could not be seen. Barring that, I would like to see a "validate this" button which checks that the amis are visible.

Comment 1 Bryan Kearney 2014-06-06 17:12:59 UTC
Created redmine issue http://projects.theforeman.org/issues/6098 from this bug

Comment 2 Bryan Kearney 2015-01-20 13:02:08 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6098 has been closed
-------------
Tom Caspy
Applied in changeset commit:4cbb4a263e4e126a1395d5d5ac14f666fefa40b2.

Comment 3 Bryan Kearney 2015-02-18 22:21:37 UTC
Upstream bug assigned to tcaspy

Comment 7 Kedar Bidarkar 2016-04-04 20:04:01 UTC
Currently we do not have foreman-ec2 Package available for EC2 compute Resource.

Comment 8 Bryan Kearney 2016-04-04 20:08:57 UTC
Upstream bug component is Compute Resources

Comment 9 Ohad Levy 2016-04-12 13:15:25 UTC
foreman-ec2 1.11.0.12-1.el7sat package is now part of latest compose, please retest.

Comment 10 Kedar Bidarkar 2016-04-18 10:15:10 UTC
Now while adding the ami-<id> while image creation is validated for it's existence.

If the ami-<id> does not exist then the image creation fails when the submit button is hit, with a message saying "could not be found in ec2_100".

If the ami-<id> exists then the image creation becomes successful upon clicking the submit button.


VERIFIED with sat62-snap8.1

Comment 12 Kedar Bidarkar 2016-04-18 10:16:32 UTC
VERIFIED with sat62-snap8.1 as per comment 10

Comment 14 errata-xmlrpc 2016-07-27 09:09:23 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:1501