crc: [BUG] Downloading bundle: .. checksum mismatch as part of `crc setup`

Looks like there is issue with content gateway and due to that redirection is not happening as expected and user can get following error

$ crc setup
INFO Using bundle path /Users/yevhen/.crc/cache/crc_vfkit_4.12.5_amd64.crcbundle
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached
INFO Checking if running on a supported CPU architecture
INFO Checking minimum RAM requirements
INFO Checking if crc executable symlink exists
INFO Checking if running emulated on a M1 CPU
INFO Checking if vfkit is installed
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if /Users/yevhen/.crc/cache/crc_vfkit_4.12.5_amd64.crcbundle exists
INFO Getting bundle for the CRC executable
INFO Downloading bundle: /Users/yevhen/.crc/cache/crc_vfkit_4.12.5_amd64.crcbundle...
checksum mismatch

Edit: We are still working internally to fix those link meanwhile as workaround same bundles are uploaded to gcp bucket and following should work.

  • Windows
crc setup -b https://storage.googleapis.com/crc-bundle-github-ci/4.12.5/crc_hyperv_4.12.5_amd64.crcbundle
  • Linux
crc setup -b https://storage.googleapis.com/crc-bundle-github-ci/4.12.5/crc_libvirt_4.12.5_amd64.crcbundle
  • Mac-Intel
crc setup -b https://storage.googleapis.com/crc-bundle-github-ci/4.12.5/crc_vfkit_4.12.5_amd64.crcbundle
  • Mac-M1
crc setup -b https://storage.googleapis.com/crc-bundle-github-ci/4.12.5/crc_vfkit_4.12.5_arm64.crcbundle

We will update the issue once we have more info around content gateway fix.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 31 (11 by maintainers)

Most upvoted comments

Is there a direct link to download the file so we can copy manually into our cache directory until the issue is resolved?

@lubomben bundles from https://github.com/crc-org/crc/issues/3543#issuecomment-1469736722 should work now, we had a wrong upload of the mac-M1 bundle, but its fixed now

The initial issue should be resolved now, crc setup should be able to download the bundle automatically, and not error out with checksum mismatch

I am getting this error after crc start -p pull-secret

time=“2023-03-15T14:40:42-05:00” level=debug msg=“SSH command succeeded” time=“2023-03-15T14:40:42-05:00” level=debug msg=“error: Temporary error: pull secret not updated to disk - sleeping 2s”

Did your bundle get downloaded correctly. If so, the issue you are experiencing sounds like a different issue. I would validate the bundle was downloaded and extracted successfully. If it was, I would recommend you create a separate issue with more details.

Ah, borrowing from @lubomben, I did a crc cleanup / crc setup & crc start - my pull secret needed to be re-entered, and I was prompted this time. It is working now. Thanks!

Thank for temporary fix but unfortunately I get this error on Mac M1:

INFO Downloading bundle: https://storage.googleapis.com/crc-bundle-github-ci/4.12.5/crc_vfkit_4.12.5_arm64.crcbundle... 0 B / 3.07 GiB [_________________________________________________________________________________________________________________________________________________________________________________________________________] 0.00% ? p/s INFO Uncompressing /Users/luca/.crc/cache/crc_vfkit_4.12.5_arm64.crcbundle crc.img: 31.00 GiB / 31.00 GiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% Temporary error: rename /Users/luca/.crc/cache/tmp-extract/crc_vfkit_4.12.5_arm64 /Users/luca/.crc/cache/crc_vfkit_4.12.5_arm64: no such file or directory (x12)