jfrog / terraform-provider-artifactory

Terraform provider to manage JFrog Artifactory
https://jfrog.com/artifactory
Apache License 2.0
271 stars 103 forks source link

Failed to install provider #1027

Closed activalexsimon closed 1 month ago

activalexsimon commented 1 month ago

Describe the bug I am seeing an error when trying to download the latest version of the provider due to SHA-256.

Local

Error: Failed to install provider
│ 
│ Error while installing jfrog/artifactory v11.2.0: checksum list has no SHA-256 hash for
│ "https://github.com/jfrog/terraform-provider-artifactory/releases/download/v11.2.0/terraform-provider-artifactory_11.2.0_darwin_arm64.zip"

CI

╷
│ Error: Failed to install provider
│ 
│ Error while installing jfrog/artifactory v11.2.0: checksum list has no
│ SHA-256 hash for
│ "https://github.com/jfrog/terraform-provider-artifactory/releases/download/v11.2.0/terraform-provider-artifactory_11.2.0_linux_amd64.zip"
╵

I am seeing this within out CI platforms and also on my local. Pinning the version back down to v11.1.0 seems to resolve the issue and I am able to init just fine.

Requirements for and issue

Expected behavior I expect this providers version to also be working like v11.1.0 is.

Additional context This is for a different provider, but looks like a similar error.

adoraisa commented 1 month ago

We are also observing this issue.

alexhung commented 1 month ago

@activalexsimon @adoraisa We recently switched to the Terraform Registry Org beta program and I suspect it may be the issue. 11.2.0 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.

kamilsimek-ecb commented 1 month ago

Thanks for the feedback @alexhung!

Do you know when it will be resolved? Indeed, it seems like it is missing from https://releases.hashicorp.com/ (there is no terraform-provider-artifactory).

alexhung commented 1 month ago

@kamilsimek-ecb I've opened support ticket with HashiCorp but I don't have any ETA.

The latest (not installable) version 11.2.0 is listed on the registry: https://registry.terraform.io/providers/jfrog/artifactory/11.2.0

alexhung commented 1 month ago

@kamilsimek-ecb Commented too soon!

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

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

activalexsimon commented 1 month ago

@alexhung thank you! Confirming on my end that I also can install 11.2.0.

Appreciate it!