Bug 1785383

Summary: Add AWS appliance image
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: BuildAssignee: Satoe Imaishi <simaishi>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: cbudzilo, dmetzger, jhoyt, mmojzis, obarenbo
Target Milestone: GAKeywords: Reopened, ZStream
Target Release: 5.11.2Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1746011 Environment:
Last Closed: 2020-02-12 05:02:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1746011    
Bug Blocks:    

Comment 10 Matouš Mojžíš 2020-01-28 10:56:30 UTC
I can still see some issues in documentation:

There is link for https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html I think it shouldn't link to image-import but rather prerequisites? https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html

containers.json file should be single object for snapshot-import so array should be removed in that file.

"aws ec2 import-snapshot --disk-containers file://containers.json" should be "aws ec2 import-snapshot --disk-container file://containers.json" - only one container can be imported.

Region should be set or there should be a warning that S3 bucket must be in same region as where we want to import snapshot.
Otherwise I get this error: An error occurred (InvalidParameter) when calling the ImportSnapshot operation: The given S3 object is not local to the region

I tried it with steps in documentation and it worked except some little nuances described above.

Comment 15 Matouš Mojžíš 2020-02-03 12:59:08 UTC
Verified in 5.11.2.1. I was able to create appliance image in AWS EC2 using import-snapshot functionality.
Created separate BZ for documentation changes according the new process of importing image: https://bugzilla.redhat.com/show_bug.cgi?id=1797585

Comment 17 Joan Hoyt 2020-02-06 19:15:23 UTC
*** Bug 1797585 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2020-02-12 05:02:46 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-2020:0452