Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker install fails on default packer script #4

Closed
mbartsch opened this issue Jul 12, 2018 · 3 comments
Closed

Docker install fails on default packer script #4

mbartsch opened this issue Jul 12, 2018 · 3 comments

Comments

@mbartsch
Copy link
Contributor

the packer script fails as the way to install docker in amazon linux 2 has changed.

if you the script as it is now , you get the following error, i have put a pr #2 to fix this, also introduce nfs utils, if you want I can remove that PR and create a new one only with the change to the installer.

    amazon-ebs: Complete!
    amazon-ebs: Loaded plugins: priorities, update-motd
    amazon-ebs: No package docker available.
    amazon-ebs: Error: Nothing to do
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Script exited with non-zero exit status: 1

==> Builds finished but no artifacts were created.
make: *** [ami] Error 1
@jhaynes
Copy link

jhaynes commented Jul 12, 2018

This is related to #7. In the LTS AL2 AMI, the Docker extra is enabled by default. In the AL2 Candidate AMI, a version of Docker was available in the core repositories.

@micahhausler
Copy link
Member

This was written just before the official release of AL2, so we'll get this fixed

@mbartsch
Copy link
Contributor Author

@micahhausler , the pull request #2 address this issue.

joelddiaz pushed a commit to joelddiaz/amazon-eks-ami that referenced this issue May 29, 2024
Force pvscan to recognize new disk extents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants