-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
I want to use Aminator to create RHEL based AMIs. Aminating the image works as expected and I can boot the image, however when I attempt to use Yum I get errors such as:
https://rhui2-cds02.eu-west-1.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/6/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 Authorization Required"
I've researched this issue and it is fairly common on the AWS forums. The outcome seems to be that creating AMIs from Snapshots do not result in the AMI having the appropriate 'billingProducts' set. https://forums.aws.amazon.com/thread.jspa?messageID=440277񫟕
I can confirm that this is the case when I query the metadata on my aminated image.
# curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | grep billingProducts
"billingProducts" : null,
Vs the same query on the base image that aminator used.
# curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | grep billingProducts
"billingProducts" : [ "bp-6fa54006" ],
Is anybody aminating RHEL images? Is there a workaround that I'm missing?
Thanks
Tom
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels