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

Packer unable to validate amazon checksums #13251

Open
rightisleft opened this issue Jan 2, 2025 · 0 comments
Open

Packer unable to validate amazon checksums #13251

rightisleft opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@rightisleft
Copy link

rightisleft commented Jan 2, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

Overview of the Issue

When running packer init on a new project, the downloaded amazon plugin has failing checksums:

Failed getting the "github.com/hashicorp/amazon" plugin:
8 errors occurred:
* Checksums (*sha256.digest) did not match.
Expected: e053ec24ca9b1a57cfba57c09affb485c0ab14ddc99b4d8ef3fc849c77215065
Got : 53c7386c7533b138af6509c5cb57d460c56016bd89a42bdeecd11a77227e62ba
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: d24877bb71963bdf604b56174c7e5b28fdd9ac36a6a05ef269fe2d172840d7df
Got : 3e866dc3eef6a12f9221143c6a6547e94baca9c63511fcf588ee00dad3b20c9c
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: 693882ad2c0b242397057a78b2946c0dd3aab47ea8c3d7e931d84a6b824f4bc5
Got : 2993e2b13b900391b1d977d8b2f302d08661b7f10399bd84733649c06222a426
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: 90acb7733c737ef2169bc762a8f45b2665cad939e5d606a510258810a61496ab
Got : d051a0bacc8aabf8e05f8025067c45c0de473592cbecb1567a43c6805a692b91
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: 3fd30d5dcde4a9fd9b5aa6bd331fb6961fb2ef863e3b6429d58f2908af2693ab
Got : 4dc4e7c67a479b8400706029f092a8e764dded46307331f52af373f60665d96d
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: befcb554fa7ac0e8acbcf6131977cc08068b071f7cfefcb29670a3958d4a7d7c
Got : d45ea7038ff29f34697aca0790597c03344619d97df475c1c6c619ccf08a5991
. Is the checksum file correct ? Is the binary file correct ?
* Checksums (*sha256.digest) did not match.
Expected: a665e6fa74d2b1632bbcedd501abd06f2c07959551d67623f7af667574307f62
Got : 1ff8e1b71dd9b06edcc9548bb5fa52feeee323c4763b2e29b787b8bba48a8f33
. Is the checksum file correct ? Is the binary file correct ?
* could not install any compatible version of plugin "github.com/hashicorp/amazon"

Reproduction Steps

Install a clean version of packer on OS X

Following the documentation here:
https://developer.hashicorp.com/packer/tutorials/aws-get-started/aws-get-started-build-image

Observe the issue when running:

packer init

Packer version

From packer version

❯ packer --version
Packer v1.11.2

Simplified Packer Template

If the file is longer than a few dozen lines, please include the URL to the
gist of the log or use the Github detailed
format

instead of posting it directly in the issue.

Operating system and Environment details

OS, Architecture, and any other information you can provide about the
environment.

Mac OS X 14.6.1 (23G93)

Log Fragments and crash.log files

Include appropriate log fragments. If the log is longer than a few dozen lines,
please include the URL to the gist of the log or
use the Github detailed format instead of posting it directly in the issue.

Set the env var PACKER_LOG=1 for maximum log detail.

@rightisleft rightisleft added the bug label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant