Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

One or more AMIs are Unavailable #6

Open
vallamost opened this issue Apr 9, 2018 · 5 comments
Open

One or more AMIs are Unavailable #6

vallamost opened this issue Apr 9, 2018 · 5 comments

Comments

@vallamost
Copy link

vallamost commented Apr 9, 2018

When deploying to us-west-2 with CloudFormation using the latest templates, I'm getting an error stating "Not authorized for image: [ami-155cc475]" when running from an AWS admin user.

Can someone please verify if the AMI IDs listed in the template are correct?

As a workaround I pulled the latest AMIs for commercial regions using this command:

aws ec2 describe-images \
--owners 895557238572  \
--query 'sort_by(Images,&Name)[*].{Name:Name,ImageID:ImageId}' \
--output=text

@webdog
Copy link
Contributor

webdog commented Apr 18, 2018

@isseiler We removed the GitHub Enterprise 2.9.4 AMIs recently. The quickstart templates have been updated to 2.13.1. Could you try again?

x-ref: #9

Thanks!

@vallamost
Copy link
Author

vallamost commented Apr 22, 2018

Still seeing the AMI errors when trying to launch into an existing VPC.

When trying to launch the new templates for a new VPC I am now seeing errors around the creation of the VPC:

2018-04-22 Status Type Logical ID Status Reason
10:13:18 UTC-0700 ROLLBACK_COMPLETE AWS::CloudFormation::Stack GitHub-Enterprise
10:13:17 UTC-0700 DELETE_COMPLETE AWS::CloudFormation::Stack GHEVPCStack
10:12:29 UTC-0700 DELETE_IN_PROGRESS AWS::CloudFormation::Stack GHEVPCStack
10:12:21 UTC-0700 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack GitHub-Enterprise The following resource(s) failed to create: [GHEVPCStack]. . Rollback requested by user.
10:12:20 UTC-0700 CREATE_FAILED AWS::CloudFormation::Stack GHEVPCStack Embedded stack arn:aws:cloudformation:us-west-2:myAccountId:stack/GitHub-Enterprise-GHEVPCStack-1TXXBV8FGAXD0/3c367510-4650-11e8-afde-503acbd4dc8d was not successfully created: The following resource(s) failed to create: [AttachGateway, PublicSubnet].
10:11:46 UTC-0700 CREATE_IN_PROGRESS AWS::CloudFormation::Stack GHEVPCStack Resource creation Initiated

I am launching them from the official page here: https://aws.amazon.com/quickstart/architecture/github-enterprise/

I think these templates should be taken down for now until the issues I've reported are fixed and these templates have been thoroughly tested better, they are too buggy.

@CoreySmithRing
Copy link

Is this still a known issue? I am getting the same error.

@zentahori
Copy link

I am still getting the same error as well.
The issue is NOT resolved.

The image id 'ami-00b833e649a073915' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidAMIID.NotFound;

@adamn
Copy link

adamn commented Mar 26, 2021

Is this still an issue? I believe 4e8ec81 fixes it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants