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

Error while installing jfrog/platform v1.8.2: checksum list has no SHA-256 #111

Closed
5 tasks done
mgr110 opened this issue Jul 17, 2024 · 4 comments
Closed
5 tasks done
Assignees
Labels
bug Something isn't working

Comments

@mgr110
Copy link

mgr110 commented Jul 17, 2024

Describe the bug
When trying to upgrade the jfrog/platform provider from 1.8.1 to 1.8.2 I get the error: Error while installing jfrog/platform v1.8.2: checksum list has no SHA-256. The Artifactory version is 7.77.11 and also fails on the Jfrog cloud platform.

I am using Terraform version 1.9.2. The bug can be reproduced by running terraform init with the following configuration:

terraform {
    required_providers {
        platform = {
            # https://registry.terraform.io/providers/jfrog/platform/latest
            source  = "jfrog/platform"
            version = "<2.0.0"
            }
    }
}

Requirements for and issue

  • A description of the bug
  • A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
  • Your version of artifactory (you can curl it at $host/artifactory/api/system/version
  • Your version of terraform
  • Your version of terraform provider

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@NiklasRosenstein
Copy link

I just ran into the same issue. The SHA256SUM listed in the GitHub release is

6f5d31c7e23c3c279bdc092da3e6f548e09e51d28252e73c92088ca1f3d55264  terraform-provider-platform_1.8.2_darwin_arm64.zip

But

❯ curl  'https://github.com/jfrog/terraform-provider-platform/releases/download/v1.8.2/terraform-provider-platform_1.8.2_darwin_arm64.zip' | shasum -a 256
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

@alexhung
Copy link
Member

alexhung commented Jul 17, 2024

@mgr110 @NiklasRosenstein We recently switched to the Terraform Registry Org beta program and I suspect it may be the issue. 1.8.2 is the first version to be published after migrating to the beta program. Nothing on our side with regards to the packaging or signing of the provider has changed.

Looks like TF registry has not updated their copy of the checksum file due to file name parsing issue on their side.

@alexhung
Copy link
Member

@mgr110 @NiklasRosenstein HashiCorp is aware of this issue. They've manually fixed the issue for Artifactory provider and will be working on the same for this provider.

They have also identified the issue on their side and are working on a fix.

@alexhung alexhung pinned this issue Jul 18, 2024
@alexhung
Copy link
Member

alexhung commented Jul 18, 2024

HashiCorp has resolved the issue with this release. I've verified I can install 1.8.2 now.

@mgr110 mgr110 closed this as completed Jul 22, 2024
@alexhung alexhung unpinned this issue Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants